spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Armbrust (JIRA)" <>
Subject [jira] [Commented] (SPARK-3683) PySpark Hive query generates "NULL" instead of None
Date Tue, 28 Oct 2014 22:08:33 GMT


Michael Armbrust commented on SPARK-3683:

Good find!  [~jamborta] if you can give code that shows Hive does interpret this as null I'd
consider adding it back for compatibility otherwise it seems like this is expected behavior.
 /cc [~liancheng]

> PySpark Hive query generates "NULL" instead of None
> ---------------------------------------------------
>                 Key: SPARK-3683
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message