spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davies Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3683) PySpark Hive query generates "NULL" instead of None
Date Mon, 27 Oct 2014 23:24:34 GMT

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

Davies Liu commented on SPARK-3683:
-----------------------------------

[~jamborta] Could you show some code to reproduce it?

[~marmbrus] I think this also happens in Scala, we did not do data conversion for StringType,
it should be `NULL` in Spark SQL/Scala also.

> PySpark Hive query generates "NULL" instead of None
> ---------------------------------------------------
>
>                 Key: SPARK-3683
>                 URL: https://issues.apache.org/jira/browse/SPARK-3683
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>    Affects Versions: 1.1.0
>            Reporter: Tamas Jambor
>            Assignee: Davies Liu
>
> When I run a Hive query in Spark SQL, I get the new Row object, where it does not convert
Hive NULL into Python None instead it keeps it string 'NULL'. 
> It's only an issue with String type, works with other types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message