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 "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2026/06/30 13:55:00 UTC

[jira] [Updated] (IMPALA-15126) NullPointerException for STRUCT.* expansion on masked tables

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

Zoltán Borók-Nagy updated IMPALA-15126:
---------------------------------------
    Summary: NullPointerException for STRUCT.* expansion on masked tables  (was: NullPointerException when a column-masking policy on a nested struct field meets STRUCT.* expansion)

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