Skip to content

[CALCITE-4512] GROUP BY expression with argument name same with SELECT field and alias causes validation error #13756

[CALCITE-4512] GROUP BY expression with argument name same with SELECT field and alias causes validation error

[CALCITE-4512] GROUP BY expression with argument name same with SELECT field and alias causes validation error #13756

Triggered via pull request October 1, 2024 01:39
Status Failure
Total duration 14m 3s
Artifacts

main.yml

on: pull_request
Windows (JDK 8)
6m 38s
Windows (JDK 8)
Windows (JDK 17)
7m 47s
Windows (JDK 17)
Windows (JDK 21)
6m 1s
Windows (JDK 21)
Linux (JDK 8, oldest Guava, America/New_York Timezone)
4m 35s
Linux (JDK 8, oldest Guava, America/New_York Timezone)
Linux (JDK 8, latest Guava, America/New_York Timezone)
5m 37s
Linux (JDK 8, latest Guava, America/New_York Timezone)
Linux (JDK 11, Pacific/Chatham Timezone)
6m 18s
Linux (JDK 11, Pacific/Chatham Timezone)
Linux (JDK 17)
4m 19s
Linux (JDK 17)
Linux (JDK 21)
6m 21s
Linux (JDK 21)
Linux (JDK 23)
4m 16s
Linux (JDK 23)
Linux (JDK 11, Avatica main)
9m 31s
Linux (JDK 11, Avatica main)
macOS (JDK 21)
13m 52s
macOS (JDK 21)
ErrorProne (JDK 11, latest Guava)
6m 16s
ErrorProne (JDK 11, latest Guava)
CheckerFramework (JDK 11)
13m 21s
CheckerFramework (JDK 11)
CheckerFramework (JDK 11, oldest Guava)
13m 16s
CheckerFramework (JDK 11, oldest Guava)
Linux (JDK 8) Slow Tests
0s
Linux (JDK 8) Slow Tests
Druid Tests
6m 56s
Druid Tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 30 warnings
Linux (JDK 23): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 23)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 17): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 17)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 8, oldest Guava, America/New_York Timezone): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 8, oldest Guava, America/New_York Timezone)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 8, latest Guava, America/New_York Timezone): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 8, latest Guava, America/New_York Timezone)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Windows (JDK 21): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Windows (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core\src\test\java\org\apache\calcite\test\SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") - .withOperatorTable(SqlOperatorTables.chain(\r\n + .withOperatorTable(\r\n + SqlOperatorTables.chain(\r\n SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 11, Pacific/Chatham Timezone): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 11, Pacific/Chatham Timezone)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 21): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Windows (JDK 8): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Windows (JDK 8)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core\src\test\java\org\apache\calcite\test\SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") - .withOperatorTable(SqlOperatorTables.chain(\r\n + .withOperatorTable(\r\n + SqlOperatorTables.chain(\r\n SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Windows (JDK 17): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Windows (JDK 17)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core\src\test\java\org\apache\calcite\test\SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") - .withOperatorTable(SqlOperatorTables.chain(\r\n + .withOperatorTable(\r\n + SqlOperatorTables.chain(\r\n SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 11, Avatica main): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
Linux (JDK 11, Avatica main)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
macOS (JDK 21): task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck': See 'What went wrong' below
macOS (JDK 21)
Execution failed for task ':core:autostyleJavaCheck'. > The following files have format violations: core/src/test/java/org/apache/calcite/test/SqlValidatorTest.java @@ -6326,7 +6326,8 @@ .withFunctionType(SqlFunctionCategory.TIMEDATE); sql("select date_add('2024-01-01', empno) as empno from emp group by ^year(empno)^") -········.withOperatorTable(SqlOperatorTables.chain(␊ +········.withOperatorTable(␊ +············SqlOperatorTables.chain(␊ SqlOperatorTables.of(date_add), SqlStdOperatorTable.instance())) .withConformance(lenient) .fails("Cannot apply 'EXTRACT' to arguments of " Run './gradlew autostyleApply' to fix the violations.
Linux (JDK 23)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 23)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 17)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 17)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 8, oldest Guava, America/New_York Timezone)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 8, oldest Guava, America/New_York Timezone)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 8, latest Guava, America/New_York Timezone)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 8, latest Guava, America/New_York Timezone)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Windows (JDK 21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Windows (JDK 21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ErrorProne (JDK 11, latest Guava)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ErrorProne (JDK 11, latest Guava)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 11, Pacific/Chatham Timezone)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 11, Pacific/Chatham Timezone)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Windows (JDK 8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Windows (JDK 8)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Druid Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Druid Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v2, actions/checkout@v3, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Windows (JDK 17)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Windows (JDK 17)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linux (JDK 11, Avatica main)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linux (JDK 11, Avatica main)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v2, burrunan/gradle-cache-action@v1, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CheckerFramework (JDK 11, oldest Guava)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CheckerFramework (JDK 11, oldest Guava)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CheckerFramework (JDK 11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CheckerFramework (JDK 11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
macOS (JDK 21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
macOS (JDK 21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/