You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/15 22:34:00 UTC

[jira] [Work logged] (HIVE-24887) getDatabase() to call translation code even if client has no capabilities

     [ https://issues.apache.org/jira/browse/HIVE-24887?focusedWorklogId=566593&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566593 ]

ASF GitHub Bot logged work on HIVE-24887:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Mar/21 22:33
            Start Date: 15/Mar/21 22:33
    Worklog Time Spent: 10m 
      Work Description: nrg4878 opened a new pull request #2076:
URL: https://github.com/apache/hive/pull/2076


   …nslation (Naveen Gangam)
   
   ### What changes were proposed in this pull request?
   A minor change to have getDatabase() call call the translation layer even when client does not set the capabilities.
   Another change is to make checkDeletePermissions in the storage based authorizer to be package visibility, much like the other check* methods on this class. This allows the subclasses to use this method as well.
   
   ### Why are the changes needed?
   Mostly consistency with other methods like createTable() etc.
   
   ### Does this PR introduce _any_ user-facing change?
   Potentially, clients can see a different locationUri if their original database object had location from the managed warehouse. This old location will now be set as managedLocationUri.
   
   ### How was this patch tested?
   Manually.
   Failed unit tests.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 566593)
    Remaining Estimate: 0h
            Time Spent: 10m

> getDatabase() to call translation code even if client has no capabilities
> -------------------------------------------------------------------------
>
>                 Key: HIVE-24887
>                 URL: https://issues.apache.org/jira/browse/HIVE-24887
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We do this for other calls that go thru translation layer. For some reason, the current code only calls it when the client sets the capabilities.



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