Github user kiszk commented on the issue: https://github.com/apache/spark/pull/13873 This sample program still fails: cc @ueshin ``` val schema = new StructType() .add("array", ArrayType(StringType, containsNull = false), nullable = false) val ds1 = Seq(1).toDS val ds2 = ds1.map(_ => Row(Array("1", "2", "3")))(RowEncoder(schema)) print(s"schema: $schema\n") print(s"ds2.schema: ${ds2.schema}\n") ds2.printSchema assert(ds2.schema === schema) ``` output ``` schema: StructType(StructField(array,ArrayType(StringType,false),false)) ds2.schema: StructType(StructField(array,ArrayType(StringType,true),false)) root |-- array: array (nullable = false) | |-- element: string (containsNull = true) ... ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org