Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.1.0
-
None
-
ghx-label-3
Description
HIVE-24920 results in the change in HMS' behavior. Specifically, after this Hive commit, creation of an external table under the managed directory will be allowed if the HMS configuration of 'hive.metastore.warehouse.external.dir' is not explicitly set, i.e., isExternalWarehouseSet() evaluates to false.
test_sfs is failing with:
query_test/test_sfs.py:52: in test_sfs self.run_test_case('QueryTest/sfs', vector, unique_database) common/impala_test_suite.py:741: in run_test_case expected_str, query) E AssertionError: Expected exception: An external table's location should not be located within managed warehouse root directory E E when running: E E CREATE EXTERNAL TABLE test_tbl_03 (s STRING, i INT) STORED AS PARQUET E LOCATION 'sfs+hdfs://localhost:20500/test-warehouse/managed/test_sfs_833dc94f.db/sfs_d3.parq/#SINGLEFILE#'