yaooqinn commented on a change in pull request #28963:
URL: https://github.com/apache/spark/pull/28963#discussion_r449421416
##########
File path:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -315,16 +311,11 @@ private[hive] class SparkExecuteStatementOperation(
} else {
logError(s"Error executing query with $statementId, currentState
$currentState, ", e)
setState(OperationState.ERROR)
+ HiveThriftServer2.eventManager.onStatementError(
+ statementId, e.getMessage, SparkUtils.exceptionString(e))
e match {
- case hiveException: HiveSQLException =>
- HiveThriftServer2.eventManager.onStatementError(
Review comment:
https://github.com/apache/spark/pull/28963/files#diff-424526b50bfb53733a4c2e6c6a3ddd8dR101
it's here
----------------------------------------------------------------
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]