spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-20017) Functions "str_to_map" and "explode" throws NPE exceptioin
Date Tue, 21 Mar 2017 18:35:41 GMT

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

Xiao Li updated SPARK-20017:
----------------------------
    Labels:   (was: correctness)

> Functions "str_to_map" and "explode" throws NPE exceptioin
> ----------------------------------------------------------
>
>                 Key: SPARK-20017
>                 URL: https://issues.apache.org/jira/browse/SPARK-20017
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: roncenzhao
>            Assignee: roncenzhao
>             Fix For: 2.1.1, 2.2.0
>
>         Attachments: screenshot-1.png
>
>
> ```
> val sqlDf = spark.sql("select k,v from (select str_to_map('') as map_col from range(2))
tbl lateral view explode(map_col) as k,v")
> sqlDf.show
> ```
> The sql throws NPE exception.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message