Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1279F18099 for ; Wed, 3 Feb 2016 04:41:40 +0000 (UTC) Received: (qmail 61575 invoked by uid 500); 3 Feb 2016 04:41:40 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 61552 invoked by uid 500); 3 Feb 2016 04:41:39 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 61539 invoked by uid 99); 3 Feb 2016 04:41:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2016 04:41:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C25D92C044E for ; Wed, 3 Feb 2016 04:41:39 +0000 (UTC) Date: Wed, 3 Feb 2016 04:41:39 +0000 (UTC) From: "Wenchen Fan (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SPARK-13155) add runtime null check when convert catalyst array to external array MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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