hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Gergely (Jira)" <>
Subject [jira] [Commented] (HIVE-23316) Add tests to cover database managed location related DDL and fix minor issues
Date Tue, 12 May 2020 16:33:00 GMT


Miklos Gergely commented on HIVE-23316:

In my opinion having such a command for setting both location and managed location would be
very strange, in the sense that all our set commands are for setting one thing. Personally
I don't see the benefit of it, it would be more confusing then useful.

I agree, that having the same syntax for create and alter statements is a good thing, but
to achieve that we could also have MANAGED LOCATION in two words in the create syntax. In
general SQL commands are kind of like sentences, and this is how it would be grammatically

> Add tests to cover database managed location related DDL and fix minor issues
> -----------------------------------------------------------------------------
>                 Key: HIVE-23316
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Miklos Gergely
>            Assignee: Miklos Gergely
>            Priority: Major
>         Attachments: HIVE-23316.01.patch
> Database managed location was recently introduced, but no tests were added to cover it.
also the following issues were fixed:
>  * ALTER DATABASE ... SET MANAGEDLOCATION ... commands were not handled in a separate
path as it should, as in DDL each command type have their own Analyzer, Desc, and Operation
>  * in case of setting the LOCATION or the MANAGEDLOCATION the location was not getting
qualified as in the CREATE DATABASE command
>  * in case of setting the LOCATION or the MANAGEDLOCATION it was not checked if this
modification makes the two the same
>  * some minor checkstyle issues were fixed as well
> Also the DDL documentation was not modified.

This message was sent by Atlassian Jira

View raw message