You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by wz...@apache.org on 2021/07/27 01:00:52 UTC

[impala] 02/02: IMPALA-10821 Fix TestTPCHJoinQueries.test_outer_joins failed

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

wzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 46f13437db2d64d9ee431c2c5cf424be3b8d6377
Author: Yida Wu <wy...@gmail.com>
AuthorDate: Thu Jul 22 15:45:44 2021 -0700

    IMPALA-10821 Fix TestTPCHJoinQueries.test_outer_joins failed
    
    A new added testcase in TestTPCHJoinQueries.test_outer_joins
    can't pass the s3 build because the plan generated in s3 build
    is not the same as the default hdfs build for the scan node. In
    s3 build, it is "SCAN S3", while in hdfs build, it is "SCAN HDFS".
    
    The patch changed the testcase to use $FILESYSTEM_NAME, which
    will be changed according to the file system the testcase is
    using.
    
    Tests:
    Reran and passed the failed testcase in s3 build.
    
    Change-Id: I7e068d9da03517f8316e7a2505ce1466523d5917
    Reviewed-on: http://gerrit.cloudera.org:8080/17716
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 testdata/workloads/tpch/queries/tpch-outer-joins.test | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testdata/workloads/tpch/queries/tpch-outer-joins.test b/testdata/workloads/tpch/queries/tpch-outer-joins.test
index ea51d71..e0e96f2 100644
--- a/testdata/workloads/tpch/queries/tpch-outer-joins.test
+++ b/testdata/workloads/tpch/queries/tpch-outer-joins.test
@@ -84,7 +84,7 @@ AND a.`SELECT` = b.`INSERT`;
 '05:EXCHANGE [UNPARTITIONED]'
 '02:HASH JOIN [RIGHT OUTER JOIN, PARTITIONED]'
 '|--04:EXCHANGE [HASH(b.`INSERT`,b.`insert`)]'
-'|  00:SCAN HDFS [default.t1 b]'
+'|  00:SCAN $FILESYSTEM_NAME [default.t1 b]'
 '03:EXCHANGE [HASH(a.`SELECT`,a.`select`)]'
-'01:SCAN HDFS [default.t2 a]'
+'01:SCAN $FILESYSTEM_NAME [default.t2 a]'
 ====