You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/25 04:32:18 UTC

[jira] [Commented] (HAWQ-455) Disable creating partition tables with non uniform bucket schema

    [ https://issues.apache.org/jira/browse/HAWQ-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166669#comment-15166669 ] 

ASF GitHub Bot commented on HAWQ-455:
-------------------------------------

GitHub user hsyuan opened a pull request:

    https://github.com/apache/incubator-hawq/pull/387

    HAWQ-455. Disable creating partition tables with non uniform bucket schema

    HAWQ user should not be able to create partition tables with non uniform bucket schema so that don't make orca trip up when it queries across a single partition. Or else the user should see an error message. The PR disallows such DDL for creating partition tables with non uniform bucket number:
    create table, create table ... inherit, alter table ... add partition
    
    @vraghavan78 @xinzweb @oarap @changleicn Please take a look.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsyuan/incubator-hawq bucketnum

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/387.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 #387
    
----
commit af79da5a49b1097f9e2c31672cce884eab481ae3
Author: Haisheng Yuan <hy...@pivotal.io>
Date:   2016-02-22T20:13:40Z

    Disallow creation of partition tables with child partitions having different bucketnum

commit 6e37b658829c80758984975f153b39d27689b6cc
Author: Haisheng Yuan <hy...@pivotal.io>
Date:   2016-02-22T23:06:56Z

    Remove duplicate bucketnum check

commit 740e465a74e2e6db8518333cbe415706caac1273
Author: Haisheng Yuan <hy...@pivotal.io>
Date:   2016-02-25T02:47:37Z

    Update non-uniform bucketnum check and add test cases

----


> Disable creating partition tables with non uniform bucket schema 
> -----------------------------------------------------------------
>
>                 Key: HAWQ-455
>                 URL: https://issues.apache.org/jira/browse/HAWQ-455
>             Project: Apache HAWQ
>          Issue Type: Improvement
>          Components: DDL
>            Reporter: Haisheng Yuan
>            Assignee: Lei Chang
>
> HAWQ user should not be able to create partition tables with non uniform bucket schema so that don't make orca trip up when it queries across a single partition. Or else the user should see an error message.



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