Sai Hemanth Gantasala created HIVE-25303:
--------------------------------------------
Summary: 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
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)