You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/02 13:02:00 UTC
[jira] [Updated] (KUDU-1709) Improve error messages during table
creation
[ https://issues.apache.org/jira/browse/KUDU-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Henke updated KUDU-1709:
------------------------------
Labels: trivial (was: )
> Improve error messages during table creation
> --------------------------------------------
>
> Key: KUDU-1709
> URL: https://issues.apache.org/jira/browse/KUDU-1709
> Project: Kudu
> Issue Type: Bug
> Components: impala
> Affects Versions: 1.0.1
> Reporter: Dimitris Tsirogiannis
> Priority: Minor
> Labels: trivial
>
> In some cases the error messages returned from the Java client after a call to createTable() are not particularly user friendly. For example, running the following statement from Impala results in the following error:
> {code}
> impala>create table foo (x int, y int, primary key(y)) distribute by hash (y) into 3 buckets stored as kudu;
> impala>NonRecoverableException: Got out-of-order key column: name: "y" type: INT32 is_key: true isnullable: false cfile_block_size: 0
> {code}
> Other cases where the messages could be improved are:
> * Setting number of hash buckets to 1: error doesn't indicate which is the problematic HASH distribute by param
> * Using the same column in multiple HASH distribute by params: "hash bucket schema components must not contain columns in common".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)