<?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>topic tFileInputJSON failed when i changed a value in JSON data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253976#M37131</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I'm having an issue when I try to extract some values from a JSON data reading a file with&amp;nbsp;&amp;nbsp;tFileInputJSON. The problem is that when i changed a value of the JSON data,&amp;nbsp;tFileInputJSON doesn't extract the pk value.&amp;nbsp;&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="jobExtract_1.png" style="width: 602px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7FG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130536i381EBA2741C73FFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7FG.png" alt="0683p000009M7FG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Successfull Case&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;tFileInputJSON read the file with the JSON&lt;/P&gt; 
&lt;P&gt;{"pk":"2147422292","marketplace_pk":13,"shop_pk":1083925,"reference":"2147422292"}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output shows that the value pk is extracted sucessfully.&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;[statistics] connected&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;pk&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;2147422292&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;[statistics] disconnected&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;---------------------------------------------------------------------------------------------------------------------&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Failed Case&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;tFileInputJSON read the file with the JSON (as you can see I only change the value pk, &lt;STRONG&gt;only that&lt;/STRONG&gt;)&lt;/P&gt; 
&lt;P&gt;{"pk":"&lt;STRONG&gt;&lt;U&gt;2147488276&lt;/U&gt;&lt;/STRONG&gt;","marketplace_pk":13,"shop_pk":1083925,"reference":"2147422292"}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output shows that the value of pk wasn't extracted, even when the structure is the same.&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;[statistics] connected&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;pk&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;For this case I got also the reject output which says&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;|pk | errorCode | errorMessage |&lt;BR /&gt;|=-+---------+---------------------------------------=|&lt;BR /&gt;|0 |null |For input string: "2147688276" - Line: 0|&lt;BR /&gt;'--+---------+----------------------------------------'&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I did some test and from 30 different &lt;STRONG&gt;pk&lt;/STRONG&gt; values, it only read 7, but I don't know why if is the same data and structure.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can somebody help me to understand why is happenning this or if I'm doing something wrong?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:37:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:37:12Z</dc:date>
    <item>
      <title>tFileInputJSON failed when i changed a value in JSON data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253976#M37131</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I'm having an issue when I try to extract some values from a JSON data reading a file with&amp;nbsp;&amp;nbsp;tFileInputJSON. The problem is that when i changed a value of the JSON data,&amp;nbsp;tFileInputJSON doesn't extract the pk value.&amp;nbsp;&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="jobExtract_1.png" style="width: 602px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7FG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130536i381EBA2741C73FFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7FG.png" alt="0683p000009M7FG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Successfull Case&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;tFileInputJSON read the file with the JSON&lt;/P&gt; 
&lt;P&gt;{"pk":"2147422292","marketplace_pk":13,"shop_pk":1083925,"reference":"2147422292"}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output shows that the value pk is extracted sucessfully.&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;[statistics] connected&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;pk&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;2147422292&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#003366"&gt;&lt;EM&gt;[statistics] disconnected&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;---------------------------------------------------------------------------------------------------------------------&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Failed Case&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;tFileInputJSON read the file with the JSON (as you can see I only change the value pk, &lt;STRONG&gt;only that&lt;/STRONG&gt;)&lt;/P&gt; 
&lt;P&gt;{"pk":"&lt;STRONG&gt;&lt;U&gt;2147488276&lt;/U&gt;&lt;/STRONG&gt;","marketplace_pk":13,"shop_pk":1083925,"reference":"2147422292"}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The output shows that the value of pk wasn't extracted, even when the structure is the same.&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;[statistics] connected&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;pk&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;[statistics] disconnected&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;For this case I got also the reject output which says&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;|pk | errorCode | errorMessage |&lt;BR /&gt;|=-+---------+---------------------------------------=|&lt;BR /&gt;|0 |null |For input string: "2147688276" - Line: 0|&lt;BR /&gt;'--+---------+----------------------------------------'&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I did some test and from 30 different &lt;STRONG&gt;pk&lt;/STRONG&gt; values, it only read 7, but I don't know why if is the same data and structure.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can somebody help me to understand why is happenning this or if I'm doing something wrong?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253976#M37131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON failed when i changed a value in JSON data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253977#M37132</link>
      <description>Is your pk field defined as an integer?&lt;BR /&gt;In this case, value must be less or equal to 2,147,483,647.</description>
      <pubDate>Fri, 20 Sep 2019 07:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253977#M37132</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-20T07:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputJSON failed when i changed a value in JSON data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253978#M37133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You are correct, I forgot to check that. I change the type from Integer to String and now I get the date from all the PK values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 22:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputJSON-failed-when-i-changed-a-value-in-JSON-data/m-p/2253978#M37133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-23T22:50:37Z</dc:date>
    </item>
  </channel>
</rss>

