[jira] [Work logged] (HIVE-24178) managedlocation is missing in SHOW CREATE DATABASE

2020-09-30 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24178:
-

Author: ASF GitHub Bot
Created on: 30/Sep/20 13:18
Start Date: 30/Sep/20 13:18
Worklog Time Spent: 10m 
  Work Description: belugabehr commented on pull request #1508:
URL: https://github.com/apache/hive/pull/1508#issuecomment-701384899


   LGTM !  Good catch.  I also linked your JIRA (HIVE-24178) to the root JIRA 
(HIVE-22995)



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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 492952)
Time Spent: 20m  (was: 10m)

> managedlocation is missing in SHOW CREATE DATABASE
> --
>
> Key: HIVE-24178
> URL: https://issues.apache.org/jira/browse/HIVE-24178
> Project: Hive
>  Issue Type: Bug
>Reporter: Csaba Ringhofer
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The output of SHOW CREATE DATABASE contains location, but doesn't contain 
> managed location, so the database it would create would be actually different.
> To reproduce:
> create database db1 location "/test-warehouse/a" managedlocation 
> "test-warehouse/b";
> show create database db1;
> result: 
> +--+
> |createdb_stmt |
> +--+
> | CREATE DATABASE `db1`|
> | LOCATION |
> |   'hdfs://localhost:20500/test-warehouse/a'  |
> +--+



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


[jira] [Work logged] (HIVE-24178) managedlocation is missing in SHOW CREATE DATABASE

2020-09-18 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24178:
-

Author: ASF GitHub Bot
Created on: 18/Sep/20 22:28
Start Date: 18/Sep/20 22:28
Worklog Time Spent: 10m 
  Work Description: miklosgergely opened a new pull request #1508:
URL: https://github.com/apache/hive/pull/1508


   
   ### What changes were proposed in this pull request?
   To add the missing managed location part to the SHOW CREATE DATABASE command.
   
   ### Why are the changes needed?
   Because it is missing from there, and the purpose of this command is to 
provide a statement that would create a database as similar as possible.
   
   ### Does this PR introduce _any_ user-facing change?
   Users will see a better result for their SHOW CREATE DATABASE commands.
   
   ### How was this patch tested?
   A new SHOW CREATE DATABASE was added into database_location.q.



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:
us...@infra.apache.org


Issue Time Tracking
---

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

> managedlocation is missing in SHOW CREATE DATABASE
> --
>
> Key: HIVE-24178
> URL: https://issues.apache.org/jira/browse/HIVE-24178
> Project: Hive
>  Issue Type: Bug
>Reporter: Csaba Ringhofer
>Assignee: Miklos Gergely
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The output of SHOW CREATE DATABASE contains location, but doesn't contain 
> managed location, so the database it would create would be actually different.
> To reproduce:
> create database db1 location "/test-warehouse/a" managedlocation 
> "test-warehouse/b";
> show create database db1;
> result: 
> +--+
> |createdb_stmt |
> +--+
> | CREATE DATABASE `db1`|
> | LOCATION |
> |   'hdfs://localhost:20500/test-warehouse/a'  |
> +--+



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