xiaonanyang-db commented on code in PR #38113:
URL: https://github.com/apache/spark/pull/38113#discussion_r991722042
##########
connector/avro/src/test/scala/org/apache/spark/sql/avro/AvroSuite.scala:
##########
@@ -2272,6 +2272,18 @@ abstract class AvroSuite
checkAnswer(df2, df.collect().toSeq)
}
}
+
+ test("SPARK-40667: validate Avro Options") {
+ assert(AvroOptions.isValidOption("ignoreExtension"))
Review Comment:
Validating all options in the test should be enough. If they forgot to add a
new option to the list, the count check test will still pass.
--
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]