cloud-fan commented on a change in pull request #27243: [SPARK-30535][SQL]
Migrate ALTER TABLE commands to the new framework
URL: https://github.com/apache/spark/pull/27243#discussion_r368367225
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewSuite.scala
##########
@@ -145,7 +145,7 @@ abstract class SQLViewSuite extends QueryTest with
SQLTestUtils {
// For v2 ALTER TABLE statements, we have better error message saying
view is not supported.
assertAnalysisError(
s"ALTER TABLE $viewName SET LOCATION '/path/to/your/lovely/heart'",
- s"'$viewName' is a view not a table")
+ s"$viewName is a temp view not a table")
// For the following v2 ALERT TABLE statements, unsupported operations
are checked first
// before resolving the relations.
Review comment:
you are right, this is inconsistent. +1 with your proposal.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]