Skip to content
Snippets Groups Projects
Commit 726bd3c4 authored by Reynold Xin's avatar Reynold Xin
Browse files

Fix indentation for the previous patch.

parent 5028a001
No related branches found
No related tags found
No related merge requests found
......@@ -113,22 +113,20 @@ class SQLConfSuite extends QueryTest with SharedSQLContext {
// Test overflow exception
intercept[IllegalArgumentException] {
// This value exceeds Long.MaxValue
// Utils.byteStringAsBytes("90000000000g")
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g")
// This value exceeds Long.MaxValue
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g")
}
intercept[IllegalArgumentException] {
// This value less than Int.MinValue
// Utils.byteStringAsBytes("-90000000000g")
// This value less than Int.MinValue
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-90000000000g")
}
}
// Test invalid input
intercept[IllegalArgumentException] {
// This value exceeds Long.MaxValue
// Utils.byteStringAsBytes("-1g")
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g")
}
// This value exceeds Long.MaxValue
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g")
}
sqlContext.conf.clear()
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment