We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123fdea commit 3b09679Copy full SHA for 3b09679
src/main/scala/za/co/absa/standardization/SchemaValidator.scala
@@ -115,7 +115,7 @@ object SchemaValidator {
115
fields += prefixedField
116
}
117
118
- fields
+ fields.toSeq //has to be here for Scala 2.13 compatibility
119
120
121
def flattenArray(field: StructField, arr: ArrayType, structPath: String): Seq[FlatField] = {
@@ -127,7 +127,7 @@ object SchemaValidator {
127
val prefixedField = FlatField(structPath, field)
128
arrayFields += prefixedField
129
130
- arrayFields
+ arrayFields.toSeq //has to be here for Scala 2.13 compatibility
131
132
133
flattenStruct(schema, "")
0 commit comments