GitHub user zhangh43 opened a pull request:
https://github.com/apache/incubator-hawq/pull/881
HAWQ-1032. Bucket number of new added partition is not consistent witâ¦
â¦h parent table.
Failure Case
{code}
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;
{code}
The newly added partition with buckcet number 16 is not consistent with
parent partition.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhangh43/incubator-hawq hawq1032
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/881.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #881
commit 2b1124d44917c2955652fe4e7583f4e9d855897b
Author: hzhang2
Date: 2016-09-01T01:33:58Z
HAWQ-1032. Bucket number of new added partition is not consistent with
parent table.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---