dbtsai commented on issue #24682: [SPARK-27762][SQL] [FOLLOWUP] Add behavior 
change for Avro writer in migration guide
URL: https://github.com/apache/spark/pull/24682#issuecomment-495388996
 
 
   @cloud-fan I just added a case that writes null value to a non-nullable avro 
field which will throw runtime null pointer exception.
   
   @HyukjinKwon what do you mean? Currently, if the parquet has a required 
annotation (to represent non-nullable), when we read them back, Spark will 
still make them as nullable. I think this is an issue we need to fix.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to