Skip to content

Commit efa70b8

Browse files
yaooqinncloud-fan
authored andcommitted
[SPARK-32145][SQL][FOLLOWUP] Fix type in the error log of SparkOperation
### What changes were proposed in this pull request? Fix typo error in the error log of SparkOperation trait, reported by apache#28963 (comment) ### Why are the changes needed? fix error in thrift server driver log ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Passing GitHub actions Closes apache#29140 from yaooqinn/SPARK-32145-F. Authored-by: Kent Yao <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
1 parent ea9e8f3 commit efa70b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkOperation.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private[hive] trait SparkOperation extends Operation with Logging {
9696

9797
protected def onError(): PartialFunction[Throwable, Unit] = {
9898
case e: Throwable =>
99-
logError(s"Error executing get catalogs operation with $statementId", e)
99+
logError(s"Error operating $getType with $statementId", e)
100100
super.setState(OperationState.ERROR)
101101
HiveThriftServer2.eventManager.onStatementError(
102102
statementId, e.getMessage, Utils.exceptionString(e))

0 commit comments

Comments
 (0)