[
https://issues.apache.org/jira/browse/SPARK-62221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62221.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 923
[https://github.com/apache/spark-connect-rust/pull/923]
> Make createDataFrame of a pandas DataFrame of more or fewer columns than its
> schema's fields PySpark's
> ------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62221
> URL: https://issues.apache.org/jira/browse/SPARK-62221
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.4.0
>
>
> PySpark's createDataFrame of a pandas DataFrame with a schema zips the
> columns with the fields: a wider frame drops its extra columns, and a
> narrower one raises the ArrowInvalid of the rename. The drop-in raises
> AXIS_LENGTH_MISMATCH for both. Make it PySpark's.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]