You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/01/28 06:51:39 UTC

[jira] [Commented] (SPARK-13056) Map column would throw NPE if value is null

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

Apache Spark commented on SPARK-13056:
--------------------------------------

User 'adrian-wang' has created a pull request for this issue:
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
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org