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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to