panbingkun commented on code in PR #46986:
URL: https://github.com/apache/spark/pull/46986#discussion_r1650286611
##########
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkGetFunctionsOperation.scala:
##########
@@ -51,9 +51,11 @@ private[hive] class SparkGetFunctionsOperation(
override def runInternal(): Unit = {
// Do not change cmdStr. It's used for Hive auditing and authorization.
- val cmdStr = s"catalog : $catalogName, schemaPattern : $schemaName"
- val logMsg = s"Listing functions '$cmdStr, functionName : $functionName'"
- logInfo(log"${MDC(LogKeys.MESSAGE, logMsg)} with
${MDC(LogKeys.STATEMENT_ID, statementId)}")
Review Comment:
expand `logMsg`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]