[ 
https://issues.apache.org/jira/browse/HUDI-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zouxxyy resolved HUDI-5191.
---------------------------

> avro compatibility with spark3.2+
> ---------------------------------
>
>                 Key: HUDI-5191
>                 URL: https://issues.apache.org/jira/browse/HUDI-5191
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: zouxxyy
>            Priority: Major
>              Labels: pull-request-available
>
> After spark3.2, avro was upgraded to 1.10.2+, some functions changed.
> E.g:
> If the Key is not found, `GenericData#get` will throw a  
> AvroRuntimeException("Not a valid schema field: " + key), while it will  
> return null before.
> And, `Schema.Field` will check the default value internally, which can cause 
> failures such as
> `TestOverwriteNonDefaultsWithLatestAvroPayload#testNullColumn`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to