beliefer commented on code in PR #43235:
URL: https://github.com/apache/spark/pull/43235#discussion_r1350068798
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala:
##########
@@ -189,7 +189,7 @@ object AssertTrue {
case class CurrentDatabase() extends LeafExpression with Unevaluable {
override def dataType: DataType = StringType
override def nullable: Boolean = false
- override def prettyName: String = "current_database"
+ override def prettyName: String = "current_schema"
Review Comment:
I know this PR want to use the name `schema` here, it's okay. However, it
caused inconsistent between the class name of the `CurrentDatabase` and its
`prettyName`. Is this a problem? If not, then it's okay.
--
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]