This is an automated email from the ASF dual-hosted git repository.
stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 32536ba25 IMPALA-11845: (Addendum) Don't specify db name in the new
struct tests
32536ba25 is described below
commit 32536ba25869ea621bdb82bb79a520a115e02cdd
Author: stiga-huang <[email protected]>
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 <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
.../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 563df801b..6e7b57935 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
@@ -84,7 +84,7 @@ AnalysisException: Struct containing a collection type is not
allowed in the sel
---- 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
@@ -106,7 +106,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
@@ -128,7 +128,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
@@ -150,7 +150,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