<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: JSONTreeReader  behaving different between V1.21 and V1.18 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371308#M240951</link>
    <description>&lt;P&gt;There were some changes in 1.20 to address better schema inference. See the references below for release notes for 1.20 and specifically the issue you are experiencing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;A href="https://issues.apache.org/jira/browse/NIFI-10956" target="_blank"&gt;NIFI-10956&lt;/A&gt;] - Schema Inference returns incorrect datatype for records where some arrays are empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-10956" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-10956&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 16:38:00 GMT</pubDate>
    <dc:creator>ChuckE</dc:creator>
    <dc:date>2023-05-22T16:38:00Z</dc:date>
    <item>
      <title>JSONTreeReader  behaving different between V1.21 and V1.18</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371190#M240918</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ollyhank_0-1684464706297.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37634i431F02226471E286/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ollyhank_0-1684464706297.png" alt="ollyhank_0-1684464706297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;An example of json that fails in 1.21.0 that works in 1.18.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
    {"a": [ {"b": [{}]}]},
    {"a": [ {"b": []}]}
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Any help would be greatly appreciated.&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 May 2023 18:36:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371190#M240918</guid>
      <dc:creator>ollyhank</dc:creator>
      <dc:date>2023-05-19T18:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: JSONTreeReader  behaving different between V1.21 and V1.18</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371210#M240923</link>
      <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102499"&gt;@ollyhank&lt;/a&gt;&amp;nbsp;. I'm not an expert but I did find notes that &lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version1.2.0" target="_blank" rel="noopener"&gt;version 1.2&lt;/A&gt;&amp;nbsp;included:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;New or Improved Processors, Controller Services, and Reporting Tasks&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;New Record oriented abstraction for reading/writing schema aware event streams from CSV, JSON, AVRO, Grok, and plaintext with easy extension for other formats/schemas&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;QueryRecord processor to execute SQL queries over a stream of records powered by Apache Calcite&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;ConvertRecord processor to efficiently transform records from a given schema and format into another schema and format&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;SplitRecord processor to efficiently split huge record bundles into configurable batch sizes for divide and conquer or protect downstream systems&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Processors to efficiently stream Records into and out of Apache Kafka in a format and schema aware manner and which automatically handle achieving high throughput and full provenance&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Controller Services for plugging into and managing data schemas (Avro Schema Registry, Hortonworks Schema Registry) that integrate nicely into the record readers and writers&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Not sure if it is the issue here, but is something to consider while awaiting someone with more experience to reply.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 18:43:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371210#M240923</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-05-19T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: JSONTreeReader  behaving different between V1.21 and V1.18</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371308#M240951</link>
      <description>&lt;P&gt;There were some changes in 1.20 to address better schema inference. See the references below for release notes for 1.20 and specifically the issue you are experiencing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;A href="https://issues.apache.org/jira/browse/NIFI-10956" target="_blank"&gt;NIFI-10956&lt;/A&gt;] - Schema Inference returns incorrect datatype for records where some arrays are empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-10956" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-10956&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 16:38:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371308#M240951</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2023-05-22T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: JSONTreeReader  behaving different between V1.21 and V1.18</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371455#M240988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10253"&gt;@cjervis&lt;/a&gt;, thanks for offering a solution but that change was V1.2, our error only occurs in the difference between much later 1.18 -&amp;gt; 1.21.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:30:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371455#M240988</guid>
      <dc:creator>ollyhank</dc:creator>
      <dc:date>2023-05-24T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: JSONTreeReader  behaving different between V1.21 and V1.18</title>
      <link>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371456#M240989</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98065"&gt;@ChuckE&lt;/a&gt;, yes i had seen that note before and imagine that they fixed a similar issue but didnt catch this specific case, i am posting an issue in Jira to hopefully find a fix.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:31:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/JSONTreeReader-behaving-different-between-V1-21-and-V1-18/m-p/371456#M240989</guid>
      <dc:creator>ollyhank</dc:creator>
      <dc:date>2023-05-24T14:31:25Z</dc:date>
    </item>
  </channel>
</rss>

