tpunder/fm-flatfile

ZIP entry size is too large

Opened this issue · 0 comments

Hey guys,
I found an issue, when we try to parse really big excel files (for example more than 1g) it causes an error "ZIP entry size is too large". This error appears because of POI InputStream limitation

 if (entrySize !=-1) {
                if (entrySize>=Integer.MAX_VALUE) {
                    throw new IOException("ZIP entry size is too large");
                }

this can be fixed if we will create OPCPackage with java.io.File instead of InputStream. I saw TODO comment in XLSXStreamReaderImpl that you plan to use this approach. So is this something that you can fix soon or not?

Thank you