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 2019/09/10 23:10:00 UTC

[jira] [Created] (SPARK-29041) Allow createDataFrame to accept bytes as binary type

Hyukjin Kwon created SPARK-29041:
------------------------------------

             Summary: Allow createDataFrame to accept bytes as binary type
                 Key: SPARK-29041
                 URL: https://issues.apache.org/jira/browse/SPARK-29041
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 2.4.4, 3.0.0
            Reporter: Hyukjin Kwon


```
spark.createDataFrame([[b"abcd"]], "col binary")
```

simply fails. bytes should also be able to accepted as binary type



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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