NIFI-13418 Updated ExcelReader to handle spreadsheets with shared formulas

This closes #9063

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
dan-s1 2024-07-08 18:48:36 +00:00 committed by exceptionfactory
parent 3f6eb6ff63
commit 90c58a88a7
No known key found for this signature in database

View File

@ -47,6 +47,7 @@ class RowIterator implements Iterator<Row>, Closeable {
.bufferSize(4096)
.password(configuration.getPassword())
.setAvoidTempFiles(configuration.isAvoidTempFiles())
.setReadSharedFormulas(true) // NOTE: If not set to true, then data with shared formulas fail.
.open(in);
final List<String> requiredSheets = configuration.getRequiredSheets();