You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/06/20 21:12: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 ]

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)