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

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

                Author: ASF GitHub Bot
            Created on: 07/Jul/21 13:31
            Start Date: 07/Jul/21 13:31
    Worklog Time Spent: 10m 
      Work Description: nrg4878 commented on pull request #2442:
URL: https://github.com/apache/hive/pull/2442#issuecomment-875606739


   @zeroflag Could you please review this fix ? I know this reverts your change 
but seems like CTAS is not fully resolved with the fix you had worked on. The 
select queries work fine after CTAS and show the data etc but we are ending up 
with a non-ACID managed table being located in the managed warehouse. Some 
customers have taken issue to this.


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

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


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

    Worklog Id:     (was: 619977)
    Time Spent: 0.5h  (was: 20m)

> CTAS hive.create.as.external.legacy tries to place data files in managed WH 
> path
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-25303
>                 URL: https://issues.apache.org/jira/browse/HIVE-25303
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Standalone Metastore
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Under legacy table creation mode (hive.create.as.external.legacy=true), when 
> a database has been created in a specific LOCATION, in a session where that 
> database is USEd, tables created using
> CREATE TABLE <tablename> AS SELECT <select statement>
> should inherit the HDFS path from the database's location.
> Instead, Hive is trying to write the table data into 
> /warehouse/tablespace/managed/hive/<database_directory_name>/<table_name>



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

Reply via email to