LinSimon-901101 commented on code in PR #7155:
URL: https://github.com/apache/datafusion-comet/pull/7155#discussion_r4771616071
##########
spark/src/test/scala/org/apache/comet/CometIcebergWriteActionSuite.scala:
##########
@@ -104,6 +111,702 @@ class CometIcebergWriteActionSuite
}
}
+ Seq(false, true).foreach { adaptive =>
+ Seq(
+ "id INT NOT NULL, s STRUCT<a: INT, b: STRING>",
+ "id INT NOT NULL, s STRUCT<a: INT NOT NULL, b: STRING>",
+ "id INT, s STRUCT<a: INT, b: STRING> NOT NULL").zipWithIndex.foreach {
+ case (schema, index) =>
+ test(s"native Iceberg writer: Spark validates nullable input $index,
AQE=$adaptive") {
Review Comment:
Thanks for pointing this out, I ruduce the test case into 5 with explicit
AQE verification, and enforing AQE enablement while necessary.
And I also add the negative test to verify the newly added assertions detect
the issue
--
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]