Skip to content

Commit 2ca1379

Browse files
committed
Make Scala 2.13 build happy.
1 parent c07e30f commit 2ca1379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/types/StructType.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ object StructType extends AbstractDataType {
673673
if (newFields.isEmpty) {
674674
None
675675
} else {
676-
Some(StructType(newFields))
676+
Some(StructType(newFields.toSeq))
677677
}
678678
}
679679
}

0 commit comments

Comments
 (0)