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

ASF GitHub Bot updated HIVE-28482:
----------------------------------
    Labels: pull-request-available  (was: )

> Iceberg: CTAS query failure while fetching URI for authorization
> ----------------------------------------------------------------
>
>                 Key: HIVE-28482
>                 URL: https://issues.apache.org/jira/browse/HIVE-28482
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Major
>              Labels: pull-request-available
>
> When we perform CTAS query with the following configs set to true - 
> {code:java}
> set hive.security.authorization.enabled=true;
> set hive.security.authorization.tables.on.storagehandlers=true;
> create table ctas_source stored by iceberg stored as orc as select * from 
> src;{code}
> The following error trace is seen - 
> {code:java}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Exception 
> occurred while getting the URI from storage handler: null
>         at 
> org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.addHivePrivObject(CommandAuthorizerV2.java:213)
>         at 
> org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.getHivePrivObjects(CommandAuthorizerV2.java:152)
>         at 
> org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.doAuthorization(CommandAuthorizerV2.java:77)
>         at 
> org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizer.doAuthorization(CommandAuthorizer.java:58)
> {code}
>  
>  



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

Reply via email to