Skip to content

Commit 271a2fb

Browse files
committed
value
1 parent fc7c31f commit 271a2fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,13 @@ abstract class SQLViewTestSuite extends QueryTest with SQLTestUtils {
283283
test("SPARK-34613: Fix view does not capture disable hint config") {
284284
withSQLConf(DISABLE_HINTS.key -> "true") {
285285
withView("v1") {
286-
createView("v1", "SELECT /*+ repartition(1) */ 1")
286+
val viewName = createView("v1", "SELECT /*+ repartition(1) */ 1")
287287
assert(
288288
sql("SELECT * FROM v1").queryExecution.analyzed.collect {
289289
case e: Repartition => e
290290
}.isEmpty
291291
)
292+
checkViewOutput(viewName, Seq(Row(1)))
292293
}
293294
}
294295
}

0 commit comments

Comments
 (0)