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 8F629200B9B for ; Wed, 12 Oct 2016 19:53:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DAF6160AD4; Wed, 12 Oct 2016 17:53:59 +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 D6A43160ACA for ; Wed, 12 Oct 2016 19:53:58 +0200 (CEST) Received: (qmail 58398 invoked by uid 500); 12 Oct 2016 17:53:58 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 58383 invoked by uid 99); 12 Oct 2016 17:53:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2016 17:53:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 185281A007D for ; Wed, 12 Oct 2016 17:53:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4SXCaNhRb049 for ; Wed, 12 Oct 2016 17:53:55 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8D4D75FB37 for ; Wed, 12 Oct 2016 17:53:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u9CHrrv9020022; Wed, 12 Oct 2016 17:53:53 GMT Message-Id: <201610121753.u9CHrrv9020022@ip-10-146-233-104.ec2.internal> Date: Wed, 12 Oct 2016 17:53:53 +0000 From: "Matthew Jacobs (Code Review)" To: Alex Behm , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Tim Armstrong Reply-To: mj@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-2789=3A_More_compact_mem_layout_with_null_bits_at_the_end=2E=0A?= X-Gerrit-Change-Id: Ib6510c75d841bddafa6638f1bd2ac6731a7053f6 X-Gerrit-ChangeURL: X-Gerrit-Commit: f01d26645b0a5d9cc8e98b024b19a86542908547 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.2 archived-at: Wed, 12 Oct 2016 17:53:59 -0000 Matthew Jacobs has posted comments on this change. Change subject: IMPALA-2789: More compact mem layout with null bits at the end. ...................................................................... Patch Set 6: Code-Review+1 (2 comments) Thanks! LGTM, just a few comments for the commit msg. I didn't look at the codegen code changes in detail. http://gerrit.cloudera.org:8080/#/c/4673/6//COMMIT_MSG Commit Message: Line 9: The main motivation of this change is to pave the way for full There are 2 main motivations of this change, no? 1) More compact memory layout. 2) Zero copy (or at least avoiding conversions) with Kudu scans... (as you already have here) Line 12: that goal. Can you mention what is left after this? My understanding is that it is (correct me if I'm wrong): 1) planner needs to set null flags for nullable columns 2) kudu scan node can now _copy_ mem, i.e. rip out conversion code 2) kudu client needs to support mem xfer 3) kudu scan node updated to use mem xfer instead of copying (KUDU-1695) -- To view, visit http://gerrit.cloudera.org:8080/4673 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib6510c75d841bddafa6638f1bd2ac6731a7053f6 Gerrit-PatchSet: 6 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Alex Behm Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes