Bug 67646 - Append rows in SXSSF workbook does not work
Summary: Append rows in SXSSF workbook does not work
Status: NEEDINFO
Alias: None
Product: POI
Classification: Unclassified
Component: SXSSF (show other bugs)
Version: 5.2.3-FINAL
Hardware: PC Mac OS X 10.1
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-09 10:58 UTC by Jan Lolling
Modified: 2024-02-26 14:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lolling 2023-10-09 10:58:02 UTC
You cannot append rows into SXSSF workbooks. The method the retrieve the number of already existing rows returns only the current created rows and not the rows already exists if the workbook is read from a file.
I have already solved this bug and would like to contribute a patch to the project. 
The necssary changes affects only the class org.apache.poi.xssf.streaming.SXSSFSheet
Comment 1 Dominik Stadler 2024-02-25 20:35:29 UTC
Please attach the proposed changes or create a pull-request at https://github.com/apache/poi so we can take a look if it is generally useful to change things here.
Comment 2 Jan Lolling 2024-02-26 14:58:10 UTC
I have created a pull request: https://github.com/apache/poi/pull/600