dongjoon-hyun commented on PR #37191:
URL: https://github.com/apache/spark/pull/37191#issuecomment-1189821479

   > And as per [AVRO-2035](https://issues.apache.org/jira/browse/AVRO-2035) it 
is a correctness bug, so if we are fixing this issue isn't it be a great to 
make it configurable and let user decide what to do with the incorrect schema. 
?. May be can we add AvroOption as `validateDefaults` 
`spark.read.option("validateDefaults", false).format("avro")` ?
   
   Hi, @sandeep-katta0102 . Could you elaborate what makes you think that is a 
correctness bug? It looks like causing a runtime exception instead of data 
corruption.


-- 
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]

Reply via email to