You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2020/01/27 15:31:00 UTC
[jira] [Created] (IMPALA-9330) Support masking queries containing
correlated collection references
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)