alismess-db commented on a change in pull request #28963:
URL: https://github.com/apache/spark/pull/28963#discussion_r454954542
##########
File path:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkOperation.scala
##########
@@ -93,4 +93,16 @@ private[hive] trait SparkOperation extends Operation with
Logging {
case t =>
throw new IllegalArgumentException(s"Unknown table type is found: $t")
}
+
+ protected def onError(): PartialFunction[Throwable, Unit] = {
+ case e: Throwable =>
+ logError(s"Error executing get catalogs operation with $statementId", e)
Review comment:
This error message still refers to "get catalogs" but is logged for
every type of operation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]