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

Jonathan Vexler closed HUDI-7201.
---------------------------------
    Resolution: Fixed

> reconcileSchemaRequirements returns empty schema if the incoming data is empty
> ------------------------------------------------------------------------------
>
>                 Key: HUDI-7201
>                 URL: https://issues.apache.org/jira/browse/HUDI-7201
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: spark, spark-sql
>            Reporter: Jonathan Vexler
>            Assignee: Jonathan Vexler
>            Priority: Major
>              Labels: pull-request-available
>
> {code:java}
> if (sourceSchema.getType() == Schema.Type.NULL || 
> sourceSchema.getFields().isEmpty() || targetSchema.getFields().isEmpty()) {
>   return sourceSchema;
> } {code}
> This will allow illegal schema evolutions if the previous commit was empty



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

Reply via email to