[ 
https://issues.apache.org/jira/browse/SPARK-40645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-40645:
---------------------------------
    Labels: zzz_temp  (was: )

> Throw exception for Collect() and recommend to use toPandas()
> -------------------------------------------------------------
>
>                 Key: SPARK-40645
>                 URL: https://issues.apache.org/jira/browse/SPARK-40645
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect
>    Affects Versions: 3.4.0
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>              Labels: zzz_temp
>             Fix For: 3.4.0
>
>
> Current connect `Collect()` return Pandas DataFrame, which does not match 
> with PySpark DataFrame API: 
> https://github.com/apache/spark/blob/ceb8527413288b4d5c54d3afd76d00c9e26817a1/python/pyspark/sql/connect/data_frame.py#L227.
> The underlying implementation has been generating Pandas DataFrame though. In 
> this case, we can choose to use to `toPandas()` and throw exception for 
> `Collect()`. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to