spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-13155) add runtime null check when convert catalyst array to external array
Date Wed, 03 Feb 2016 04:41:39 GMT
Wenchen Fan created SPARK-13155:
-----------------------------------

             Summary: add runtime null check when convert catalyst array to external array
                 Key: SPARK-13155
                 URL: https://issues.apache.org/jira/browse/SPARK-13155
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Wenchen Fan


{code}
scala> Seq(("a", Seq(null, new Integer(1)))).toDS().as[(String, Array[Int])].collect()
res5: Array[(String, Array[Int])] = Array((a,Array(0, 1)))
{code}

This is wrong, we should throw exception for this case



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


Mime
View raw message