Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* For example, we have two aggregate functions `avg(x)` and `avg(y)`, which share the same
* aggregation buffer. In this shared buffer, the position of the first buffer value of `avg(x)`
* will be 0 and the position of the first buffer value of `avg(y)` will be 2:
*
* {{{
* avg(x) mutableAggBufferOffset = 0
* |
* v
Expand All @@ -210,7 +210,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* ^
* |
* avg(y) mutableAggBufferOffset = 2
*
* }}}
*/
protected val mutableAggBufferOffset: Int

Expand All @@ -233,7 +233,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* `avg(x)` and `avg(y)`. In the shared input aggregation buffer, the position of the first
* buffer value of `avg(x)` will be 1 and the position of the first buffer value of `avg(y)`
* will be 3 (position 0 is used for the value of `key`):
*
* {{{
* avg(x) inputAggBufferOffset = 1
* |
* v
Expand All @@ -243,7 +243,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* ^
* |
* avg(y) inputAggBufferOffset = 3
*
* }}}
*/
protected val inputAggBufferOffset: Int

Expand Down