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

ASF GitHub Bot updated HUDI-4276:
---------------------------------
    Labels: pull-request-available schema-evolution  (was: schema-evolution)

> Reconcile schema - inject null values for missing fields and add new fields
> ---------------------------------------------------------------------------
>
>                 Key: HUDI-4276
>                 URL: https://issues.apache.org/jira/browse/HUDI-4276
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: kazdy
>            Assignee: tao meng
>            Priority: Blocker
>              Labels: pull-request-available, schema-evolution
>             Fix For: 0.12.0
>
>
> Improve schema reconciliation to make it more flexible in presence of full 
> schema evolution being enabled.
> Desired behavior:
>  # incoming data has missing columns that were already defined in the table 
> –> null values will be injected into missing columns 
>  # incoming data contains new columns not defined yet in the table -> columns 
> will be added to the table schema (incoming dataframe?)
>  # incoming data has missing columns that are already defined in the table 
> and new columns not yet defined in the table -> new columns will be added to 
> the table schema, missing columns will be injected with null values
> No column should be dropped when using hive sync utility when schema 
> reconciliation is enabled.
> Related GH issue:
> [https://github.com/apache/hudi/issues/5873]
>  



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

Reply via email to