cloud-fan commented on code in PR #48951:
URL: https://github.com/apache/spark/pull/48951#discussion_r1893561427
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala:
##########
@@ -106,14 +106,14 @@ class SparkSqlAstBuilder extends AstBuilder {
SetCommand(Some(keyStr -> None))
}
} else {
- remainder(ctx.SET.getSymbol).trim match {
+ remainder(ctx.SET.getSymbol).trim.replaceAll(";+$", "") match {
Review Comment:
is it the same as `.trimRight(";")`?
--
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]