KZEC-5072, fix order by ordinal no subquery error. #88
Annotations
3 errors and 3 warnings
Test:
RelToSqlConverterTest.java#L419
0.0sec org.apache.calcite.rel.rel2sql.RelToSqlConverterTest > testUsesSubqueryWhenSortingByIdThenOrdinal()
java.lang.AssertionError:
Expected: is "SELECT \"JOB\"\nFROM (SELECT \"JOB\", COUNT(\"ENAME\") AS \"$f1\"\nFROM \"scott\".\"EMP\"\nGROUP BY \"JOB\"\nORDER BY \"JOB\", 2) AS \"t0\""
but: was "SELECT \"JOB\"\nFROM (SELECT \"JOB\", COUNT(\"ENAME\") AS \"$f1\"\nFROM \"scott\".\"EMP\"\nGROUP BY \"JOB\"\nORDER BY \"JOB\", 2) AS \"t2\""
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.rel.rel2sql.RelToSqlConverterTest$Sql.ok(RelToSqlConverterTest.java:7049)
at org.apache.calcite.rel.rel2sql.RelToSqlConverterTest.testUsesSubqueryWhenSortingByIdThenOrdinal(RelToSqlConverterTest.java:419)
|
Test:
task ':core:test'#L1
Execution failed for task ':core:test':
org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///D:/a/calcite/calcite/core/build/reports/tests/test/index.html
|
Test
Execution failed for task ':core:test'.
> There were failing tests. See the report at: file:///D:/a/calcite/calcite/core/build/reports/tests/test/index.html
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Test
Gradle Build Scan: https://gradle.com/s/uvj56qofidpwa
|
Loading