Skip to content

Commit 737ea41

Browse files
committed
Fix test
1 parent c878aef commit 737ea41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
512512
sql("SELECT key FROM ${hiveconf:tbl} ORDER BY key, value limit 1"),
513513
sql("SELECT key FROM src ORDER BY key, value limit 1").collect().toSeq)
514514

515-
sql("set hive.variable.substitute=false") // disable the substitution
515+
sql("set spark.sql.variable.substitute=false") // disable the substitution
516516
sql("set tbl2=src")
517517
intercept[Exception] {
518518
sql("SELECT key FROM ${hiveconf:tbl2} ORDER BY key, value limit 1").collect()

0 commit comments

Comments
 (0)