You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2022/12/14 15:40:00 UTC

[jira] [Commented] (HIVE-22826) ALTER TABLE RENAME COLUMN doesn't update list of bucketed column names

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

Ayush Saxena commented on HIVE-22826:
-------------------------------------

FYI. The test introduced doesn't have {{@Test}} annotation on its top.
https://github.com/apache/hive/pull/1528/files#diff-120e8efba348e9a8c233de4135cdcc4aaeb6bc0fe2540d9d952554af2c05fdecR3431-R3435

>  ALTER TABLE RENAME COLUMN doesn't update list of bucketed column names
> -----------------------------------------------------------------------
>
>                 Key: HIVE-22826
>                 URL: https://issues.apache.org/jira/browse/HIVE-22826
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 4.0.0
>            Reporter: Karen Coppage
>            Assignee: Ashish Sharma
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1
>
>         Attachments: unitTest.patch
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Compaction for tables where a bucketed column has been renamed fails since the list of bucketed columns in the StorageDescriptor doesn't get updated when the column is renamed, therefore we can't recreate the table correctly during compaction.
> Attached a unit test that fails.
> NO PRECOMMIT TESTS



--
This message was sent by Atlassian Jira
(v8.20.10#820010)