You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[HADP-56882][SPARK-51281][SQL] DataFrameWriterV2 should respect the path option (apache#705)
* [SPARK-51281][SQL] DataFrameWriterV2 should respect the path option
Unlike `DataFrameWriter.saveAsTable` where we explicitly get the "path" option and treat it as table location, `DataFrameWriterV2` doesn't do it and treats the "path" option as a normal option which doesn't have any real impact.
This PR fixes it, and adds a legacy config to restore the old behavior.
bug fix
Yes, now `DataFrameWriterV2` can correctly write data to the specified path for file source tables.
new test
no
Closesapache#50040 from cloud-fan/prop.
Lead-authored-by: Wenchen Fan <[email protected]>
Co-authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit a3671e5)
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments