hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4095) Add exchange partition in Hive
Date Mon, 12 Dec 2016 02:20:58 GMT

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

Lefty Leverenz commented on HIVE-4095:
--------------------------------------

[~erwaman] has updated the Exchange Partition page of the wiki to show this syntax:

{code}
ALTER TABLE <dest_table> EXCHANGE PARTITION (<[partial] partition spec>) WITH
TABLE <src_table>
{code}

Does this reflect the HIVE-6129 syntax in 0.13.0 (one release after this issue)?

The DDL doc's Exchange Partition section currently gives table_name_1 as the first table in
the ALTER TABLE syntax but doesn't say which table is source.  This is confusing because the
other doc's examples have T1 for source (first table created) and T2 for destination, so the
syntax is ALTER TABLE T2 ... unlike the DDL doc.

I suggest clarifying source and destination in the DDL doc, and adding release information
about HIVE-6129.

* [Exchange Partition | https://cwiki.apache.org/confluence/display/Hive/Exchange+Partition]
* [DDL -- Exchange Partition | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ExchangePartition]

Thanks for the update, Anthony.

> Add exchange partition in Hive
> ------------------------------
>
>                 Key: HIVE-4095
>                 URL: https://issues.apache.org/jira/browse/HIVE-4095
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Dheeraj Kumar Singh
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4095.D10155.1.patch, HIVE-4095.D10155.2.patch, HIVE-4095.D10347.1.patch,
HIVE-4095.part11.patch.txt, HIVE-4095.part12.patch.txt, hive.4095.1.patch, hive.4095.refresh.patch,
hive.4095.svn.thrift.patch, hive.4095.svn.thrift.patch.refresh
>
>




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

Mime
View raw message