Skip to content

Commit

Permalink
Add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
yucai committed Dec 11, 2015
1 parent 8ced744 commit 1b8d570
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,12 @@ class DataFrameJoinSuite extends QueryTest with SharedSQLContext {

// planner should not crash without a join
broadcast(df1).queryExecution.executedPlan

// SPARK-12275: no physical plan for BroadcastHint in some condition
withTempPath { path =>
df1.write.parquet(path.getCanonicalPath)
val pf1 = sqlContext.read.parquet(path.getCanonicalPath)
assert(df1.join(broadcast(pf1)).count() === 4)
}
}
}

0 comments on commit 1b8d570

Please sign in to comment.