aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-01-07 21:15:43 -0800
committerReynold Xin <rxin@databricks.com>2016-01-07 21:15:43 -0800
commit726bd3c4ece33667096f04be4d3e1ea13048a1af (patch)
tree34f8087d07d51e5c7aa6185835dd2391449d4882 /sql
parent5028a001d51a9e9a13e3c39f6a080618f3425d87 (diff)
downloadspark-726bd3c4ece33667096f04be4d3e1ea13048a1af.tar.gz
spark-726bd3c4ece33667096f04be4d3e1ea13048a1af.tar.bz2
spark-726bd3c4ece33667096f04be4d3e1ea13048a1af.zip
Fix indentation for the previous patch.
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala18
1 files changed, 8 insertions, 10 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala
index a2eddc8fe1..cf0701eca2 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala
@@ -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()
}
}