CALCITE-6465: Rework code generator to use Flink code splitter #13397
Annotations
10 errors and 2 warnings
DeterministicTest.java#L515
0.1sec org.apache.calcite.linq4j.test.DeterministicTest > testDeterministicClassNonDeterministicMethod()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return org.apache.calcite.linq4j.test.DeterministicTest.TestDeterministicClass.nonDeterministic(1);\n }\n\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return org.apache.calcite.linq4j.test.DeterministicTest.TestDeterministicClass.nonDeterministic(1);\n }\n\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testDeterministicClassNonDeterministicMethod(DeterministicTest.java:515)
|
DeterministicTest.java#L225
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testFactorOutNestedClasses()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_4 + new java.util.concurrent.Callable(){\n Object call() {\n return $L4J$C$1_2_3;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_2_3 = $L4J$C$1_2 * 3;\n }.call();\n }\n\n static final int $L4J$C$1_4 = 1 + 4;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_4 + new java.util.concurrent.Callable(){\n Object call() {\n return $L4J$C$1_2_3;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_2_3 = $L4J$C$1_2 * 3;\n }.call();\n }\n\n static final int $L4J$C$1_4 = 1 + 4;\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testFactorOutNestedClasses(DeterministicTest.java:225)
|
DeterministicTest.java#L172
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testFactorOutBinaryAddNameCollision()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2_1_20;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_20 = 1 - 2;\n static final int $L4J$C$1_2_1_20 = $L4J$C$1_2 * $L4J$C$1_20;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2_1_20;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_20 = 1 - 2;\n static final int $L4J$C$1_2_1_20 = $L4J$C$1_2 * $L4J$C$1_20;\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testFactorOutBinaryAddNameCollision(DeterministicTest.java:172)
|
DeterministicTest.java#L369
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testStaticField()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$java_math_BigInteger_ONE_add_java_math_BigInteger_valueOf_42L_;\n }\n\n static final java.math.BigInteger $L4J$C$java_math_BigInteger_valueOf_42L_ = java.math.BigInteger.valueOf(42L);\n static final java.math.BigInteger $L4J$C$java_math_BigInteger_ONE_add_java_math_BigInteger_valueOf_42L_ = java.math.BigInteger.ONE.add($L4J$C$java_math_BigInteger_valueOf_42L_);\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$java_math_BigInteger_ONE_add_java_math_BigInteger_valueOf_42L_;\n }\n\n static final java.math.BigInteger $L4J$C$java_math_BigInteger_valueOf_42L_ = java.math.BigInteger.valueOf(42L);\n static final java.math.BigInteger $L4J$C$java_math_BigInteger_ONE_add_java_math_BigInteger_valueOf_42L_ = java.math.BigInteger.ONE.add($L4J$C$java_math_BigInteger_valueOf_42L_);\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testStaticField(DeterministicTest.java:369)
|
DeterministicTest.java#L127
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testFactorOutBinaryAdd()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testFactorOutBinaryAdd(DeterministicTest.java:127)
|
DeterministicTest.java#L435
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testDeterministicMethodCall()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestClass_dete33e8af1c;\n }\n\n static final int $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestClass_dete33e8af1c = org.apache.calcite.linq4j.test.DeterministicTest.TestClass.deterministic(1);\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestClass_dete33e8af1c;\n }\n\n static final int $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestClass_dete33e8af1c = org.apache.calcite.linq4j.test.DeterministicTest.TestClass.deterministic(1);\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testDeterministicMethodCall(DeterministicTest.java:435)
|
DeterministicTest.java#L299
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testInstanceofTest()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return 1 instanceof Boolean;\n }\n\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return 1 instanceof Boolean;\n }\n\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testInstanceofTest(DeterministicTest.java:299)
|
DeterministicTest.java#L199
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testFactorOutBinaryAddMul()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2_3;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_2_3 = $L4J$C$1_2 * 3;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2_3;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n static final int $L4J$C$1_2_3 = $L4J$C$1_2 * 3;\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testFactorOutBinaryAddMul(DeterministicTest.java:199)
|
DeterministicTest.java#L346
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testIntegerValueOfZeroComplexTest()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$Integer_valueOf_0_;\n }\n\n static final Integer $L4J$C$Integer_valueOf_0_ = Integer.valueOf(0);\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$Integer_valueOf_0_;\n }\n\n static final Integer $L4J$C$Integer_valueOf_0_ = Integer.valueOf(0);\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testIntegerValueOfZeroComplexTest(DeterministicTest.java:346)
|
DeterministicTest.java#L150
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testFactorOutBinaryAddSurvivesMultipleOptimizations()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_2;\n }\n\n static final int $L4J$C$1_2 = 1 + 2;\n };\n}\n"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.apache.calcite.linq4j.test.DeterministicTest.testFactorOutBinaryAddSurvivesMultipleOptimizations(DeterministicTest.java:150)
|
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/
|
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/
|
This job failed
Loading