You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2024/09/22 02:21:00 UTC
[jira] [Updated] (HUDI-6414) File name in metadata being set to fileId instead of full file name.
[ https://issues.apache.org/jira/browse/HUDI-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Guo updated HUDI-6414:
----------------------------
Fix Version/s: 1.1.0
> 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
> Fix For: 1.1.0
>
>
> 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)