[
https://issues.apache.org/jira/browse/HUDI-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yixue Zhu updated HUDI-631:
---------------------------
Description:
The utility function
[HoodieAvroUtils.rewrite|https://github.com/apache/incubator-hudi/blob/5b7bb142dc6712c41fd8ada208ab3186369431f9/hudi-common/src/main/java/org/apache/hudi/common/util/HoodieAvroUtils.java#L205]
does not handle schema evolution such as optional fields removal (from new
schema).
The schema evolution check was implemented in HUDI-741.
was:The utility function
[HoodieAvroUtils.rewrite|https://github.com/apache/incubator-hudi/blob/5b7bb142dc6712c41fd8ada208ab3186369431f9/hudi-common/src/main/java/org/apache/hudi/common/util/HoodieAvroUtils.java#L205]
does not handle schema evolution such as optional fields removal (from new
schema).
> HoodieAvroUtils.rewrite does not handle schema change such as optional fields
> removal
> -------------------------------------------------------------------------------------
>
> Key: HUDI-631
> URL: https://issues.apache.org/jira/browse/HUDI-631
> Project: Apache Hudi (incubating)
> Issue Type: Bug
> Components: Common Core
> Reporter: Yixue Zhu
> Priority: Major
>
> The utility function
> [HoodieAvroUtils.rewrite|https://github.com/apache/incubator-hudi/blob/5b7bb142dc6712c41fd8ada208ab3186369431f9/hudi-common/src/main/java/org/apache/hudi/common/util/HoodieAvroUtils.java#L205]
> does not handle schema evolution such as optional fields removal (from new
> schema).
> The schema evolution check was implemented in HUDI-741.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)