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 1CF7D200CF6 for ; Mon, 18 Sep 2017 10:28:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1B7611609DB; Mon, 18 Sep 2017 08:28:51 +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 581741609D8 for ; Mon, 18 Sep 2017 10:28:50 +0200 (CEST) Received: (qmail 95963 invoked by uid 500); 18 Sep 2017 08:28:49 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 95948 invoked by uid 99); 18 Sep 2017 08:28:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2017 08:28:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 179A7F3280; Mon, 18 Sep 2017 08:28:49 +0000 (UTC) From: cloud-fan To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request #18704: [SPARK-20783][SQL] Create ColumnVector to abstrac... Content-Type: text/plain Message-Id: <20170918082849.179A7F3280@git1-us-west.apache.org> Date: Mon, 18 Sep 2017 08:28:49 +0000 (UTC) archived-at: Mon, 18 Sep 2017 08:28:51 -0000 Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/18704#discussion_r139361487 --- Diff: sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/WritableColumnVector.java --- @@ -147,6 +147,11 @@ private void throwUnsupportedException(int requiredCapacity, Throwable cause) { public abstract void putShorts(int rowId, int count, short[] src, int srcIndex); /** + * Sets values from [rowId, rowId + count) to [src[srcIndex], src[srcIndex + count]) --- End diff -- let's update them in this PR. BTW `WritableColumnVector` may be exposed to end users, so that they can build columnar batch to data source v2 columnar scan, so the document is very important. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org