[ 
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.1.patch

kevinwilfong requested code review of "HIVE-2825 [jira] Concatenating a 
partition does not inherit location from table".
Reviewers: JIRA

  https://issues.apache.org/jira/browse/HIVE-2825

  When merging a partition the location is recreated using the scheme and 
authority of the table's URI, so if the table's default dfs has changed, the 
partition's location will as well.  As part of this I noticed that the auto 
stats gather configuration variable was being ignored for merge, so I added 
this as well.

  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.

TEST PLAN
  EMPTY

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

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/4251/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> 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
>
>
> 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