CALCITE-6465: Rework code generator to use Flink code splitter #13397
Annotations
10 errors and 2 warnings
DeterministicTest.java#L462
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testNonDeterministicMethodCall()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return org.apache.calcite.linq4j.test.DeterministicTest.TestClass.nonDeterministic(1);\n }\n\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return org.apache.calcite.linq4j.test.DeterministicTest.TestClass.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.testNonDeterministicMethodCall(DeterministicTest.java:462)
|
DeterministicTest.java#L321
0.1sec org.apache.calcite.linq4j.test.DeterministicTest > testInstanceofComplexTest()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_instanceof_Boolean_2_instanceof_Integer;\n }\n\n static final boolean $L4J$C$1_instanceof_Boolean_2_instanceof_Integer = 1 instanceof Boolean || 2 instanceof Integer;\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$1_instanceof_Boolean_2_instanceof_Integer;\n }\n\n static final boolean $L4J$C$1_instanceof_Boolean_2_instanceof_Integer = 1 instanceof Boolean || 2 instanceof Integer;\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.testInstanceofComplexTest(DeterministicTest.java:321)
|
DeterministicTest.java#L515
0.2sec 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#L488
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testDeterministicClassDefaultMethod()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestDeterminis9de610da;\n }\n\n static final int $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestDeterminis9de610da = org.apache.calcite.linq4j.test.DeterministicTest.TestDeterministicClass.deterministic(1);\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestDeterminis9de610da;\n }\n\n static final int $L4J$C$org_apache_calcite_linq4j_test_DeterministicTest_TestDeterminis9de610da = org.apache.calcite.linq4j.test.DeterministicTest.TestDeterministicClass.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.testDeterministicClassDefaultMethod(DeterministicTest.java:488)
|
DeterministicTest.java#L273
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testNewBigInteger()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$new_java_math_BigInteger_42_;\n }\n\n static final java.math.BigInteger $L4J$C$new_java_math_BigInteger_42_ = new java.math.BigInteger(\n \"42\");\n };\n}\n"
but: was "{\n return new Runnable(){\n int test() {\n return $L4J$C$new_java_math_BigInteger_42_;\n }\n\n static final java.math.BigInteger $L4J$C$new_java_math_BigInteger_42_ = new java.math.BigInteger(\n \"42\");\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.testNewBigInteger(DeterministicTest.java:273)
|
ExpressionTest.java#L994
0.0sec org.apache.calcite.linq4j.test.ExpressionTest > testWriteAnonymousClass()
org.opentest4j.AssertionFailedError: expected: <{
final java.util.List<String> baz = java.util.Arrays.asList("foo", "bar");
new java.util.AbstractList<String>(){
public final String qux = "xyzzy";
public int size() {
return baz.size();
}
public String get(int index) {
return ((String) baz.get(index)).toUpperCase();
}
};
}
> but was: <{
final java.util.List<String> baz = java.util.Arrays.asList("foo", "bar");
new java.util.AbstractList<String>(){
public final String qux = "xyzzy";
public int size() {
return baz.size();
}
public String get(int index) {
return ((String) baz.get(index)).toUpperCase();
}
};
}
>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1142)
at org.apache.calcite.linq4j.test.ExpressionTest.testWriteAnonymousClass(ExpressionTest.java:994)
|
DeterministicTest.java#L401
0.0sec org.apache.calcite.linq4j.test.DeterministicTest > testBigIntegerValueOf()
java.lang.AssertionError:
Expected: "{\n return new Runnable(){\n int test() {\n return $L4J$C$java_math_BigInteger_valueOf_42L_add_java_math_BigInteger_valued8d57d69;\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_valueOf_42L_add_java_math_BigInteger_valued8d57d69 = $L4J$C$java_math_BigInteger_valueOf_42L_.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_valueOf_42L_add_java_math_BigInteger_valued8d57d69;\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_valueOf_42L_add_java_math_BigInteger_valued8d57d69 = $L4J$C$java_math_BigInteger_valueOf_42L_.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.testBigIntegerValueOf(DeterministicTest.java:401)
|
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)
|
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)
|
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