spring-projects / spring-projects/spring-batch
FlatFileItemReader requires "firstLineIsHeader" method [BATCH-1820]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 2.5k
- Avg merge
- 6d 53m
- Merged PRs (30d)
- 3
Description
Thomas Hackel opened BATCH-1820 and commented
This very nice functionality was present in Spring Batch <2.0.
It allows to use the BeanWrapperFieldSetMapper without assigning the column names to the tokenizer.
Please bring back this feature, even its possible to get around with an ugly LineCallbackHandler construction.
Affects: 2.1.8
2 votes, 3 watchers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating FlatFileItemReader and reviewing how the current LineCallbackHandler workaround supplies header information. Restore the requested firstLineIsHeader behavior and verify it with tests covering header-based column mapping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100