Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11254

Create Kudu table with hash + range partitions fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Impala 4.0.0
    • None
    • Frontend
    • None
    • ghx-label-1

    Description

      The below query fails -

      CREATE TABLE lsr (
      end_time TIMESTAMP,
      uuid String,
      start_m_tmsi bigint,
      start_time TIMESTAMP,
      duration TIMESTAMP,
      partition_date date,
      PRIMARY KEY(end_time, uuid) 
      ) 
      PARTITION BY RANGE (end_time)
      (
      PARTITION VALUES < '2011-09-01',
      PARTITION '2011-09-01' <= VALUES < '2011-10-01',
      PARTITION '2011-10-01' <= VALUES < '2011-11-01',
      PARTITION '2011-11-01' <= VALUES
      ), 
      HASH (uuid) PARTITIONS 5
      STORED AS KUDU ;
       

      If you swap the order of range and hash partitions, it works.

      Attachments

        Activity

          People

            Unassigned Unassigned
            myloginid@gmail.com Manish Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: