[
https://issues.apache.org/jira/browse/IMPALA-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on IMPALA-9330 started by Quanlong Huang.
----------------------------------------------
> 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
> Priority: Critical
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]