Skip to content

Commit 83507fe

Browse files
committed
[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 <[email protected]> Closes #10926 from liancheng/agg-doc-fix.
1 parent ee74498 commit 83507fe

File tree

1 file changed

+4
-4
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate

1 file changed

+4
-4
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/interfaces.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
200200
* For example, we have two aggregate functions `avg(x)` and `avg(y)`, which share the same
201201
* aggregation buffer. In this shared buffer, the position of the first buffer value of `avg(x)`
202202
* will be 0 and the position of the first buffer value of `avg(y)` will be 2:
203-
*
203+
* {{{
204204
* avg(x) mutableAggBufferOffset = 0
205205
* |
206206
* v
@@ -210,7 +210,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
210210
* ^
211211
* |
212212
* avg(y) mutableAggBufferOffset = 2
213-
*
213+
* }}}
214214
*/
215215
protected val mutableAggBufferOffset: Int
216216

@@ -233,7 +233,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
233233
* `avg(x)` and `avg(y)`. In the shared input aggregation buffer, the position of the first
234234
* buffer value of `avg(x)` will be 1 and the position of the first buffer value of `avg(y)`
235235
* will be 3 (position 0 is used for the value of `key`):
236-
*
236+
* {{{
237237
* avg(x) inputAggBufferOffset = 1
238238
* |
239239
* v
@@ -243,7 +243,7 @@ abstract class ImperativeAggregate extends AggregateFunction with CodegenFallbac
243243
* ^
244244
* |
245245
* avg(y) inputAggBufferOffset = 3
246-
*
246+
* }}}
247247
*/
248248
protected val inputAggBufferOffset: Int
249249

0 commit comments

Comments
 (0)