Skip to content

Commit 1256d67

Browse files
committed
[SPARK-16939][SQL] Fix build error by using Tuple1 explicitly in StringFunctionsSuite
1 parent 8d87252 commit 1256d67

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/StringFunctionsSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class StringFunctionsSuite extends QueryTest with SharedSQLContext {
9595
}
9696

9797
test("non-matching optional group") {
98-
val df = Seq("aaaac").toDF("s")
98+
val df = Seq(Tuple1("aaaac")).toDF("s")
9999
checkAnswer(
100100
df.select(regexp_extract($"s", "(a+)(b)?(c)", 2)),
101101
Row("")

0 commit comments

Comments
 (0)