You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2020/01/31 09:05:00 UTC

[jira] [Work started] (IMPALA-9330) Support masking queries containing correlated collection references

     [ 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org