[
https://issues.apache.org/jira/browse/HUDI-9797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-9797:
---------------------------------
Labels: pull-request-available (was: )
> Optimize prepending meta fields with create handle
> --------------------------------------------------
>
> Key: HUDI-9797
> URL: https://issues.apache.org/jira/browse/HUDI-9797
> Project: Apache Hudi
> Issue Type: Improvement
> Components: writer-core
> Reporter: sivabalan narayanan
> Assignee: sivabalan narayanan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> Currently, we are re-creating entire AvroRecord in order to prepend meta
> fields in create handles. We should try and see if we can optimize and avoid
> rewriting or re-creating entire record.
>
> [https://github.com/apache/hudi/blob/6ea636078ce1f48e48522185a3e0dba1d22753aa/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/BaseCreateHandle.java#L157]
>
>
> [https://github.com/apache/hudi/blob/6ea636078ce1f48e48522185a3e0dba1d22753aa/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java#L190]
> [https://github.com/apache/hudi/blob/6ea636078ce1f48e48522185a3e0dba1d22753aa/hudi-common/src/main/java/org/apache/hudi/avro/HoodieAvroUtils.java#L958]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)