dongjoon-hyun commented on a change in pull request #35700:
URL: https://github.com/apache/spark/pull/35700#discussion_r817047531
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFieldIdIOSuite.scala
##########
@@ -107,6 +107,35 @@ class ParquetFieldIdIOSuite extends QueryTest with
ParquetTest with SharedSparkS
}
}
+ test("absence of field ids: reading nested schema") {
+ withTempDir { dir =>
+ // now with nested schema/complex type
+ val readSchema =
+ new StructType()
+ .add("a", IntegerType, true, withId(1))
+ .add("b", ArrayType(StringType), true, withId(2))
+ .add("c", new StructType().add("xx", IntegerType, true, withId(6)),
true, withId(3))
Review comment:
Please use more meaningful name instead of `xx`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]