Lint #20
Annotations
2 errors and 1 warning
Test:
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Test
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java
@@ -4936,13 +4936,15 @@
/**
* Test case for
-···*·<a·href="https://issues.apache.org/jira/browse/CALCITE-6028">·[CALCITE-6028]␊
+···*·<a·href="https://issues.apache.org/jira/browse/CALCITE-6028">[CALCITE-6028]␊
* SqlToRelConverter#substituteSubQuery gives NullPointerException when convert
* IN-subquery within JOIN if value size of IN exceeds IN_SUBQUERY_THRESHOLD</a>.
*/
@test void testInSubQueryWithinJoin0() {
-····String·sql·=·"SELECT·t1.x·FROM·(values·(1,·'a'))·as·t1(x,·y)\n"·+␊
-········"left·join·(values·(1,·'b'))·as·t2(x,·y)\n"·+␊
+····String·sql·=·"SELECT·t1.x·FROM·(values·(1,·'a'))·as·t1(x,·y)\n"␊
+··+␊
+········"left·join·(values·(1,·'b'))·as·t2(x,·y)\n"␊
+··+␊
"ON t1.x=t2.x AND t1.x IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21)";
sql(sql).ok();
}
@@ -4951,8 +4953,10 @@
* As {@link #testInSubQueryWithinJoin0()} but size of IN value list < 20
*/
@test void testInSubQueryWithinJoin1() {
-····String·sql·=·"SELECT·t1.x·FROM·(values·(1,·'a'))·as·t1(x,·y)\n"·+␊
-········"left·join·(values·(1,·'b'))·as·t2(x,·y)\n"·+␊
+····String·sql·=·"SELECT·t1.x·FROM·(values·(1,·'a'))·as·t1(x,·y)\n"␊
+··+␊
+········"left·join·(values·(1,·'b'))·as·t2(x,·y)\n"␊
+··+␊
"ON t1.x=t2.x AND t1.x IN (1,2,3,4,5)";
sql(sql).ok();
}
Run './gradlew autostyleApply' to fix the violations.
|
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 logs for this run have expired and are no longer available.
Loading