You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Hubert Zhang (JIRA)" <ji...@apache.org> on 2016/08/30 03:21:20 UTC

[jira] [Assigned] (HAWQ-1032) Bucket number of new added partition is not consistent with parent table.

     [ https://issues.apache.org/jira/browse/HAWQ-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hubert Zhang reassigned HAWQ-1032:
----------------------------------

    Assignee: Hubert Zhang  (was: Lei Chang)

> 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: Hubert Zhang
>
> 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)