cloud-fan commented on code in PR #37415:
URL: https://github.com/apache/spark/pull/37415#discussion_r941442157
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala:
##########
@@ -783,7 +784,7 @@ abstract class DDLSuite extends QueryTest with DDLSuiteBase
{
sql("ALTER TABLE tab1 RENAME TO default.tab2")
}
assert(e.getMessage.contains(
- s"RENAME TEMPORARY VIEW from '`tab1`' to
'`$SESSION_CATALOG_NAME`.`default`.`tab2`': " +
+ s"RENAME TEMPORARY VIEW from '`tab1`' to '`default`.`tab2`': " +
Review Comment:
This reverts back to the behavior before
https://github.com/apache/spark/pull/37021 : we shouldn't blindly attach
catalog names in every v1 command. In this case we shouldn't mention
`SESSION_CATALOG_NAME` because temp views do not belong to any catalog.
--
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]