Test function consistency by comparing Calcite against reference values #202
Annotations
2 errors and 2 warnings
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/DBFunctionConsistencyTest.java
@@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.calcite.test;
import org.junit.jupiter.api.AfterAll;
@@ -61,7 +60,8 @@
dbs.put(Type.POSTGRES_9_6, new PostgreSQLContainer<>("postgres:9.6"));
dbs.put(Type.POSTGRES_12_2, new PostgreSQLContainer<>("postgres:12.2"));
dbs.put(Type.MYSQL, new MySQLContainer<>());
-····dbs.put(Type.ORACLE,·new·OracleContainer(␊
+····dbs.put(␊
+········Type.ORACLE,·new·OracleContainer(␊
"gvenzl/oracle-xe:21-slim-faststart"));
return dbs;
}
@@ -116,8 +116,8 @@
if (USE_RAW_JDBC_CONNECTION) {
return DriverManager.getConnection(db.getJdbcUrl(), db.getUsername(), db.getPassword());
} else {
-······String·calciteUrl·=·String.format(␊
-··········"jdbc:calcite:schemaType=JDBC;·schema.jdbcUser=%s;·schema.jdbcPassword=%s;·schema"␊
+······String·calciteUrl·=␊
+··········String.format("jdbc:calcite:schemaType=JDBC;·schema.jdbcUser=%s;·schema.jdbcPassword=%s;·schema"␊
+ ".jdbcUrl=%s", db.getUsername(), db.getPassword(), db.getJdbcUrl());
return DriverManager.getConnection(calciteUrl);
}
Run './gradlew autostyleApply' to fix the violations.
|
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/
|
The logs for this run have expired and are no longer available.
Loading