Skip to content

Commit

Permalink
avoid flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
LantaoJin committed Sep 23, 2020
1 parent fdab8b9 commit edd8aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -849,7 +849,7 @@ class InsertSuite extends DataSourceTest with SharedSparkSession {
"""
|create table dynamic_partition_bucket(i int, part1 int, part2 int) using parquet
|partitioned by (part1, part2)
|clustered by (i) into 3 buckets
|clustered by (i) into 5 buckets
""".stripMargin)
val e3 = intercept[SparkException] {
// we use same partition (part1=2/part2=2) to make total partitions less then 3
Expand Down
Expand Up @@ -876,7 +876,7 @@ class InsertSuite extends QueryTest with TestHiveSingleton with BeforeAndAfter
"""
|create table hive_dynamic_partition_bucket(i int) stored as parquet
|partitioned by (part1 int, part2 int)
|clustered by (i) into 3 buckets
|clustered by (i) into 5 buckets
""".stripMargin)
val e3 = intercept[SparkException] {
// we use same partition (part1=2/part2=2) to make total partitions less then 3
Expand Down

0 comments on commit edd8aa5

Please sign in to comment.