spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roncenzhao (JIRA)" <>
Subject [jira] [Created] (SPARK-20017) Functions "str_to_map" and "explode" throws NPE exceptioin
Date Sun, 19 Mar 2017 13:39:41 GMT
roncenzhao created SPARK-20017:

             Summary: Functions "str_to_map" and "explode" throws NPE exceptioin
                 Key: SPARK-20017
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: roncenzhao

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

The sql throws NPE exception.

This message was sent by Atlassian JIRA

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

View raw message