cloud-fan commented on code in PR #41052:
URL: https://github.com/apache/spark/pull/41052#discussion_r1185668862
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4189,6 +4189,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val LEGACY_AVRO_PREVENT_READING_INCORRECT_SAME_ENCODED_TYPES =
+ buildConf("spark.sql.legacy.avro.preventReadingIncorrectSameEncodedTypes")
Review Comment:
ideally turning on the legacy config should enable the legacy behavior. How
about `spark.sql.legacy.avro.allowReadingWithIncompatibleSchema`?
--
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]