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

Reply via email to