wankunde commented on code in PR #38495:
URL: https://github.com/apache/spark/pull/38495#discussion_r1022515184


##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClient.scala:
##########
@@ -127,6 +127,9 @@ private[hive] trait HiveClient {
    */
   def alterTable(dbName: String, tableName: String, table: CatalogTable): Unit
 
+  /** Alter a table stats */
+  def alterTableStats(dbName: String, tableName: String, parameters: 
Map[String, String]): Unit

Review Comment:
   done



##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala:
##########
@@ -609,6 +609,19 @@ private[hive] class HiveClientImpl(
     shim.alterTable(client, qualifiedTableName, hiveTable)
   }
 
+  override def alterTableStats(
+      dbName: String,
+      tableName: String,
+      parameters: Map[String, String]): Unit = withHiveState {
+    val hiveTable =
+      getRawTableOption(dbName, tableName).getOrElse(

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to