We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41335f commit 7e30ae5Copy full SHA for 7e30ae5
sql/core/src/main/scala/org/apache/spark/sql/execution/window/AggregateProcessor.scala
@@ -145,6 +145,8 @@ private[window] final class AggregateProcessor(
145
146
/** Update the buffer. */
147
def update(input: InternalRow): Unit = {
148
+ // TODO(hvanhovell) this sacrifices performance for correctness. We should make sure that
149
+ // MutableProjection makes copies of the complex input objects it buffer.
150
val copy = input.copy()
151
updateProjection(join(buffer, copy))
152
var i = 0
0 commit comments