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

Zoltán Borók-Nagy resolved IMPALA-15126.
----------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> NullPointerException for STRUCT.* expansion on masked tables
> ------------------------------------------------------------
>
>                 Key: IMPALA-15126
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15126
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> When a Ranger column-masking policy is defined and a query expands a struct 
> with a star path (STRUCT.*) such that the expansion includes complex 
> sub-fields, analysis fails with a server-side NullPointerException.
> Steps to reproduce:
> 1. Add any column-masking policy on functional_parquet.complextypestbl for 
> the requesting user (e.g. id → CUSTOM 100 * \{col}) so the table is served 
> through a table-masking view.
> 2. 
> {noformat}
> REFRESH AUTHORIZATION;{noformat}
> 3. As the masked user, run:
> {noformat}
> SET EXPAND_COMPLEX_TYPES=true;
> SELECT id, nested_struct.* FROM functional_parquet.complextypestbl;{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to