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 <dtsirogian...@cloudera.com> Gerrit-Reviewer: Alex Behm <alex.b...@cloudera.com> Gerrit-Reviewer: Dimitris Tsirogiannis <dtsirogian...@cloudera.com> Gerrit-Reviewer: Matthew Jacobs <m...@cloudera.com> Gerrit-HasComments: Yes