You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (Jira)" <ji...@apache.org> on 2020/11/20 15:48:00 UTC

[jira] [Commented] (HIVE-22087) HMS Translation: Translate getDatabase() API to alter warehouse location

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

Zoltan Haindrich commented on HIVE-22087:
-----------------------------------------

[~ngangam],[~ngangam]: this patch have removed the `firePreEvent` call from the `get_database` method - was that intentional?

https://github.com/apache/hive/commit/3934de09cd0a72e20a091a8bfa06e80b76ac197c#diff-00e70b6958060aa36762b21bf16676f83af01c1e09b56816aecc6abe7c8ac866L1518

> HMS Translation: Translate getDatabase() API to alter warehouse location
> ------------------------------------------------------------------------
>
>                 Key: HIVE-22087
>                 URL: https://issues.apache.org/jira/browse/HIVE-22087
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22087.1.patch, HIVE-22087.2.patch, HIVE-22087.3.patch, HIVE-22087.5.patch, HIVE-22087.6.patch, HIVE-22087.7.patch
>
>
> It makes sense to translate getDatabase() calls as well, to alter the location for the Database based on whether or not the processor has capabilities to write to the managed warehouse directory. Every DB has 2 locations, one external and the other in the managed warehouse directory. If the processor has any AcidWrite capability, then the location remains unchanged for the database.



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