<?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: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378773#M243667</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107807"&gt;@CE&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Where exactly are you getting the null? are you getting it after the Jolt processor in the success relationship queue? I ran the same spec against simple GenerateFlowFile with the input you provided set in the CustomText property then use the Jolt processor with the provided spec and I got the expected output. Can you try that and see if it works? Can you also provide processor configuration screenshot ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 21:14:50 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2023-11-08T21:14:50Z</dc:date>
    <item>
      <title>Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378761#M243661</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CE_0-1699461862760.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38873iF42D48E81ADD645A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CE_0-1699461862760.png" alt="CE_0-1699461862760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Json input:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"schema": {&lt;BR /&gt;"type": "struct",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"type": "struct",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "COUNTRY_ID"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "COUNTRY_NAME"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "REGION_ID"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"optional": true,&lt;BR /&gt;"name": "poc2.NIFITEST.COUNTRIES.Value",&lt;BR /&gt;"field": "before",&lt;BR /&gt;"version": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "struct",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "COUNTRY_ID"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "COUNTRY_NAME"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "REGION_ID"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"optional": true,&lt;BR /&gt;"name": "poc2.NIFITEST.COUNTRIES.Value",&lt;BR /&gt;"field": "after",&lt;BR /&gt;"version": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "struct",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "version",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "connector",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "name",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int64",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "ts_ms",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "snapshot",&lt;BR /&gt;"name": "io.debezium.data.Enum",&lt;BR /&gt;"version": 1,&lt;BR /&gt;"parameters": {&lt;BR /&gt;"allowed": "true,last,false,incremental"&lt;BR /&gt;},&lt;BR /&gt;"default": "false"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "db",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "sequence",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "schema",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "table",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "txId",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "scn",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "commit_scn",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "lcr_position",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "rs_id",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int64",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "ssn",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int32",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "redo_thread",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": true,&lt;BR /&gt;"field": "user_name",&lt;BR /&gt;"name": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"default": null&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"optional": false,&lt;BR /&gt;"name": "io.debezium.connector.oracle.Source",&lt;BR /&gt;"field": "source",&lt;BR /&gt;"version": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"fields": null,&lt;BR /&gt;"optional": false,&lt;BR /&gt;"name": null,&lt;BR /&gt;"field": "op",&lt;BR /&gt;"version": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int64",&lt;BR /&gt;"fields": null,&lt;BR /&gt;"optional": true,&lt;BR /&gt;"name": null,&lt;BR /&gt;"field": "ts_ms",&lt;BR /&gt;"version": null&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "struct",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"type": "string",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "id"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int64",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "total_order"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "int64",&lt;BR /&gt;"optional": false,&lt;BR /&gt;"field": "data_collection_order"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"optional": true,&lt;BR /&gt;"name": "event.block",&lt;BR /&gt;"field": "transaction",&lt;BR /&gt;"version": 1&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"optional": false,&lt;BR /&gt;"name": "poc2.NIFITEST.COUNTRIES.Envelope",&lt;BR /&gt;"version": 1&lt;BR /&gt;},&lt;BR /&gt;"payload": {&lt;BR /&gt;"before": null,&lt;BR /&gt;"after": {&lt;BR /&gt;"COUNTRY_ID": "IT",&lt;BR /&gt;"COUNTRY_NAME": "Italy",&lt;BR /&gt;"REGION_ID": "1"&lt;BR /&gt;},&lt;BR /&gt;"source": {&lt;BR /&gt;"version": "2.4.0.Final",&lt;BR /&gt;"connector": "oracle",&lt;BR /&gt;"name": "poc2",&lt;BR /&gt;"ts_ms": 1699378780000,&lt;BR /&gt;"snapshot": "false",&lt;BR /&gt;"db": "TESTDB",&lt;BR /&gt;"sequence": null,&lt;BR /&gt;"schema": "NIFITEST",&lt;BR /&gt;"table": "COUNTRIES",&lt;BR /&gt;"txId": "030005002e290000",&lt;BR /&gt;"scn": "38041443",&lt;BR /&gt;"commit_scn": "38041466",&lt;BR /&gt;"lcr_position": null,&lt;BR /&gt;"rs_id": "0x000476.0002ce07.0010",&lt;BR /&gt;"ssn": 0,&lt;BR /&gt;"redo_thread": 1,&lt;BR /&gt;"user_name": "NIFITEST"&lt;BR /&gt;},&lt;BR /&gt;"op": "c",&lt;BR /&gt;"ts_ms": 1699378784139,&lt;BR /&gt;"transaction": null&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Jolt Specification:&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"operation": "shift",&lt;BR /&gt;"spec": {&lt;BR /&gt;"payload": {&lt;BR /&gt;"after": " "&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;PutDatabaseRecord showing null:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CE_1-1699462183169.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38874i0C8B85FB20E84CB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CE_1-1699462183169.png" alt="CE_1-1699462183169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Source : Kafka Topics thru Debezium&lt;/P&gt;&lt;P&gt;Nifi Version 1.17&lt;/P&gt;&lt;P&gt;My Flow is: ConsumeKafkarecord_2.0--&amp;gt; Splitrecord--&amp;gt;EvaluateJsonPath(Gettable fromflowfile)--&amp;gt;RouteonAttribute--&amp;gt;Queryrecord--&amp;gt;JoltTransformJSON--&amp;gt;PutDatabaseRecord&lt;/P&gt;&lt;P&gt;Any solution please.&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 16:58:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378761#M243661</guid>
      <dc:creator>CE</dc:creator>
      <dc:date>2023-11-08T16:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378772#M243666</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107807"&gt;@CE&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 20:45:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378772#M243666</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-11-08T20:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378773#M243667</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107807"&gt;@CE&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Where exactly are you getting the null? are you getting it after the Jolt processor in the success relationship queue? I ran the same spec against simple GenerateFlowFile with the input you provided set in the CustomText property then use the Jolt processor with the provided spec and I got the expected output. Can you try that and see if it works? Can you also provide processor configuration screenshot ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378773#M243667</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-11-08T21:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378785#M243670</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;JoltTransformJSON--&amp;gt;PutDatabaseRecord in this two processor's success relationships showing null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CE_0-1699487374741.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38882i2F14011566C03DDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CE_0-1699487374741.png" alt="CE_0-1699487374741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CE_1-1699487546734.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38883iD97AB6DF8909213C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CE_1-1699487546734.png" alt="CE_1-1699487546734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 23:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378785#M243670</guid>
      <dc:creator>CE</dc:creator>
      <dc:date>2023-11-08T23:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378788#M243672</link>
      <description>&lt;P&gt;Also i have tested GenerateFlowfile with custom text its working. Problem is JoltTransformJSON--&amp;gt;PutDatabaseRecord in this two processor's success relationships showing null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 23:59:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378788#M243672</guid>
      <dc:creator>CE</dc:creator>
      <dc:date>2023-11-08T23:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378817#M243685</link>
      <description>&lt;P&gt;Are you sure you are getting the correct input to the JoltTransformJSON processor? If you are able to test the spec using GenerateFlowFile and its working then something might be happening upstream that might be causing the input to change or dropped. I would check the EvaluateJsonPath&amp;nbsp; Destination property and make sure its not set flowfile-content, rather it should be set to flowfile-attribute. If you think everything is set correctly, can you take screenshot of all processors configurations in your reply? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 13:27:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378817#M243685</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-11-09T13:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Jolt specification working for Json input but result showing null in Nifi putdatabaserecord processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378959#M243739</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107807"&gt;@CE&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @SAMSAL has requested? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 17:41:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Jolt-specification-working-for-Json-input-but-result-showing/m-p/378959#M243739</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-11-13T17:41:36Z</dc:date>
    </item>
  </channel>
</rss>

