uros-db commented on code in PR #53780:
URL: https://github.com/apache/spark/pull/53780#discussion_r2685508612
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala:
##########
@@ -381,6 +381,26 @@ abstract class SQLViewTestSuite extends QueryTest with
SQLTestUtils {
}
}
+ test("SPARK-55019: view can be dropped using DROP TABLE") {
+ val viewName = "v"
+ withView(viewName) {
+ sql(s"DROP VIEW IF EXISTS $viewName")
+ // First, create a simple view.
+ sql(s"CREATE VIEW $viewName AS SELECT 1 AS a")
Review Comment:
Nice, I updated the test and ran the suite locally to confirm all 3:
- `LocalTempViewTestSuite` for `TEMPORARY VIEW`
- `GlobalTempViewTestSuite` for `GLOBAL TEMPORARY VIEW`
- `PersistedViewTestSuite` for regular `VIEW`
--
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]