[
https://issues.apache.org/jira/browse/HIVE-24447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315808#comment-17315808
]
Naveen Gangam commented on HIVE-24447:
--------------------------------------
As part of the initial commit, IDataConnectorProvider interface also defines
the following methods. The implementation is left to the discretion of the
connector providers. The JDBC-based providers currently do not support these
operations. They will throw exceptions that these operations are not supported.
{noformat}
/**
* Creates a table with the given name in the remote data source. Conversion
between hive data types
* and native data types is handled by the provider.
* @param table A Hive table object to translate and create in remote data
source.
* @return boolean True if the operation succeeded or false otherwise
* @throws MetaException To indicate any failures in executing this operation.
*/
boolean createTable(Table table) throws MetaException;
/**
* Drop an existing table with the given name in the remote data source.
* @param tableName Table name to drop from the remote data source.
* @return boolean True if the operation succeeded or false otherwise
* @throws MetaException To indicate any failures in executing this operation.
*/
boolean dropTable(String tableName) throws MetaException;
/**
* Alter an existing table in the remote data source.
* @param tableName Table name to alter in the remote datasource.
* @param newTable New Table object to modify the existing table with.
* @return boolean True if the operation succeeded or false otherwise.
* @throws MetaException To indicate any failures in executing this operation.
*/
boolean alterTable(String tableName, Table newTable) throws MetaException;
{noformat}
> Move create/drop/alter table to the provider interface
> ------------------------------------------------------
>
> Key: HIVE-24447
> URL: https://issues.apache.org/jira/browse/HIVE-24447
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Affects Versions: 4.0.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Major
>
> The support for such operations on a table in a REMOTE database will be left
> to the discretion of the providers to support/implement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)