[
https://issues.apache.org/jira/browse/SPARK-55965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-55965.
----------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54760
[https://github.com/apache/spark/pull/54760]
> Add warning when pandas >= 3.0.0 is used with PySpark
> -----------------------------------------------------
>
> Key: SPARK-55965
> URL: https://issues.apache.org/jira/browse/SPARK-55965
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 4.2.0
> Reporter: Yicong Huang
> Assignee: Yicong Huang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> PySpark does not yet fully support pandas >= 3.0.0. In particular, pandas 3.0
> defaults future.infer_string to True, which causes string columns to use
> pa.large_string() internally. This can lead to Arrow type mismatches during
> createDataFrame/toPandas round-trips.
> This PR adds a FutureWarning in require_minimum_pandas_version() to notify
> users that pandas >= 3.0.0 is not yet fully supported.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]