Mark Payne created NIFI-9910:
--------------------------------
Summary: 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
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)