[ 
https://issues.apache.org/jira/browse/SPARK-13056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Imran Rashid resolved SPARK-13056.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.6.1

[~marmbrus] [~adrian-wang] Looks like the jira wasn't updated when this was 
merged, I'm doing it manually now -- please update if I've made a mistake.

Issue Resolved by pull request 10964
https://github.com/apache/spark/pull/10964

> Map column would throw NPE if value is null
> -------------------------------------------
>
>                 Key: SPARK-13056
>                 URL: https://issues.apache.org/jira/browse/SPARK-13056
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Adrian Wang
>             Fix For: 1.6.1, 2.0.0
>
>
> Create a map like
> { "a": "somestring",
>   "b": null}
> Query like
> SELECT col["b"] FROM t1;
> NPE would be thrown.



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