[ 
https://issues.apache.org/jira/browse/HIVE-22225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943021#comment-16943021
 ] 

Naveen Gangam commented on HIVE-22225:
--------------------------------------

[~samuelan] Quick question, for existing databases that do not have ownership 
info, would it make sense to also automatically update the database with 
ownership info when a user executed "alter database" on the table, only when 
the current database and the new database (coming from the 
AlterDatabaseRequest) both have no ownership info.
I am guessing no, because executing alter table on a table should not make that 
user the owner. They may or may not be the original owners.
But just wanted to make sure that you had given it some thought as well. Thank 
you

> add owner name for create database if missing
> ---------------------------------------------
>
>                 Key: HIVE-22225
>                 URL: https://issues.apache.org/jira/browse/HIVE-22225
>             Project: Hive
>          Issue Type: Task
>          Components: Hive
>            Reporter: Sam An
>            Assignee: Sam An
>            Priority: Minor
>         Attachments: HIVE-22225.1.patch, HIVE-22225.2.patch, 
> HIVE-22225.4.patch, Hive-22225.3.patch
>
>
> When Spark connects to HMS, the database owner name is not filled. This could 
> happen to other clients as well. We shall fill this in HMS. Ownership info is 
> useful for authorizer component in Ranger, etc. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to