We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The MsExcelRecordReader seems to be skipping empty columns, which to me is not the correct behaviour.
e.g.
Given an excel file like this
When reading using code like this..
Job job = new JobBuilder() .named("test job") .reader(new MsExcelRecordReader(new File("/path-to-file.xlsx"))) .mapper(new MsExcelRecordMapper<>(MyPojo.class, "col1", "col2", "col3")) .filter(new HeaderRecordFilter()) .writer(new StandardOutputRecordWriter()) .build();
For the first data row the pojo will have col2 field set as the value from the third column (3) as the second column has been skipped.
Is this expected behaviour?
I'm using version 5.2.0
Thanks, Ivan
The text was updated successfully, but these errors were encountered:
That's a bug! Thank you for reporting this out 👍
Let me plan that for next release. Contributions are welcome!
Kr, Mahmoud
Sorry, something went wrong.
Fix MsExcelRecordMapper to properly handle empty columns
b0e4cbc
Resolves issue #319
Fixed with #326 .
No branches or pull requests
The MsExcelRecordReader seems to be skipping empty columns, which to me is not the correct behaviour.
e.g.
Given an excel file like this
When reading using code like this..
For the first data row the pojo will have col2 field set as the value from the third column (3) as the second column has been skipped.
Is this expected behaviour?
I'm using version 5.2.0
Thanks,
Ivan
The text was updated successfully, but these errors were encountered: