[
https://issues.apache.org/jira/browse/HUDI-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-6414:
---------------------------------
Labels: pull-request-available (was: )
> File name in metadata being set to fileId instead of full file name.
> --------------------------------------------------------------------
>
> Key: HUDI-6414
> URL: https://issues.apache.org/jira/browse/HUDI-6414
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Amrish Lal
> Priority: Major
> Labels: pull-request-available
>
> In HoodieAppendHandle.populateMetadataFields, the following code is incorrect:
> {code:java}
> metadataValues.setFileName(fileId);{code}
> because it is setting file id instead of file name. The code needs to be
> changed to:
> {code:java}
> metadataValues.setFileName(writer.getLogFile().getPath().getName());{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)