File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,8 @@ TEST_P(ClientCase, Array) {
158158TEST_P (ClientCase, Time) {
159159 Block b;
160160
161- client_->Execute (" CREATE TEMPORARY TABLE IF NOT EXISTS test_clickhouse_cpp_time (t Time)" );
161+ client_->Execute (" CREATE TEMPORARY TABLE IF NOT EXISTS test_clickhouse_cpp_time (t Time) "
162+ " SETTINGS enable_time_time64_type = 1" );
162163 auto t = std::make_shared<ColumnTime>();
163164
164165 int32_t ts = 3600 * 15 + 60 * 4 + 5 ;
@@ -183,7 +184,8 @@ TEST_P(ClientCase, Time64) {
183184 Block b;
184185
185186 client_->Execute (" CREATE TEMPORARY TABLE IF NOT EXISTS test_clickhouse_cpp_time64 "
186- " (t0 Time64(0), t3 Time64(3), t6 Time64(6))" );
187+ " (t0 Time64(0), t3 Time64(3), t6 Time64(6)) "
188+ " SETTINGS enable_time_time64_type = 1" );
187189 auto t0 = std::make_shared<ColumnTime64>(0 );
188190 auto t3 = std::make_shared<ColumnTime64>(3 );
189191 auto t6 = std::make_shared<ColumnTime64>(6 );
You can’t perform that action at this time.
0 commit comments