juliuszsompolski commented on a change in pull request #30390:
URL: https://github.com/apache/spark/pull/30390#discussion_r525928647
##########
File path:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -126,6 +126,17 @@ private[hive] class SparkExecuteStatementOperation(
}
def getNextRowSet(order: FetchOrientation, maxRowsL: Long): RowSet =
withLocalProperties {
+ try {
+ sqlContext.sparkContext.setJobGroup(statementId, statement)
Review comment:
minor: in `execute` substitutorStatement is used as a description of the
jobgroup. Maybe pull out substitutorStatement to be a class field and use it
here as well?
----------------------------------------------------------------
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]