You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/02/16 07:46:02 UTC

[jira] [Created] (SPARK-23446) Explicitly specify supported types in toPandas

Hyukjin Kwon created SPARK-23446:
------------------------------------

             Summary: Explicitly specify 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


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