hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-22013: SHOW TABLE EXTENDED query fails with Wrong FS error for partition in customized location

Open ganeshashree opened this issue 3 years ago • 2 comments

What changes were proposed in this pull request?

Fix is done by using a right file system when partition is in different location than table's path .

Why are the changes needed?

To fix a bug where SHOW TABLE EXTENDED query fails with Wrong FS error for a partition in a different file system or a different bucket in S3.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added qtest for a case where partition is not in table's path. Also, tested manually for cases like 1) partition and table are in different S3 bucket 2) Table is in HDFS and partition is in S3.

ganeshashree avatar Apr 21 '22 11:04 ganeshashree

@miklosgergely Thanks for reviewing. Please help with merging this fix to master branch.

ganeshashree avatar May 02 '22 04:05 ganeshashree

@ayushtkn Please review this PR.

ganeshashree avatar Jul 16 '22 13:07 ganeshashree

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.

github-actions[bot] avatar Sep 15 '22 00:09 github-actions[bot]