Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When we perform CTAS query with the following configs set to true -
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;
The following error trace is seen -
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)
Attachments
Issue Links
- links to