Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1032

Bucket number of newly added partition is not consistent with parent table.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0.0-incubating
    • Core
    • None

    Description

      Failure Case

      set deafult_hash_table_bucket_number = 12;
      CREATE TABLE sales3 (id int, date date, amt decimal(10,2))         DISTRIBUTED BY (id)                                                           PARTITION BY RANGE (date)                                                     ( START (date '2008-01-01') INCLUSIVE                                            END (date '2009-01-01') EXCLUSIVE                                             EVERY (INTERVAL '1 day') );
      
      set default_hash_table_bucket_number = 16;
      ALTER TABLE sales3 ADD PARTITION                                   START (date '2009-03-01') INCLUSIVE                                           END (date '2009-04-01') EXCLUSIVE;
      

      The newly added partition with buckcet number 16 is not consistent with parent partition.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            hubertzhang Hubert Zhang
            hubertzhang Hubert Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: