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

Sai Hemanth Gantasala updated HIVE-28294:
-----------------------------------------
    Description: 
Drop database cascade operation fetches all tables in the DB, while doing so we 
perform client-side filtering on the tables. We can avoid client-side filtering 
as we anyway authorize on the tables in the DB for the drop operation.

Also, we need to add functions in the database for authorization before 
dropping the database.

  was:Drop database cascade operation fetches all tables in the DB, while doing 
so we perform client-side filtering on the tables. We can avoid client-side 
filtering as we anyway authorize on the tables in the DB for the drop operation.


> drop database cascade operation can skip client side filtering while fetching 
> tables in db
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-28294
>                 URL: https://issues.apache.org/jira/browse/HIVE-28294
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: pull-request-available
>
> Drop database cascade operation fetches all tables in the DB, while doing so 
> we perform client-side filtering on the tables. We can avoid client-side 
> filtering as we anyway authorize on the tables in the DB for the drop 
> operation.
> Also, we need to add functions in the database for authorization before 
> dropping the database.



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

Reply via email to