Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-8
Description
Let's say table complextypestbl (id bigint, int_arr array<int>) has column masking policy on id: "id => id * 100". The following query is not rewritten correctly:
select t.id, a.pos, a.item from complextypestbl t, t.int_arr a;
Because its AST will be rewritten to the AST of
select t.id, a.pos, a.item from ( select cast(id * 100 as BIGINT) id from complextypestbl ) t, t.int_arr a;
Currently, the analyzer can't resolve "t.int_arr" correctly.
Attachments
Issue Links
- causes
-
IMPALA-11845 Select STAR with table ref is not resolved correctly on column/row masked views
- Resolved
- is related to
-
IMPALA-9329 Table masking view should not have nested columns in select list
- Resolved
-
IMPALA-11847 Refactor table masking views to expose nested columns directly
- Open
- links to