Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MS SQL in Jdbc SQL connector [HZ-2694] #25071

Merged
merged 30 commits into from Aug 18, 2023

Conversation

Edizc
Copy link
Contributor

@Edizc Edizc commented Jul 25, 2023

To support MSSQL, the following type mismatches were resolved:

  • There is no DOUBLE type in MSSQL and instead, the 8 byte floating point type is FLOAT
  • BOOLEAN is not supported by MSSQL, therefore it is also not supported by us
  • TIMESTAMP type serves a different purpose in MSSQL and the equivalent of the usual "TIMESTAMP" we are familiar with
    is DATETIME in MSSQL
  • MSSQL has DATETIMEOFFSET as the equivalent of TIMESTAMP_WITH_TIMEZONE
  • To support the correct use of TIME type, the jdbcUrl parameter sendTimeAsDateTime must be set to false. MSSQL returns TIME as DateTime by default for backward compatibility

AllTypesInsertJdbcSqlConnectorTest for MSSQL was formed by taking these mismatches into consideration. SelectProcessorSupplier was changed in a way that supports returning different types for different database systems. Predicate pushdown test queries were made compatible with MSSQL syntax, the translations for "LENGTH" and "CONCAT" functions were provided inside HazelcastMSSQLDialect. A schema query builder function was added to MSSQLDatabaseProvider. MSSQLUpsertQueryBuilder was implemented to provide upsert queries in MSSQL syntax. A GenericMapStoreTest and Jdbc Connector Tests for MSSQL were added, adjustments were made for the tests to work and the test results were validated.

@Edizc Edizc requested a review from frant-hartm July 25, 2023 13:16
@frant-hartm frant-hartm changed the title add MSSQLAllTypesInsertJdbcSqlConnectorTest Add MSSQLAllTypesInsertJdbcSqlConnectorTest Jul 25, 2023
@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: File does not end with a newline. [NewlineAtEndOfFile]
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: File does not end with a newline. [NewlineAtEndOfFile]
--------------------------

@frant-hartm frant-hartm changed the title Add MSSQLAllTypesInsertJdbcSqlConnectorTest Support MSSQL in Jdbc connector Jul 25, 2023
@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:26:15: Unused import - org.assertj.core.api.Assumptions.assumeThat. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 3 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:26:15: Unused import - org.assertj.core.api.Assumptions.assumeThat. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 3 errors reported by Checkstyle 8.38 with /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/HazelcastMSSQLDialect.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLUpdateJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLSelectJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:26:15: Unused import - org.assertj.core.api.Assumptions.assumeThat. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/HazelcastMSSQLDialect.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/JdbcSqlTestSupport.java:188:93: ',' is not followed by whitespace. [WhitespaceAfter]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLAllTypesInsertJdbcSqlConnectorTest.java:26:15: Unused import - org.assertj.core.api.Assumptions.assumeThat. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLSelectJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/mssql/MSSQLUpdateJdbcSqlConnectorTest.java:1: Expected line ending for file is LF(
), but CRLF(
) is detected. [NewlineAtEndOfFile]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@@ -560,7 +561,7 @@ public void givenTableNameProperty_whenCreateMapLoader_thenUseTableNameWithCusto
}

private static void createSchema(String schemaName) throws SQLException {
executeJdbc("CREATE SCHEMA IF NOT EXISTS " + schemaName + " ");
executeJdbc(JdbcSqlTestSupport.databaseProvider.createSchemaQuery(schemaName));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
executeJdbc(JdbcSqlTestSupport.databaseProvider.createSchemaQuery(schemaName));
executeJdbc(databaseProvider.createSchemaQuery(schemaName));

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:51:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:52:84: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:53:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:54:21: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:55:26: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:56:76: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:51:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:52:84: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:53:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:54:21: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:55:26: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:56:76: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:51:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:52:84: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:53:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:54:21: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:55:26: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:56:76: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:51:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:52:84: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:53:34: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:54:21: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:55:26: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/test/jdbc/MSSQLDatabaseProvider.java:56:76: '+' should be on a new line. [OperatorWrap]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 6 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 21.37 s <<< FAILURE! -- in com.hazelcast.jet.impl.execution.init.JetJobPrunabilityTest
--------------------------
[ERROR] com.hazelcast.jet.impl.execution.init.JetJobPrunabilityTest.test_simpleDag_takesMemberAndCoordinator -- Time elapsed: 0.698 s <<< FAILURE!
--------------------------
[ERROR] Failures: 
--------------------------
[ERROR]   JetJobPrunabilityTest.test_simpleDag_takesMemberAndCoordinator:144 
--------------------------
[ERROR] Tests run: 4659, Failures: 1, Errors: 0, Skipped: 11
--------------------------
[ERROR] There are test failures.
--------------------------
[ERROR] Tests run: 90, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.336 s <<< FAILURE! -- in com.hazelcast.jet.sql.impl.expression.misc.NestingAndCasingExpressionTest
--------------------------
[ERROR] com.hazelcast.jet.sql.impl.expression.misc.NestingAndCasingExpressionTest.testAllExpressionsCovered -- Time elapsed: 1.313 s <<< FAILURE!
--------------------------
[ERROR] Failures: 
--------------------------
[ERROR]   NestingAndCasingExpressionTest.testAllExpressionsCovered:127 Tests not implemented: 
--------------------------
[ERROR] Tests run: 5615, Failures: 1, Errors: 0, Skipped: 12
--------------------------
[ERROR] There are test failures.
--------------------------
--------------------------
-------TEST FAILURE-------
--------------------------
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   JetJobPrunabilityTest.test_simpleDag_takesMemberAndCoordinator:144 
Expecting ArrayList:
  [[1, 0, 0, 1], [], [], []]
to contain:
  [[0, 1, 0, 1]]
but could not find the following element(s):
  [[0, 1, 0, 1]]

[INFO]
[ERROR] Tests run: 4659, Failures: 1, Errors: 0, Skipped: 11
[INFO]
[WARNING] Corrupted channel by directly writing to native stream in forked JVM 4. See FAQ web page and the dump file /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/target/surefire-reports/2023-08-07T11-02-37_671-jvmRun4.dumpstream

[ERROR] There are test failures.

@Edizc Edizc changed the title Support MSSQL in Jdbc connector Support MSSQL in Jdbc connector [HZ-2694] Aug 7, 2023
@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/visitor/RexToExpression.java:117:15: Unused import - com.hazelcast.jet.sql.impl.validate.HazelcastSqlOperatorTable.LEN. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/visitor/RexToExpression.java:[117,1] cannot find symbol
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/visitor/RexToExpression.java:[117,1] cannot find symbol
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamingInsertMustNotExecuteRule.java:[37,68] package ImmutableStreamingInsertMustNotExecuteRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/CalcDropLateItemsTransposeRule.java:[53,65] package ImmutableCalcDropLateItemsTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/ExtractUpdateExpressionsRule.java:[58,71] package ImmutableExtractUpdateExpressionsRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamingSortMustNotExecuteRule.java:[36,66] package ImmutableStreamingSortMustNotExecuteRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/common/CalcIntoScanRule.java:[80,68] package ImmutableCalcIntoScanRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/InsertMapLogicalRule.java:[40,76] package ImmutableInsertMapLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/CalcMergeRule.java:[41,62] package ImmutableCalcMergeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateBatchPhysicalRule.java:[39,61] package ImmutableAggregateBatchPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamToStreamJoinDropLateItemsEliminateRule.java:[56,79] package ImmutableStreamToStreamJoinDropLateItemsEliminateRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UpdateNoScanLogicalRule.java:[123,66] package ImmutableUpdateNoScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/IndexScanMapPhysicalRule.java:[37,59] package ImmutableIndexScanMapPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/DeleteWithScanLogicalRule.java:[48,68] package ImmutableDeleteWithScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/JoinValidationRule.java:[37,53] package ImmutableJoinValidationRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/CalcLimitTransposeRule.java:[48,57] package ImmutableCalcLimitTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/SortPhysicalRule.java:[39,68] package ImmutableSortPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UnionDropLateItemsTransposeRule.java:[69,66] package ImmutableUnionDropLateItemsTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AssignDiscriminatorToScansRule.java:[37,65] package ImmutableAssignDiscriminatorToScansRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UpdateWithScanLogicalRule.java:[58,68] package ImmutableUpdateWithScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowDropLateItemsMergeRule.java:[48,70] package ImmutableSlidingWindowDropLateItemsMergeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateSlidingWindowPhysicalRule.java:[57,78] package ImmutableAggregateSlidingWindowPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateSlidingWindowPhysicalRule.java:[69,76] package ImmutableAggregateSlidingWindowPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/DeleteNoScanLogicalRule.java:[41,66] package ImmutableDeleteNoScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowCalcSplitLogicalRule.java:[46,68] package ImmutableSlidingWindowCalcSplitLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/JoinPhysicalRule.java:[40,51] package ImmutableJoinPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowJoinTransposeRule.java:[37,65] package ImmutableSlidingWindowJoinTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamToStreamJoinPhysicalRule.java:[57,96] package ImmutableStreamToStreamJoinPhysicalRule does not exist
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast-sql: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/visitor/RexToExpression.java:[117,1] cannot find symbol
--------------------------
[ERROR]   symbol:   static LEN
--------------------------
[ERROR]   location: class com.hazelcast.jet.sql.impl.validate.HazelcastSqlOperatorTable
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamingInsertMustNotExecuteRule.java:[37,68] package ImmutableStreamingInsertMustNotExecuteRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/CalcDropLateItemsTransposeRule.java:[53,65] package ImmutableCalcDropLateItemsTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/ExtractUpdateExpressionsRule.java:[58,71] package ImmutableExtractUpdateExpressionsRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamingSortMustNotExecuteRule.java:[36,66] package ImmutableStreamingSortMustNotExecuteRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/common/CalcIntoScanRule.java:[80,68] package ImmutableCalcIntoScanRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/InsertMapLogicalRule.java:[40,76] package ImmutableInsertMapLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/CalcMergeRule.java:[41,62] package ImmutableCalcMergeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateBatchPhysicalRule.java:[39,61] package ImmutableAggregateBatchPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamToStreamJoinDropLateItemsEliminateRule.java:[56,79] package ImmutableStreamToStreamJoinDropLateItemsEliminateRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UpdateNoScanLogicalRule.java:[123,66] package ImmutableUpdateNoScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/IndexScanMapPhysicalRule.java:[37,59] package ImmutableIndexScanMapPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/DeleteWithScanLogicalRule.java:[48,68] package ImmutableDeleteWithScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/JoinValidationRule.java:[37,53] package ImmutableJoinValidationRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/CalcLimitTransposeRule.java:[48,57] package ImmutableCalcLimitTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/SortPhysicalRule.java:[39,68] package ImmutableSortPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UnionDropLateItemsTransposeRule.java:[69,66] package ImmutableUnionDropLateItemsTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AssignDiscriminatorToScansRule.java:[37,65] package ImmutableAssignDiscriminatorToScansRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/UpdateWithScanLogicalRule.java:[58,68] package ImmutableUpdateWithScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowDropLateItemsMergeRule.java:[48,70] package ImmutableSlidingWindowDropLateItemsMergeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateSlidingWindowPhysicalRule.java:[57,78] package ImmutableAggregateSlidingWindowPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/AggregateSlidingWindowPhysicalRule.java:[69,76] package ImmutableAggregateSlidingWindowPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/DeleteNoScanLogicalRule.java:[41,66] package ImmutableDeleteNoScanLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowCalcSplitLogicalRule.java:[46,68] package ImmutableSlidingWindowCalcSplitLogicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/JoinPhysicalRule.java:[40,51] package ImmutableJoinPhysicalRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/logical/SlidingWindowJoinTransposeRule.java:[37,65] package ImmutableSlidingWindowJoinTransposeRule does not exist
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/StreamToStreamJoinPhysicalRule.java:[57,96] package ImmutableStreamToStreamJoinPhysicalRule does not exist
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/opt/physical/visitor/RexToExpression.java:117:15: Unused import - com.hazelcast.jet.sql.impl.validate.HazelcastSqlOperatorTable.LEN. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/postgres/PostgresUpdatePredicatePushDownJdbcSqlConnectorTest.java:21:8: Unused import - com.hazelcast.test.jdbc.MSSQLDatabaseProvider. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/postgres/PostgresUpdatePredicatePushDownJdbcSqlConnectorTest.java:21:8: Unused import - com.hazelcast.test.jdbc.MSSQLDatabaseProvider. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/postgres/PostgresUpdatePredicatePushDownJdbcSqlConnectorTest.java:21:8: Unused import - com.hazelcast.test.jdbc.MSSQLDatabaseProvider. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/jdbc/postgres/PostgresUpdatePredicatePushDownJdbcSqlConnectorTest.java:21:8: Unused import - com.hazelcast.test.jdbc.MSSQLDatabaseProvider. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

Copy link
Collaborator

@frant-hartm frant-hartm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please update the PR description with

  • some short summary of changes needed to support MSSQL
  • exceptions what is not supported (the boolean data type)
  • what is needed to support the time correctly (the jdbc url parameter)

The PR description can be then used as baseline for updating the documentation.

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] Tests run: 28, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 210.2 s <<< FAILURE! -- in com.hazelcast.jet.kafka.impl.StreamKafkaPTest
--------------------------
[ERROR] com.hazelcast.jet.kafka.impl.StreamKafkaPTest.when_processingGuaranteeNoneWithConsumerGroup_then_continueFromLastReadMessageAfterJobRestart -- Time elapsed: 125.4 s <<< FAILURE!
--------------------------
[ERROR] Failures: 
--------------------------
[ERROR]   StreamKafkaPTest.when_processingGuaranteeNoneWithConsumerGroup_then_continueFromLastReadMessageAfterJobRestart:266->testWithJobRestart:345->HazelcastTestSupport.assertTrueEventually:1269->HazelcastTestSupport.assertTrueEventually:1165->lambda$testWithJobRestart$4:345 expected:<200> but was:<186>
--------------------------
[ERROR] Tests run: 51, Failures: 1, Errors: 0, Skipped: 0
--------------------------
[ERROR] There are test failures.
--------------------------
--------------------------
-------TEST FAILURE-------
--------------------------
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   StreamKafkaPTest.when_processingGuaranteeNoneWithConsumerGroup_then_continueFromLastReadMessageAfterJobRestart:266->testWithJobRestart:345->HazelcastTestSupport.assertTrueEventually:1269->HazelcastTestSupport.assertTrueEventually:1165->lambda$testWithJobRestart$4:345 expected:<200> but was:<186>
[INFO] 
[ERROR] Tests run: 51, Failures: 1, Errors: 0, Skipped: 0
[INFO] 

[ERROR] There are test failures.

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:20:8: Unused import - org.apache.calcite.sql.SqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:21:8: Unused import - org.apache.calcite.sql.dialect.H2SqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:22:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:23:8: Unused import - org.apache.calcite.sql.dialect.MysqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:24:8: Unused import - org.apache.calcite.sql.dialect.PostgresqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:38:87: Name 'GETTERSBYDATABASE' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:39:78: Name 'GETTERS' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:41:5: Executable statement count is 39 (max allowed is 20). [ExecutableStatementCount]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:75: Line is longer than 130 characters (found 131). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:81: Line is longer than 130 characters (found 139). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:82: Line is longer than 130 characters (found 146). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:86: Line is longer than 130 characters (found 137). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:90: Line is longer than 130 characters (found 140). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:94: Line is longer than 130 characters (found 145). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:97:30: '{' is not followed by whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:97:31: '}' is not preceded with whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:31:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:41:8: Unused import - java.time.LocalDate. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:42:8: Unused import - java.time.LocalDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:43:8: Unused import - java.time.LocalTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:44:8: Unused import - java.time.OffsetDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:46:8: Unused import - java.util.HashMap. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 22 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:31:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:41:8: Unused import - java.time.LocalDate. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:42:8: Unused import - java.time.LocalDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:43:8: Unused import - java.time.LocalTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:44:8: Unused import - java.time.OffsetDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:46:8: Unused import - java.util.HashMap. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:20:8: Unused import - org.apache.calcite.sql.SqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:21:8: Unused import - org.apache.calcite.sql.dialect.H2SqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:22:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:23:8: Unused import - org.apache.calcite.sql.dialect.MysqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:24:8: Unused import - org.apache.calcite.sql.dialect.PostgresqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:38:87: Name 'GETTERSBYDATABASE' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:39:78: Name 'GETTERS' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:41:5: Executable statement count is 39 (max allowed is 20). [ExecutableStatementCount]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:75: Line is longer than 130 characters (found 131). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:81: Line is longer than 130 characters (found 139). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:82: Line is longer than 130 characters (found 146). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:86: Line is longer than 130 characters (found 137). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:90: Line is longer than 130 characters (found 140). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:94: Line is longer than 130 characters (found 145). [LineLength]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:97:30: '{' is not followed by whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:97:31: '}' is not preceded with whitespace. [WhitespaceAround]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 22 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:37:87: Name 'GETTERSBYDATABASE' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:38:78: Name 'GETTERS' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:40:5: Executable statement count is 35 (max allowed is 20). [ExecutableStatementCount]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:93:30: '{' is not followed by whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:93:31: '}' is not preceded with whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:31:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:41:8: Unused import - java.time.LocalDate. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:42:8: Unused import - java.time.LocalDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:43:8: Unused import - java.time.LocalTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:44:8: Unused import - java.time.OffsetDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:46:8: Unused import - java.util.HashMap. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 11 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:31:8: Unused import - org.apache.calcite.sql.dialect.MssqlSqlDialect. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:41:8: Unused import - java.time.LocalDate. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:42:8: Unused import - java.time.LocalDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:43:8: Unused import - java.time.LocalTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:44:8: Unused import - java.time.OffsetDateTime. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/SelectProcessorSupplier.java:46:8: Unused import - java.util.HashMap. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:37:87: Name 'GETTERSBYDATABASE' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:38:78: Name 'GETTERS' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:40:5: Executable statement count is 35 (max allowed is 20). [ExecutableStatementCount]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:93:30: '{' is not followed by whitespace. [WhitespaceAround]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/jdbc/GettersProvider.java:93:31: '}' is not preceded with whitespace. [WhitespaceAround]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast-sql: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 11 errors reported by Checkstyle 8.38 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_3/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast-sql
--------------------------

@frant-hartm frant-hartm marked this pull request as ready for review August 17, 2023 09:29
@frant-hartm frant-hartm changed the title Support MSSQL in Jdbc connector [HZ-2694] Support MS SQL in Jdbc SQL connector [HZ-2694] Aug 18, 2023
@Edizc Edizc merged commit 195de29 into hazelcast:master Aug 18, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants