cloud-fan commented on a change in pull request #31732:
URL: https://github.com/apache/spark/pull/31732#discussion_r587423938
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala
##########
@@ -278,6 +279,19 @@ abstract class SQLViewTestSuite extends QueryTest with
SQLTestUtils {
}
}
}
+
+ test("SPARK-34613: Fix view does not capture disable hint config") {
+ withSQLConf(DISABLE_HINTS.key -> "true") {
+ withView("v1") {
+ sql("CREATE VIEW v1 AS SELECT /*+ repartition(1) */ 1")
Review comment:
let's follow other tests in this suite and use `createView`, which can
test all 3 different view types.
----------------------------------------------------------------
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]