Hubert Zhang created HAWQ-1032:
----------------------------------

             Summary: Bucket number of new added partition is not consistent 
with parent table.
                 Key: HAWQ-1032
                 URL: https://issues.apache.org/jira/browse/HAWQ-1032
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Core
            Reporter: Hubert Zhang
            Assignee: Lei Chang


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 deafult_hash_table_bucket_number = 16;
ALTER TABLE sales3 ADD PARTITION                                   START (date 
'2009-03-01') INCLUSIVE                                           END (date 
'2009-04-01') EXCLUSIVE;

The new added partition with bukcet number 16 which is not consistent with 
parent partition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to