You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nandor Soma Abonyi (Jira)" <ji...@apache.org> on 2023/07/13 09:34:00 UTC

[jira] [Comment Edited] (NIFI-11592) JSONTreeReader behaving different between V1.21 and V1.18

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

Nandor Soma Abonyi edited comment on NIFI-11592 at 7/13/23 9:33 AM:
--------------------------------------------------------------------

[~ollyhank] I couldn't reproduce the issue either upstream or on 1.22. On these versions, it works as expected. Can you verify whether your flow works on 1.22? Attaching my test flow. [^NIFI-11592.json]Also, please note that schema inference has limitations and should not be used in production.


was (Author: sabonyi):
[~ollyhank] I couldn't reproduce the issue either upstream or on 1.22. On these versions, it works as expected. Can you verify whether your flow works on 1.22? Attaching my test flow. [^NIFI-11592.json]Also, please note that schema inference has limitations and should not be used in production.

> JSONTreeReader behaving different between V1.21 and V1.18
> ---------------------------------------------------------
>
>                 Key: NIFI-11592
>                 URL: https://issues.apache.org/jira/browse/NIFI-11592
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.21.0
>            Reporter: Olly Hancock
>            Assignee: Nandor Soma Abonyi
>            Priority: Major
>         Attachments: NIFI-11592.json
>
>
> When parsing a json array with a json tree reader (in this case using convert record), I am presented with this error, this testing was done in Nifi Version 1.21.0. However this error never occurs in Version 1.18.0. 
> !https://community.cloudera.com/t5/image/serverpage/image-id/37634i431F02226471E286/image-size/medium?v=v2&px=400!
> An example of json that fails in 1.21.0 that works in 1.18.0
>  
> {code:java}
> [
>     {"a": [ {"b": [{}]}]},
>     {"a": [ {"b": []}]}
> ] {code}
>  
> Any help would be greatly appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)