Zhihua Deng created HIVE-26538: ---------------------------------- Summary: MetastoreDefaultTransformer should revise the location when it's empty Key: HIVE-26538 URL: https://issues.apache.org/jira/browse/HIVE-26538 Project: Hive Issue Type: Improvement Components: Standalone Metastore Reporter: Zhihua Deng
The table's location is treated as null when it's empty, this takes place somewhere such as: [https://github.com/apache/hive/blob/82f319773cb2361a98963e861fb903ab8eecd9c4/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java#L2367] [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java#L729] MetastoreDefaultTransformer should revise the empty location when altering/creating tables. -- This message was sent by Atlassian Jira (v8.20.10#820010)