Skip to content

Commit 7322ac7

Browse files
committed
Add UTC time zone setting for consistent timestamp handling in Hudi SQL script
1 parent ac3f4a4 commit 7322ac7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/thirdparties/docker-compose/hudi/scripts/create_preinstalled_scripts/hudi/01_config_and_database.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ SET hoodie.datasource.write.hive_style_partitioning = true;
33
SET hoodie.upsert.shuffle.parallelism = 2;
44
SET hoodie.insert.shuffle.parallelism = 2;
55

6+
-- set time zone to UTC to ensure consistent timestamp handling across different machines
7+
SET TIME ZONE 'UTC';
8+
69
CREATE DATABASE IF NOT EXISTS regression_hudi;
710
USE regression_hudi;
811

0 commit comments

Comments
 (0)