Quanlong Huang created IMPALA-9330:
--------------------------------------

             Summary: Support masking queries containing correlated collection 
references
                 Key: IMPALA-9330
                 URL: https://issues.apache.org/jira/browse/IMPALA-9330
             Project: IMPALA
          Issue Type: Improvement
            Reporter: Quanlong Huang
            Assignee: Quanlong Huang


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:
{code:sql}
select t.id, a.pos, a.item from complextypestbl t, t.int_arr a;
{code}
Because its AST will be rewritten to the AST of
{code:sql}
select t.id, a.pos, a.item from (
  select cast(id * 100 as BIGINT) id
  from complextypestbl
) t, t.int_arr a;
{code}
Currently, the analyzer can't resolve "t.int_arr" correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to