hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-16189) Table column stats might be invalidated in a failed table rename
Date Wed, 15 Mar 2017 01:57:41 GMT

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

Chaoyu Tang edited comment on HIVE-16189 at 3/15/17 1:57 AM:
-------------------------------------------------------------

1. Fixed the failed tests.
2. Add a test based on [~pxiong]'s suggestion, the test scenario is as following (see encryption_move_tbl.q):
When renaming a table fails to move its table data from one encryption zone to another due
to EZ incompatibility, table rename fails but its column stats are invalidated. When we describe
formatted table column, we found that all column stats have gone.

[~pxiong] could you review it to see if it makes sense? Thanks.



was (Author: ctang.ma):
1. Fixed the failed tests.
2. Add a test based on [~pxiong]'s suggestion, the test scenario is as following (see encryption_move_tbl.q):
When renaming a table fails to move its table data from one encryption zone to another due
to EZ incompatibility, table rename fails but its column stats are invalidated. When we describe
formatted table column, we found that all column stats have gone.


> Table column stats might be invalidated in a failed table rename
> ----------------------------------------------------------------
>
>                 Key: HIVE-16189
>                 URL: https://issues.apache.org/jira/browse/HIVE-16189
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-16189.1.patch, HIVE-16189.patch
>
>
> If the table rename does not succeed due to its failure in moving the data to the new
renamed table folder, the changes in TAB_COL_STATS are not rolled back which leads to invalid
column stats.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message