FilePathUtils#generatePartitionSpecs generate unexpected partition specs
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
FilePathUtils#generatePartitionSpecs may generate unexpected partition specs if the partition value contains "/", e.g., the partition field is `partition_path`, and the partition value is "2025/10/24", then the generated specs is <`partition_path`, 24>.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-9396
- Type: Bug
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating FilePathUtils#generatePartitionSpecs and reproduce the case where partition_path has the value "2025/10/24". Trace how the slash-separated value is parsed, then add or update focused coverage to verify that the generated partition spec preserves the complete value rather than returning only 24.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100