[ 
https://issues.apache.org/jira/browse/HIVE-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2825:
------------------------------

    Attachment: HIVE-2825.D1995.2.patch

kevinwilfong updated the revision "HIVE-2825 [jira] Concatenating a partition 
does not inherit location from table".
Reviewers: JIRA, njain

  Added a test to verify that when the scheme for the table is changed, 
concatenating a partition changes the scheme for the partition as well.  It 
uses a hook because the location is masked in the output files.

REVISION DETAIL
  https://reviews.facebook.net/D1995

AFFECTED FILES
  ql/src/test/results/clientpositive/concatenate_inherit_table_location.q.out
  
ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyPartitionIsSubdirectoryOfTableHook.java
  ql/src/test/queries/clientpositive/concatenate_inherit_table_location.q
  ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java

                
> Concatenating a partition does not inherit location from table
> --------------------------------------------------------------
>
>                 Key: HIVE-2825
>                 URL: https://issues.apache.org/jira/browse/HIVE-2825
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2825.D1995.1.patch, HIVE-2825.D1995.2.patch
>
>
> When a table is created in one dfs, a partition is added to that table, the 
> table's dfs is changed, and the partitioned is concatenated, the partitions 
> location remains exactly the same.  Instead, it should inherit its location 
> from the table, and be updated accordingly.
> See https://issues.apache.org/jira/browse/HIVE-1707 for an analogous change 
> to insert overwrite.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to