[
https://issues.apache.org/jira/browse/NIFI-14504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-14504:
------------------------------------
Description:
Record-oriented processing supports conversion from a variety of inputs to
selected Record Field Types. The conversion process includes converting from an
array of elements to a string.
Following recent changes to support conversion from an array of Java Objects to
a String, treating each array element as a {{byte}}, attempting to convert from
an array of other types results in a {{ClassCastException}} when processed
through the {{JsonTreeReader}}. The Record field conversion process should be
updated to handle an array of other types of Java Objects.
was:
Record-oriented processing supports conversion from a variety of inputs to
selected Record Field Types. The conversion process includes converting from an
array of elements to a string.
Following recent changes to support conversion from an array of Java Objects to
a String, treating each array element as a {{{}byte{}}}, attempting to convert
from an array of other types results in a {{ClassCastException}} when processed
through the {{{}JsonTreeReader{}}}. The Record field conversion process should
be updated to handle an array of other types of Java Objects.
> Failure of Record Field Conversion from JSON String Array to String
> -------------------------------------------------------------------
>
> Key: NIFI-14504
> URL: https://issues.apache.org/jira/browse/NIFI-14504
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Record-oriented processing supports conversion from a variety of inputs to
> selected Record Field Types. The conversion process includes converting from
> an array of elements to a string.
> Following recent changes to support conversion from an array of Java Objects
> to a String, treating each array element as a {{byte}}, attempting to convert
> from an array of other types results in a {{ClassCastException}} when
> processed through the {{JsonTreeReader}}. The Record field conversion process
> should be updated to handle an array of other types of Java Objects.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)