Changes

Summary

  1. [SPARK-37079][PYTHON][SQL] Fix DataFrameWriterV2.partitionedBy to send (details)
Commit c23698ff693ae56dae0064af0940e995b407e9d6 by gurwls223
[SPARK-37079][PYTHON][SQL] Fix DataFrameWriterV2.partitionedBy to send the arguments to JVM properly

### What changes were proposed in this pull request?

Fix `DataFrameWriterV2.partitionedBy` to send the arguments to JVM properly.

### Why are the changes needed?

In PySpark, `DataFrameWriterV2.partitionedBy` doesn't send the arguments to JVM properly.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manually checked whether the arguments are sent to JVM or not.

Closes #34347 from ueshin/issues/SPARK-37079/partitionBy.

Authored-by: Takuya UESHIN <ueshin@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 33deeb35f1c994328b577970d4577e6d9288bfc2)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
The file was modifiedpython/pyspark/sql/readwriter.py (diff)