You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/15 09:51:05 UTC

[jira] [Commented] (TAJO-1891) Allow arbitrary partition path

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

ASF GitHub Bot commented on TAJO-1891:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/827

    TAJO-1891: Allow arbitrary partition path

    This patch includes following changes:
    - Add the list of PartitionDescProto to PartitionedTableScanNode
    - Implement a method to build tuple using PartitionDescProto
    - Restore alter table add partition statement
    - Fix bugs about handling arbitrary partition path
    - Add unit test cases

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

    $ git pull https://github.com/blrunner/tajo TAJO-1891

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

    https://github.com/apache/tajo/pull/827.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 #827
    
----
commit f10864b95e99d55fea580e369a1c0d7df0758ecb
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-14T01:30:46Z

    Add list of partitions to LogicalNode

commit fa0e8011c9bd13edfd5c026b53f3471bf551c278
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-14T02:18:56Z

    Get a partition key value from a PartitionDescProto

commit 35d13e7ff43778c92e389b383eb44f99b8d3dcc7
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-15T05:35:48Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into TAJO-1891

commit 78c4f5262eb803d54f8256c5f54f2e63f641b793
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-15T05:50:21Z

    Add unit test cases (commented out)

commit 137f6f223d41c4b6a794a0a6187c3cbce4d7c070
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-15T06:12:44Z

    Restore alter table add partition

commit 8ebe368009af74ac6ae304265d6586d2dee893ab
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-10-15T07:38:34Z

    Fix bugs and add unit test cases for arbitrary partition path

----


> Allow arbitrary partition path
> ------------------------------
>
>                 Key: TAJO-1891
>                 URL: https://issues.apache.org/jira/browse/TAJO-1891
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: Physical Operator, Planner/Optimizer
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>             Fix For: 0.12.0, 0.11.1
>
>
> Currently, Tajo just allow well-defined partition path which includes all partition columns because rewriter builds basic tuple for scanning data files using partition path. So, if users data already exist on arbitrary partition path, they should move their partitions to other directories. It seems a very inefficient way and we need to allow arbitrary partition path.



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