You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2023/03/27 23:02:04 UTC

[impala] 10/17: IMPALA-11845: (Addendum) Don't specify db name in the new struct tests

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

stigahuang pushed a commit to branch branch-4.1.2
in repository https://gitbox.apache.org/repos/asf/impala.git

commit faae4a513c504b28c83b0417b368f2eff8f4c91c
Author: stiga-huang <hu...@gmail.com>
AuthorDate: Fri Feb 3 09:05:36 2023 +0800

    IMPALA-11845: (Addendum) Don't specify db name in the new struct tests
    
    Some new tests are added for STAR expansion on struct types when the
    table is masked by Ranger masking policies. They are tested on both
    Parquet and ORC tables. However, some tests explicitly use
    'functional_parquet' as the db name, which lose the coverage on ORC
    tables. This patch removes the explicit db names.
    
    Change-Id: I8efea5cc2e10d8ae50ee6c1201e325932cb27fbf
    Reviewed-on: http://gerrit.cloudera.org:8080/19470
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 .../queries/QueryTest/ranger_column_masking_complex_types.test    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking_complex_types.test b/testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking_complex_types.test
index e088aeb12..92027f1f0 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking_complex_types.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking_complex_types.test
@@ -77,7 +77,7 @@ INT
 ---- QUERY
 # Test resolving explicit STAR path on a nested struct column inside array
 select id, nested_arr.item.*
-from functional_parquet.complextypestbl t,
+from complextypestbl t,
   t.nested_struct.c.d arr,
   arr.item nested_arr;
 ---- RESULTS
@@ -99,7 +99,7 @@ BIGINT,INT,STRING
 ---- QUERY
 # Test resolving explicit STAR path on a nested struct column inside array
 select nested_arr.item.*
-from functional_parquet.complextypestbl t,
+from complextypestbl t,
   t.nested_struct.c.d arr,
   arr.item nested_arr;
 ---- RESULTS
@@ -121,7 +121,7 @@ INT,STRING
 ---- QUERY
 # Test resolving implicit STAR path on a nested struct column inside array
 select id, nested_arr.*
-from functional_parquet.complextypestbl t,
+from complextypestbl t,
   t.nested_struct.c.d arr,
   arr.item nested_arr;
 ---- RESULTS
@@ -143,7 +143,7 @@ BIGINT,INT,STRING
 ---- QUERY
 # Test resolving explicit STAR path on a nested struct column inside array
 select nested_arr.*
-from functional_parquet.complextypestbl t,
+from complextypestbl t,
   t.nested_struct.c.d arr,
   arr.item nested_arr;
 ---- RESULTS