This is an automated email from the ASF dual-hosted git repository.

zhangchen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 876fae6f715 [fix](regression) test_primary_key_partial_update fail due 
to the U.S. change from DST to standard time (#43288) (#43300)
876fae6f715 is described below

commit 876fae6f71507a9a9782f4aebdb66c43a882b8bf
Author: zhannngchen <48427519+zhannngc...@users.noreply.github.com>
AuthorDate: Wed Nov 6 14:10:29 2024 +0800

    [fix](regression) test_primary_key_partial_update fail due to the U.S. 
change from DST to standard time (#43288) (#43300)
    
    cherry-pick #43288
---
 .../data/unique_with_mow_p0/partial_update/test_partial_update.out    | 4 ++--
 .../unique_with_mow_p0/partial_update/test_partial_update.groovy      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out
 
b/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out
index 70c57c2555e..6c611c00030 100644
--- 
a/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out
+++ 
b/regression-test/data/unique_with_mow_p0/partial_update/test_partial_update.out
@@ -39,7 +39,7 @@
 1
 
 -- !select_timestamp2 --
-11
+1
 
 -- !select_date --
 1
@@ -90,7 +90,7 @@ B
 1
 
 -- !select_timestamp2 --
-11
+1
 
 -- !select_date --
 1
diff --git 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
index ea3dde5bf5b..9643f9501ed 100644
--- 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update.groovy
@@ -207,7 +207,7 @@ suite("test_primary_key_partial_update", "p0") {
 
             qt_select_timestamp "select count(*) from ${tableName} where 
`ctime` > \"1970-01-01\""
 
-            sql "set time_zone = 'America/New_York'"
+            sql "set time_zone = 'Asia/Tokyo'"
 
             Thread.sleep(5000)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to