Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19086#discussion_r136252314
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClient.scala ---
@@ -95,6 +95,9 @@ private[hive] trait HiveClient {
/** Updates the given table with new metadata, optionally renaming the
table. */
def alterTable(tableName: String, table: CatalogTable): Unit
+ /** Updates the give table in database with new metadata, optionally
renaming the table. */
+ def alterDbTable(dbName: String, tableName: String, table:
CatalogTable): Unit
--- End diff --
Keep using `alterTable` instead of introducing a new one?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]