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

Cheng Lian commented on SPARK-3683:
-----------------------------------

[~davies] I removed this special case for "NULL" because in this way we have no 
way to represent the literal string {{"NULL"}}. Maybe I was wrong here, 
validating Hive behavior in this case.

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

Reply via email to