Wenzhe Zhou has uploaded a new patch set (#6). ( http://gerrit.cloudera.org:8080/18759 )
Change subject: IMPALA-11445: Fix bug in firing insert event of partitions located in different FS ...................................................................... IMPALA-11445: Fix bug in firing insert event of partitions located in different FS 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 case with partitions on different file systems. Ran the test on S3. - 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 A tests/custom_cluster/test_partition.py 4 files changed, 169 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/59/18759/6 -- 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: newpatchset Gerrit-Change-Id: I0491ee1bf40c3d5240f9124cef3f3169c44a8267 Gerrit-Change-Number: 18759 Gerrit-PatchSet: 6 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
