You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dimitris Tsirogiannis (JIRA)" <ji...@apache.org> on 2016/10/18 17:20:58 UTC

[jira] [Created] (KUDU-1709) Improve error messages during table creation

Dimitris Tsirogiannis created KUDU-1709:
-------------------------------------------

             Summary: 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


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
(v6.3.4#6332)