[
https://issues.apache.org/jira/browse/TAJO-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267349#comment-14267349
]
ASF GitHub Bot commented on TAJO-1260:
--------------------------------------
GitHub user blrunner opened a pull request:
https://github.com/apache/tajo/pull/335
TAJO-1260: Add ALTER TABLE ADD/DROP PARTITION statement to parser
I plan to implement ALTER TABLE ADD/DROP PARTITION statement stage by
stage. For the first time, I'll add the statement to parser.
* Syntax
ALTER TABLE table_name [IF NOT EXISTS] ADD PARTITION (key1 = 'val2', key2 =
'val2', ...) [LOCATION 'partition_path_of_directory'];
ALTER TABLE table_name [IF NOT EXISTS] DROP PARTITION (key1 = 'val2', key2
= 'val2', ...);
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blrunner/tajo TAJO-1260
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/335.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 #335
----
commit ead3c99954ba417852085221bd3b2a2680893be5
Author: JaeHwa Jung <[email protected]>
Date: 2015-01-07T07:14:34Z
TAJO-1260: Add ALTER TABLE ADD/DROP PARTITION statement to parser
----
> Add ALTER TABLE ADD/DROP PARTITION statement to parser
> ------------------------------------------------------
>
> Key: TAJO-1260
> URL: https://issues.apache.org/jira/browse/TAJO-1260
> Project: Tajo
> Issue Type: Sub-task
> Components: parser
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
>
> I plan to implement ALTER TABLE ADD/DROP PARTITION statement stage by stage.
> For the first time, I'll add the statement to parser.
> {code:title=Syntax|borderStyle=solid}
> ALTER TABLE table_name [IF NOT EXISTS] ADD PARTITION (key1 = 'val2', key2 =
> 'val2', ...) [LOCATION 'partition_path_of_directory'];
> ALTER TABLE table_name [IF NOT EXISTS] DROP PARTITION (key1 = 'val2', key2 =
> 'val2', ...)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)