File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
jdbc-v2/src/test/java/com/clickhouse/jdbc Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,7 @@ public void testTimeTypes() throws SQLException {
618618 Properties createProperties = new Properties ();
619619 createProperties .put (ClientConfigProperties .serverSetting ("allow_experimental_time_time64_type" ), "1" );
620620 runQuery ("CREATE TABLE test_time64 (order Int8, "
621- + "time Time('UTC') , time64 Time64(9) "
621+ + "time Time, time64 Time64(9) "
622622 + ") ENGINE = MergeTree ORDER BY ()" ,
623623 createProperties );
624624
Original file line number Diff line number Diff line change @@ -49,17 +49,17 @@ protected static String getDatabase() {
4949
5050 @ Override
5151 protected boolean runQuery (String query ) {
52- return runQuery (query , new Properties ());
52+ runQuery (query , new Properties ());
53+ return true ;
5354 }
5455
55- protected boolean runQuery (String query , Properties connProperties ) {
56+ protected void runQuery (String query , Properties connProperties ) {
5657 try (Connection connection = getJdbcConnection (connProperties )) {
5758 try (Statement stmt = connection .createStatement ()) {
58- return stmt .execute (query );
59+ stmt .execute (query );
5960 }
6061 } catch (SQLException e ) {
61- LOGGER .error ("Failed to run query: {}" , query , e );
62- return false ;
62+ throw new RuntimeException (e );
6363 }
6464 }
6565
You can’t perform that action at this time.
0 commit comments