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-4379: Fix and test Kudu table type checking
Date Fri, 28 Oct 2016 18:33:43 GMT
Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-4379: Fix and test Kudu table type checking

Patch Set 2:

(1 comment)
File testdata/workloads/functional-query/queries/QueryTest/kudu_alter.test:

Line 46: ImpalaRuntimeException: Table 'simple_new' does not represent a Kudu table. Expected
storage_handler 'com.cloudera.kudu.hive.KuduStorageHandler' but found 'foo'
> Agree, I'm inclined to disallow altering storage handlers altogether. Why n
They have weird behavior that I think is bad too.

It doesn't allow you to use ALTER TABLE for any non-native tables.

For native tables, it allows you to set storage_handler, but that will make the table a non-native
table and then it can't be changed or even dropped.

hive> alter table i1740_alter set tblproperties ('storage_handler'='');
Time taken: 0.132 seconds
hive> alter table i1740_alter set tblproperties ('storage_handler'='foo');
FAILED: SemanticException [Error 10134]: ALTER TABLE cannot be used for a non-native table

After this, nothing works on this table. I think I'll have to go to Mysql to drop it.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I475273cbbf4110db8d0f78ddf9a56abfc6221e3e
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Matthew Jacobs <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-HasComments: Yes

View raw message