Description
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".