You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2020/11/01 18:44:20 UTC

[incubator-pinot] branch master updated: Fix the test failure caused by day time saving (#6217)

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

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 76eaf51  Fix the test failure caused by day time saving (#6217)
76eaf51 is described below

commit 76eaf5107d93d664ba88d0ff83dfd3d74095fa0f
Author: Xiaotian (Jackie) Jiang <17...@users.noreply.github.com>
AuthorDate: Sun Nov 1 10:44:05 2020 -0800

    Fix the test failure caused by day time saving (#6217)
---
 .../org/apache/pinot/core/data/function/InbuiltFunctionsTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pinot-core/src/test/java/org/apache/pinot/core/data/function/InbuiltFunctionsTest.java b/pinot-core/src/test/java/org/apache/pinot/core/data/function/InbuiltFunctionsTest.java
index 8c97ead..b1bd0ec 100644
--- a/pinot-core/src/test/java/org/apache/pinot/core/data/function/InbuiltFunctionsTest.java
+++ b/pinot-core/src/test/java/org/apache/pinot/core/data/function/InbuiltFunctionsTest.java
@@ -226,8 +226,8 @@ public class InbuiltFunctionsTest {
     inputs.add(new Object[]{"timezone_minute(tz)", expectedArguments, row12_0, 0});
 
     GenericRow row12_1 = new GenericRow();
-    row12_1.putValue("tz", "America/Los_Angeles");
-    inputs.add(new Object[]{"timezone_hour(tz)", expectedArguments, row12_1, 17});
+    row12_1.putValue("tz", "Asia/Shanghai");
+    inputs.add(new Object[]{"timezone_hour(tz)", expectedArguments, row12_1, 8});
     inputs.add(new Object[]{"timezone_minute(tz)", expectedArguments, row12_1, 0});
 
     GenericRow row12_2 = new GenericRow();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org