File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import org.scalatest.FunSuite
4040
4141import org .apache .spark .Logging
4242import org .apache .spark .sql .catalyst .util .getTempFilePath
43+ import org .apache .spark .sql .hive .HiveShim
4344
4445/**
4546 * Tests for the HiveThriftServer2 using JDBC.
@@ -263,7 +264,7 @@ class HiveThriftServer2Suite extends FunSuite with Logging {
263264 withJdbcStatement() { statement =>
264265 val resultSet = statement.executeQuery(" SET spark.sql.hive.version" )
265266 resultSet.next()
266- assert(resultSet.getString(1 ) === " spark.sql.hive.version=0.12.0-protobuf-2.5 " )
267+ assert(resultSet.getString(1 ) === s " spark.sql.hive.version= ${ HiveShim .version} " )
267268 }
268269 }
269270}
You can’t perform that action at this time.
0 commit comments