tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-475) Table partition catalog recap
Date Wed, 15 Jan 2014 05:18:19 GMT

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

Min Zhou commented on TAJO-475:
-------------------------------

[~hyunsik] [~jihoonson]

Please notice that I add a verification in LogicalPlanVerifier.java.  Previously user can
create partitioned table like this way
{noformat}
CREATE TABLE (foo int, bar string) PARTITION BY COLUMN( another_col int);
{noformat}

This verifier will forbid that kind of sql, because as an offline discussion with Hyunsik.
The partitioned condition will support expression as well. Furthermore, only column partitioned
table support virtual column. If we continue to support hash/range/list partition, I think
we should add this verification.

> Table partition catalog recap
> -----------------------------
>
>                 Key: TAJO-475
>                 URL: https://issues.apache.org/jira/browse/TAJO-475
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: catalog
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>         Attachments: tajo-475-v2.patch, tajo-475-v3.patch, tajo-475-v4.patch, tajo-475.diff
>
>
> Query master need to know where partitions of memory cached table locate. 
> At least we need a meta table contain such information
> |partition_id|
> |partition_value|
> |ordinal_position|
> |locations|
> Any suggestion?
>  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message