HIVE-22013: SHOW TABLE EXTENDED query fails with Wrong FS error for partition in customized location
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.
@miklosgergely Thanks for reviewing. Please help with merging this fix to master branch.
@ayushtkn Please review this PR.
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.