Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18759
Change subject: IMPALA-11445: Allow partitions located in different file systems ...................................................................... IMPALA-11445: Allow partitions located in different file systems When adding a partition with location in a file system which is different from the file system of the table location, Impala accept it. But when insert values to the table, catalogd throw exception. This patch fix the issue by using the right FileSystem object. Testing: - Added new test cases with partitions on different file systems. - Did manual tests in cluster with partitions on HDFS and Ozone. - Passed core test. Change-Id: I0491ee1bf40c3d5240f9124cef3f3169c44a8267 --- M fe/src/main/java/org/apache/impala/catalog/FeFsTable.java M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java A testdata/workloads/functional-query/queries/QueryTest/partition-location.test M tests/query_test/test_partitioning.py 4 files changed, 117 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/59/18759/1 -- To view, visit http://gerrit.cloudera.org:8080/18759 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0491ee1bf40c3d5240f9124cef3f3169c44a8267 Gerrit-Change-Number: 18759 Gerrit-PatchSet: 1 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
