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 "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2020/04/02 18:39:00 UTC

[jira] [Updated] (IMPALA-9597) Eliminate redundant Ranger audits when a query involves column masking

     [ https://issues.apache.org/jira/browse/IMPALA-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fang-Yu Rao updated IMPALA-9597:
--------------------------------
    Summary: Eliminate redundant Ranger audits when a query involves column masking  (was: Deduplicate Ranger audits when a column is referenced multiple times)

> Eliminate redundant Ranger audits when a query involves column masking
> ----------------------------------------------------------------------
>
>                 Key: IMPALA-9597
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9597
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Major
>
> After [IMPALA-9350|https://issues.apache.org/jira/browse/IMPALA-9350], Impala is able to produce the corresponding Ranger audits when a query involves policies of column masking. However, duplicate audit events will be produced if a column is referenced multiple times in a query.
> For instance, since the following query would result in 2 calls to {{SelectStmt#analyze()}} on the same table, given that there is a column masking policy for the column of {{string_col}}, we will see 2 duplicate audit events for this column.
> {noformat}
> with iv as (select id, bool_col, string_col from functional.alltypestiny)
> select * from iv;
> {noformat}
> We should thus deduplicate the audits in the case described above.



--
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