imback82 commented on a change in pull request #30321:
URL: https://github.com/apache/spark/pull/30321#discussion_r521128110
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/ShowCreateTableSuite.scala
##########
@@ -155,16 +155,17 @@ abstract class ShowCreateTableSuite extends QueryTest
with SQLTestUtils {
val ex = intercept[AnalysisException] {
sql(s"SHOW CREATE TABLE $viewName")
}
- assert(ex.getMessage.contains("SHOW CREATE TABLE is not supported on a
temporary view"))
+ assert(ex.getMessage.contains(s"$viewName is a temp view not table or
permanent view"))
Review comment:
A good idea! I will follow up on this.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]