Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-45538][PYTHON][CONNECT] pyspark connect overwrite_partitions bug
### What changes were proposed in this pull request? Fix a bug in pyspark connect. DataFrameWriterV2.overwritePartitions set mode as overwrite_partitions [pyspark/sql/connect/readwriter.py, line 825], but WirteOperationV2 take it as overwrite_partition [pyspark/sql/connect/plan.py, line 1660] ### Why are the changes needed? make dataframe.writeTo(table).overwritePartitions() work ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? No test. This bug is very obvious. ### Was this patch authored or co-authored using generative AI tooling? No Closes #43367 from xieshuaihu/python_connect_overwrite. Authored-by: xieshuaihu <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information