Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[SPARK-55325][PYTHON] Introduce ArrowArrayToPandasConversion.convert_pyarrow - #54518

Draft
fangchenli wants to merge 24 commits into
apache:masterfrom
fangchenli:SPARK-55325-convert-pyarrow
Draft

[SPARK-55325][PYTHON] Introduce ArrowArrayToPandasConversion.convert_pyarrow#54518
fangchenli wants to merge 24 commits into
apache:masterfrom
fangchenli:SPARK-55325-convert-pyarrow

Conversation

@fangchenli

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Introduce ArrowArrayToPandasConversion.convert_pyarrow, support non-complex types.

Why are the changes needed?

Part of the new arrow to pandas converter

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unittests added.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.6

@fangchenli
fangchenli force-pushed the SPARK-55325-convert-pyarrow branch from eb0ebb8 to 6cab9cf Compare February 27, 2026 07:37
@fangchenli
fangchenli marked this pull request as ready for review April 10, 2026 04:00
@fangchenli
fangchenli marked this pull request as draft April 10, 2026 04:03
@fangchenli
fangchenli marked this pull request as ready for review April 10, 2026 06:51
@fangchenli

Copy link
Copy Markdown
Contributor Author

@zhengruifeng Somehow the jira bot did not pick up this PR. Let me know if the scope is correct.

https://issues.apache.org/jira/browse/SPARK-55325

Comment thread python/pyspark/sql/pandas/conversion.py
Comment thread python/pyspark/sql/conversion.py Outdated
Comment thread python/pyspark/sql/conversion.py Outdated
Comment thread sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala Outdated
@zhengruifeng

Copy link
Copy Markdown
Contributor

also cc @Yicong-Huang

@Yicong-Huang

Copy link
Copy Markdown
Contributor

Hi @fangchenli we want to merge this soon into 4.4. There are some conflicts on the PR, could you please resolve them and we can get another review pass?

@Spenserrrr

Copy link
Copy Markdown
Contributor

Hi @fangchenli! I just opened #58754 to move to_pandas from ArrowBatchTransformer into ArrowToPandasConversion. If my PR lands first, you may need to resolve a conflict when rebasing this PR, keeping your new arrow_dtype argument and the call that passes it to convert in the method’s new location. Just wanted to give you a heads-up. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants