File name in metadata being set to fileId instead of full file name.
Open
from-jira
priority:high
status:pr-available
type:bug
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
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}
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-6414
- Type: Bug
- Fix version(s):
- 1.1.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.