impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3724: Support Kudu non-covering range partitions
Date Wed, 02 Nov 2016 22:30:32 GMT
Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-3724: Support Kudu non-covering range partitions

Patch Set 3:

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?
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
To unsubscribe, visit

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

View raw message