diff --git a/testdata/workloads/functional-query/queries/QueryTest/iceberg-profile.test b/testdata/workloads/functional-query/queries/QueryTest/iceberg-profile.test index fce7e1a91..3c4c3cddb 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/iceberg-profile.test +++ b/testdata/workloads/functional-query/queries/QueryTest/iceberg-profile.test @@ -1,6 +1,7 @@ ==== ---- QUERY # This query will filter files by partition column predicate +SET TIMEZONE=UTC; select * from functional_parquet.iceberg_partitioned where event_time > to_timestamp('2020-01-01 09:00:00','yyyy-MM-dd HH:mm:ss') ---- RUNTIME_PROFILE diff --git a/testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test b/testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test index 67e081df5..dd63bd63b 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test +++ b/testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test @@ -65,6 +65,7 @@ bigint,bigint ==== ---- QUERY # Test timestamp filter for iceberg derived partition 'HOUR' +SET TIMEZONE=UTC; SELECT count(*) from iceberg_partitioned where event_time > to_timestamp('2020-01-01 09:00:00','yyyy-MM-dd HH:mm:ss') ---- TYPES @@ -73,6 +74,7 @@ bigint 6 ==== ---- QUERY +SET TIMEZONE=UTC; SELECT count(*) from iceberg_non_partitioned where event_time > to_timestamp('2020-01-01 09:00:00','yyyy-MM-dd HH:mm:ss') ---- TYPES @@ -82,6 +84,7 @@ bigint ==== ---- QUERY # Test non-count query for partition filter +SET TIMEZONE=UTC; SELECT * from iceberg_partitioned where event_time > to_timestamp('2020-01-01 09:00:00','yyyy-MM-dd HH:mm:ss') ORDER BY id @@ -97,6 +100,7 @@ int,string,string,timestamp ==== ---- QUERY # Test non-count query for non-partition filter +SET TIMEZONE=UTC; SELECT * from iceberg_non_partitioned where id < 5 ORDER BY id