Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1709

Improve error messages during table creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.1
    • None
    • impala

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dtsirogiannis Dimitris Tsirogiannis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: