[SPARK-37545][SQL] V2 CreateTableAsSelect command should qualify location#34806
[SPARK-37545][SQL] V2 CreateTableAsSelect command should qualify location#34806imback82 wants to merge 3 commits intoapache:masterfrom
Conversation
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #145920 has finished for PR 34806 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #145922 has finished for PR 34806 at commit
|
|
I didn't qualify path in |
|
Merged to master. Thanks! @imback82 cc @cloud-fan |
|
late LGTM |
What changes were proposed in this pull request?
Currently, v2 CTAS command doesn't qualify the location:
, whereas v1 command qualifies the location as
file:/tmp/foowhich is the correct behavior since the default filesystem can change for different sessions.Why are the changes needed?
This PR proposes to store the qualified location in order to prevent the issue where default filesystem changes for different sessions.
Does this PR introduce any user-facing change?
Yes, now, v2 CTAS command will store qualified location:
How was this patch tested?
Added new test