Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed May 19, 2016
1 parent 46710a8 commit 55ef850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -26,9 +26,9 @@ class StatisticsSuite extends QueryTest with SharedSQLContext {
val rdd = sparkContext.range(1, 100).map(i => Row(i, i))
val df = spark.createDataFrame(rdd, new StructType().add("a", LongType).add("b", LongType))
assert(df.queryExecution.analyzed.statistics.sizeInBytes >
spark.wrapped.conf.autoBroadcastJoinThreshold)
spark.sessionState.conf.autoBroadcastJoinThreshold)
assert(df.selectExpr("a").queryExecution.analyzed.statistics.sizeInBytes >
spark.wrapped.conf.autoBroadcastJoinThreshold)
spark.sessionState.conf.autoBroadcastJoinThreshold)
}

}
Expand Up @@ -76,7 +76,7 @@ class SQLConfSuite extends QueryTest with SharedSQLContext {
}

test("set command for display") {
spark.wrapped.conf.clear()
spark.sessionState.conf.clear()
checkAnswer(
sql("SET").where("key = 'spark.sql.groupByOrdinal'").select("key", "value"),
Nil)
Expand Down

0 comments on commit 55ef850

Please sign in to comment.