<?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 Re: tContextLoad fails with Integer as null in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tContextLoad-fails-with-Integer-as-null/m-p/2357568#M122828</link>
    <description>&lt;P&gt;Maybe you can use a value like -1 or 0 for that context variable which will mean to not use it.&amp;nbsp; You can add a tMap or tFilterRow before your tContextLoad and filter on the value null key/pair.&amp;nbsp; If you do not pass a value, then it is not overwritten.&amp;nbsp; However, the tContextLoad can be configured to ignore, warn or error on these conditions.&amp;nbsp; This way you do not need to deal with null integer values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not a great solution, but I personally dislike null Integer values... If possible, which is not always the case, I try to give my numeric variable a value and do not allow nulls.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 11:50:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-06T11:50:23Z</dc:date>
    <item>
      <title>tContextLoad fails with Integer as null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tContextLoad-fails-with-Integer-as-null/m-p/2357567#M122827</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;as the Talend Studio performance decreases drastically with a lot of objects in one job, we are trying to outsource some logic to Subjobs.&lt;/P&gt; 
&lt;P&gt;Unfortunately there is an error while promoting the context variables back to the main job.&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;We promote all context variables to the subjob&lt;/LI&gt; 
 &lt;LI&gt;We do stuff in the subjob&lt;/LI&gt; 
 &lt;LI&gt;We want to promote the context variables back to the main job&lt;/LI&gt; 
 &lt;UL&gt; 
  &lt;LI&gt;Job fails if there is a Integer not assigned (null)&lt;/LI&gt; 
  &lt;LI&gt;tContextLoad uses key/value mechanism using strings, which fails if "null" is assigned to an Integer&lt;/LI&gt; 
 &lt;/UL&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob" style="width: 356px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrbW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154324iA2EA2F830038E4D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrbW.jpg" alt="0683p000009LrbW.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MainJob&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob Context" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrFz.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139851i972C28A626D6A504/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrFz.jpg" alt="0683p000009LrFz.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MainJob Context&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Subjob" style="width: 567px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsA0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148086iA78DD47878BC61AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsA0.jpg" alt="0683p000009LsA0.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Subjob&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob Run" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls9I.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129459i581857749EBB7844/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls9I.jpg" alt="0683p000009Ls9I.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MainJob Run&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tContextLoad-fails-with-Integer-as-null/m-p/2357567#M122827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: tContextLoad fails with Integer as null</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tContextLoad-fails-with-Integer-as-null/m-p/2357568#M122828</link>
      <description>&lt;P&gt;Maybe you can use a value like -1 or 0 for that context variable which will mean to not use it.&amp;nbsp; You can add a tMap or tFilterRow before your tContextLoad and filter on the value null key/pair.&amp;nbsp; If you do not pass a value, then it is not overwritten.&amp;nbsp; However, the tContextLoad can be configured to ignore, warn or error on these conditions.&amp;nbsp; This way you do not need to deal with null integer values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not a great solution, but I personally dislike null Integer values... If possible, which is not always the case, I try to give my numeric variable a value and do not allow nulls.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 11:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tContextLoad-fails-with-Integer-as-null/m-p/2357568#M122828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T11:50:23Z</dc:date>
    </item>
  </channel>
</rss>

