[ 
https://issues.apache.org/jira/browse/SPARK-23446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366686#comment-16366686
 ] 

Apache Spark commented on SPARK-23446:
--------------------------------------

User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/20625

> Explicitly check supported types in toPandas
> --------------------------------------------
>
>                 Key: SPARK-23446
>                 URL: https://issues.apache.org/jira/browse/SPARK-23446
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>
> See:
> {code}
> spark.conf.set("spark.sql.execution.arrow.enabled", "false")
> df = spark.createDataFrame([[bytearray("a")]])
> df.toPandas()
> spark.conf.set("spark.sql.execution.arrow.enabled", "true")
> df.toPandas()
> {code}
> {code}
>      _1
> 0  [97]
>   _1
> 0  a
> {code}
> We didn't finish binary type in Arrow conversion at Python side. We should 
> disallow it.
> Same thine applies to nested timestamps. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to