Skip to content

Commit 9cada49

Browse files
committed
fix test
1 parent bf17005 commit 9cada49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spark-bigquery-connector-common/src/test/java/com/google/cloud/spark/bigquery/integration/WriteIntegrationTestBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1913,8 +1913,8 @@ public void testOverwriteDynamicPartition_partitionDateTimeByHour() {
19131913
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
19141914
IntegrationTestUtils.runQuery(
19151915
String.format(
1916-
"CREATE TABLE `%s.%s` (%s INTEGER, %s DATETIME) OPTIONS (require_partition_filter = true) "
1917-
+ "PARTITION BY timestamp_trunc(order_date_time, HOUR) "
1916+
"CREATE TABLE `%s.%s` (%s INTEGER, %s DATETIME) "
1917+
+ "PARTITION BY timestamp_trunc(order_date_time, HOUR) OPTIONS (require_partition_filter = true) "
19181918
+ "AS SELECT * FROM UNNEST([(1, DATETIME '2023-09-28 1:00:00'), "
19191919
+ "(2, DATETIME '2023-09-28 10:00:00'), (3, DATETIME '2023-09-28 10:30:00')])",
19201920
testDataset, testTable, orderId, orderDateTime));

0 commit comments

Comments
 (0)