[
https://issues.apache.org/jira/browse/NIFI-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-9910:
-----------------------------
Fix Version/s: 1.17.0
1.16.1
Status: Patch Available (was: Open)
> CSVRecordLookupService assumes key is a String
> ----------------------------------------------
>
> Key: NIFI-9910
> URL: https://issues.apache.org/jira/browse/NIFI-9910
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.17.0, 1.16.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The CSVRecordLookupService assumes that the provided key is a String and
> attempts to cast the value to a String. If an integer, for example, is
> provided, it throws a ClassCastException.
> SimpleCsvFileLookupService, on the other hand, more appropriately calls
> {{toString()}} to convert the value into a String. We should do this always.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)