You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashish Sharma (Jira)" <ji...@apache.org> on 2020/09/30 13:08:00 UTC

[jira] [Assigned] (HIVE-24214) Reduce alter_table() function overloading in metastore

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

Ashish Sharma reassigned HIVE-24214:
------------------------------------


> Reduce alter_table() function overloading in metastore
> ------------------------------------------------------
>
>                 Key: HIVE-24214
>                 URL: https://issues.apache.org/jira/browse/HIVE-24214
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Ashish Sharma
>            Assignee: Ashish Sharma
>            Priority: Minor
>
> Reduce following overloading method to less number of methods
> void alter_table(String catName, String dbName, String tblName, Table newTable,
>                   EnvironmentContext envContext)
>       throws InvalidOperationException, MetaException, TException;
> default void alter_table(String catName, String dbName, String tblName, Table newTable)
>       throws InvalidOperationException, MetaException, TException {
>     alter_table(catName, dbName, tblName, newTable, null);
>   }      
> @Deprecated
>   void alter_table(String defaultDatabaseName, String tblName, Table table,
>       boolean cascade) throws InvalidOperationException, MetaException, TException;
> @Deprecated
>   void alter_table_with_environmentContext(String databaseName, String tblName, Table table,
>       EnvironmentContext environmentContext) throws InvalidOperationException, MetaException,
>       TException;
>   void alter_table(String catName, String databaseName, String tblName, Table table,
>       EnvironmentContext environmentContext, String validWriteIdList)
>           throws InvalidOperationException, MetaException, TException;        



--
This message was sent by Atlassian Jira
(v8.3.4#803005)