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

Sai Hemanth Gantasala reassigned HIVE-28074:
--------------------------------------------

    Assignee: Sai Hemanth Gantasala

> Normalize db/table name in the alter table operation in HMS
> -----------------------------------------------------------
>
>                 Key: HIVE-28074
>                 URL: https://issues.apache.org/jira/browse/HIVE-28074
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>
> Normalize db/table names in alter table event in the HMS.
> In create_table_core(), we do the following
> {code:java}
> tbl.setDbName(normalizeIdentifier(tbl.getDbName()));
> tbl.setTableName(normalizeIdentifier(tbl.getTableName())); {code}
> But in the alter_table, we are just taking case insensititive names and 
> firing the alter_table event
> {code:java}
> firePreEvent(new PreAlterTableEvent(oldt, newTable, this)); {code}
> As a result, event consumers of HMS like Impala would face issues with the 
> case insensitive names while consuming events.



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

Reply via email to