Skip to content
Snippets Groups Projects
Commit 83507fea authored by Cheng Lian's avatar Cheng Lian
Browse files

[SQL] Minor Scaladoc format fix

Otherwise the `^` character is always marked as error in IntelliJ since it represents an unclosed superscript markup tag.

Author: Cheng Lian <lian@databricks.com>

Closes #10926 from liancheng/agg-doc-fix.
parent ee74498d
No related branches found
No related tags found
No related merge requests found
...@@ -200,7 +200,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac ...@@ -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 * 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)` * 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: * will be 0 and the position of the first buffer value of `avg(y)` will be 2:
* * {{{
* avg(x) mutableAggBufferOffset = 0 * avg(x) mutableAggBufferOffset = 0
* | * |
* v * v
...@@ -210,7 +210,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac ...@@ -210,7 +210,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* ^ * ^
* | * |
* avg(y) mutableAggBufferOffset = 2 * avg(y) mutableAggBufferOffset = 2
* * }}}
*/ */
protected val mutableAggBufferOffset: Int protected val mutableAggBufferOffset: Int
...@@ -233,7 +233,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac ...@@ -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 * `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)` * 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`): * will be 3 (position 0 is used for the value of `key`):
* * {{{
* avg(x) inputAggBufferOffset = 1 * avg(x) inputAggBufferOffset = 1
* | * |
* v * v
...@@ -243,7 +243,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac ...@@ -243,7 +243,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
* ^ * ^
* | * |
* avg(y) inputAggBufferOffset = 3 * avg(y) inputAggBufferOffset = 3
* * }}}
*/ */
protected val inputAggBufferOffset: Int protected val inputAggBufferOffset: Int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment