Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 877EA200B42 for ; Sun, 26 Jun 2016 07:57:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 861EF160A67; Sun, 26 Jun 2016 05:57:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 05F83160A6B for ; Sun, 26 Jun 2016 07:57:34 +0200 (CEST) Received: (qmail 94814 invoked by uid 500); 26 Jun 2016 05:57:34 -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 94688 invoked by uid 99); 26 Jun 2016 05:57:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 05:57:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5FF1E2C1F60 for ; Sun, 26 Jun 2016 05:57:33 +0000 (UTC) Date: Sun, 26 Jun 2016 05:57:33 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-16215) Reduce runtime overhead of a program that writes an primitive array in Dataframe/Dataset MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 26 Jun 2016 05:57:35 -0000 [ https://issues.apache.org/jira/browse/SPARK-16215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-16215: ------------------------------------ Assignee: (was: Apache Spark) > Reduce runtime overhead of a program that writes an primitive array in Dataframe/Dataset > ---------------------------------------------------------------------------------------- > > Key: SPARK-16215 > URL: https://issues.apache.org/jira/browse/SPARK-16215 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Kazuaki Ishizaki > > When we run a program that writes an primitive array in Dataframe/Dataset, generated code for projection performs null check and element-based data copy. We can alleviate overhead of these operations by generating better code. > A target program > {code} > val df = sparkContext.parallelize(Seq(0.0d, 1.0d), 1).toDF > df.selectExpr("Array(value + 1.1d, value + 2.2d)").collect > {code} -- 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