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 31666200BB3 for ; Wed, 2 Nov 2016 23:30:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 301A3160AFB; Wed, 2 Nov 2016 22:30:44 +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 78626160AF0 for ; Wed, 2 Nov 2016 23:30:43 +0100 (CET) Received: (qmail 26468 invoked by uid 500); 2 Nov 2016 22:30:42 -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 26450 invoked by uid 99); 2 Nov 2016 22:30:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 22:30:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B8274C07CC for ; Wed, 2 Nov 2016 22:30:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6P8qq09XWknE for ; Wed, 2 Nov 2016 22:30:39 +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-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 87C325FB04 for ; Wed, 2 Nov 2016 22:30:39 +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 uA2MUWlp014434; Wed, 2 Nov 2016 22:30:32 GMT Message-Id: <201611022230.uA2MUWlp014434@ip-10-146-233-104.ec2.internal> Date: Wed, 2 Nov 2016 22:30:32 +0000 From: "Matthew Jacobs (Code Review)" To: Dimitris Tsirogiannis , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Alex Behm Reply-To: mj@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3724=3A_Support_Kudu_non-covering_range_partitions=0A?= X-Gerrit-Change-Id: I6799c01a37003f0f4c068d911a13e3f060110a06 X-Gerrit-ChangeURL: X-Gerrit-Commit: 42bb6ca6ec1a2188ea2357b2cd5515aaaf4d2838 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, 02 Nov 2016 22:30:44 -0000 Matthew Jacobs has posted comments on this change. Change subject: IMPALA-3724: Support Kudu non-covering range partitions ...................................................................... Patch Set 3: (2 comments) http://gerrit.cloudera.org:8080/#/c/4856/3/testdata/workloads/functional-query/queries/QueryTest/kudu_create.test File testdata/workloads/functional-query/queries/QueryTest/kudu_create.test: PS3, Line 82: create table tab (a int primary key) distributed by range (a) (partition value = false) : stored as kudu : ---- CATCH : ImpalaRuntimeException: Expected 'int32' literal for column 'a' got 'BOOLEAN' > Well the checks in the analysis allow this case because boolean is implicit hm... I would have imagined that the constant evaluation during analysis (e.g. that would evaluate 1+1) returns the expected type? http://gerrit.cloudera.org:8080/#/c/4856/3/testdata/workloads/functional-query/queries/QueryTest/kudu_crud.test File testdata/workloads/functional-query/queries/QueryTest/kudu_crud.test: > Matt this is a not a valid partition syntax. You can't have multiple-column oh, that's a relief, I didn't realize we had simplified what we're supporting. The comment about covering all supported key types still holds though, we should have tables somewhere that are created with the various types we support and make sure the plumbing all goes through to Kudu. I think it's fine if there are already create table statements somewhere else that exercise those types w/ range partitions, but I think we should have something that creates range partitions w/ TINYINT, SMALLINT, BIGINT. Having something that exercises the combination hash + range partitioning is also still relevant. -- To view, visit http://gerrit.cloudera.org:8080/4856 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6799c01a37003f0f4c068d911a13e3f060110a06 Gerrit-PatchSet: 3 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Dimitris Tsirogiannis Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Matthew Jacobs Gerrit-HasComments: Yes