srielau commented on code in PR #42549:
URL: https://github.com/apache/spark/pull/42549#discussion_r1298751089
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/finishAnalysis.scala:
##########
@@ -116,7 +116,7 @@ case class ReplaceCurrentLike(catalogManager:
CatalogManager) extends Rule[Logic
Literal.create(currentNamespace, StringType)
case CurrentCatalog() =>
Literal.create(currentCatalog, StringType)
- case CurrentUser() =>
+ case CurrentUser() | SessionUser() =>
Review Comment:
Is this temporary? Clearly this is not correct
--
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]