Skip to content

Commit eceffcb

Browse files
committed
Address comments.
1 parent efcfb81 commit eceffcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private[sql] trait SQLTestUtils
9696
val (keys, values) = pairs.unzip
9797
val currentValues = keys.map { key =>
9898
if (spark.conf.contains(key)) {
99-
Try(spark.conf.get(key)).toOption
99+
Some(spark.conf.get(key))
100100
} else {
101101
None
102102
}

0 commit comments

Comments
 (0)