[
https://issues.apache.org/jira/browse/NIFI-13922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896346#comment-17896346
]
ASF subversion and git services commented on NIFI-13922:
--------------------------------------------------------
Commit 0e1860b77e2401a24050b262cfb7aea676f6511d in nifi's branch
refs/heads/support/nifi-1.28 from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0e1860b77e ]
NIFI-13922 Fixed SplitExcel to use the evaluated formula value for cell (#9499)
Corrected the copy configuration in SplitExcel to ensure the evaluated value of
formulas are copied and not the actual formula.
Signed-off-by: David Handermann <[email protected]>
> SplitExcel appears to drop the values of a column which are from a calculated
> formula
> --------------------------------------------------------------------------------------
>
> Key: NIFI-13922
> URL: https://issues.apache.org/jira/browse/NIFI-13922
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.27.0, 2.0.0-M4
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When reading the SalesData.xlsx referred to in NIFI-13418 with a flow which
> consists of
> GetFile -> SplitExcel -> ConvertRecord where the ConvertRecord is configured
> with an ExcelReader and a CsvrecordSetWriter it appears the values for column
> 'Sale_amt' which is a formula (column F * column G) is completely dropped as
> seen in the sample below with column headers and the first row
> {code:java}
> OrderDate,Region,Manager,SalesMan,Item,Units,Unit_price,Sale_amt
> 43106,East,Martha,Alexander,Television,95,1198,
> {code}
> Although when reading one of the tabs with a flow which consists of GetFile
> -> ConvertRecord the column is not dropped e.g. of the column names and the
> first row
> {code:java}
> OrderDate,Region,Manager,SalesMan,Item,Units,Unit_price,Sale_amt
> 1515196800000,East,Martha,Alexander,Television,95,1198,113810.0
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)