spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24358) createDataFrame in Python should be able to infer bytes type as Binary type
Date Wed, 23 May 2018 01:35:00 GMT

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

Hyukjin Kwon commented on SPARK-24358:
--------------------------------------

? do you mean bytes in Python 2? that's an alias for str, isn't it?

> createDataFrame in Python should be able to infer bytes type as Binary type
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-24358
>                 URL: https://issues.apache.org/jira/browse/SPARK-24358
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Joel Croteau
>            Priority: Minor
>
> createDataFrame can infer Python's bytearray type as a Binary. Since bytes is just the
immutable, hashable version of this same structure, it makes sense for the same thing to apply
there.



--
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


Mime
View raw message