You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/02/16 17:43:00 UTC
[jira] [Resolved] (SPARK-23446) Explicitly check supported types in
toPandas
[ https://issues.apache.org/jira/browse/SPARK-23446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-23446.
-----------------------------
Resolution: Fixed
Assignee: Hyukjin Kwon
Fix Version/s: 2.3.0
> 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
> Assignee: Hyukjin Kwon
> Priority: Major
> Fix For: 2.3.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org