[ 
https://issues.apache.org/jira/browse/NIFI-14504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948411#comment-17948411
 ] 

ASF subversion and git services commented on NIFI-14504:
--------------------------------------------------------

Commit e39d991314079ce8c7cb0076459ec0aefc2ee103 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e39d991314 ]

NIFI-14504 Fixed Record Field Conversion from Array to String

- Updated Object Array handling to support types other than byte primitives

Signed-off-by: Pierre Villard <[email protected]>

This closes #9906.


> 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: 20m
>  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)

Reply via email to