This is an automated email from the ASF dual-hosted git repository.
mbudiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 7fa73c0079 [CALCITE-6531] Correct Javadoc example in
SqlStaticAggFunction#constant
7fa73c0079 is described below
commit 7fa73c0079b03b8cd9657df0058a5743b80c1be9
Author: Ruben Quesada Lopez <[email protected]>
AuthorDate: Thu Aug 15 12:11:49 2024 +0100
[CALCITE-6531] Correct Javadoc example in SqlStaticAggFunction#constant
---
core/src/main/java/org/apache/calcite/sql/SqlStaticAggFunction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/java/org/apache/calcite/sql/SqlStaticAggFunction.java
b/core/src/main/java/org/apache/calcite/sql/SqlStaticAggFunction.java
index 6ad5e88b61..191e80550e 100644
--- a/core/src/main/java/org/apache/calcite/sql/SqlStaticAggFunction.java
+++ b/core/src/main/java/org/apache/calcite/sql/SqlStaticAggFunction.java
@@ -33,7 +33,7 @@ public interface SqlStaticAggFunction {
*
* <p>For example:
* <ul>
- * <li>{@code GROUPING(deptno)} expands to literal {@code 1}
+ * <li>{@code GROUPING(deptno)} expands to literal {@code 0}
* if the aggregate has {@code GROUP BY deptno}
* </ul>
*