[
https://issues.apache.org/jira/browse/NIFI-16508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16508:
------------------------------------
Status: Patch Available (was: Open)
> Remove redundant call to DataFormatter.setUseCachedValuesForFormulaCells in
> ExcelStartingRowSchemaInference
> -----------------------------------------------------------------------------------------------------------
>
> Key: NIFI-16508
> URL: https://issues.apache.org/jira/browse/NIFI-16508
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Trivial
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The fix for NIFI-16429 to solve the reported bug where the cached value of a
> formula was not used for a header name, was to call
> DataFormatter.setUseCachedValuesForFormulaCells(true) . This was all
> necessary before POI 6.0.0 where the default behavior was not to use the
> cached value of a formula. Starting in POI 6.0.0 the default behavior of
> DataFormatter is to return the cached value of a formula hence there is no
> longer a need to explicitly call setUseCachedValuesForFormulaCells. Since
> NIFI upgraded to POI 6.0.0 in NIFI-16498, the call to
> setUseCachedValuesForFormulaCells can now be removed.
> The purpose of this ticket is to remove this call.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)