We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc7c31f commit 271a2fbCopy full SHA for 271a2fb
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala
@@ -283,12 +283,13 @@ abstract class SQLViewTestSuite extends QueryTest with SQLTestUtils {
283
test("SPARK-34613: Fix view does not capture disable hint config") {
284
withSQLConf(DISABLE_HINTS.key -> "true") {
285
withView("v1") {
286
- createView("v1", "SELECT /*+ repartition(1) */ 1")
+ val viewName = createView("v1", "SELECT /*+ repartition(1) */ 1")
287
assert(
288
sql("SELECT * FROM v1").queryExecution.analyzed.collect {
289
case e: Repartition => e
290
}.isEmpty
291
)
292
+ checkViewOutput(viewName, Seq(Row(1)))
293
}
294
295
0 commit comments