<?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: Multiple lookups on same file in talend big data batch jobs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201664#M3670</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;unfortunately, the text is unreadable &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;could you clean it and attach some pictures&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;based on last part of text - more than one lookup with tMap, why not?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spark_Lookup.PNG" style="width: 904px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3z5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128442i791F816F80921013/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3z5.png" alt="0683p000009M3z5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMap in Spark batch jobs contain some issues, but from the question is not clean - is it related or not to your problem&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;regards, Vlad&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2019 00:09:00 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-03-27T00:09:00Z</dc:date>
    <item>
      <title>Multiple lookups on same file in talend big data batch jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201663#M3669</link>
      <description>&lt;P&gt;I am using Talend data fabric 7.1 enterprise edition.&lt;/P&gt; 
&lt;P&gt;I am trying to create a Big Data Batch job and using Spark framework.&lt;/P&gt; 
&lt;P&gt;I have a look up file. it has 2 columns, lookup_id, Description.&lt;/P&gt; 
&lt;P&gt;I have another large file that has fact data. It also has columns like STATUS_ID, SUB_STATUS_ID, REASON_ID, REQUEST_TYPE_ID, CATEGORY_ID.&lt;/P&gt; 
&lt;P&gt;If I were dealing with a database, i would alias my look up file, 5 times and join each column to lookup_id and get the description and my query would look like this.&lt;/P&gt; 
&lt;P&gt;select f.col1, f.col2, f.col3,&lt;/P&gt; 
&lt;P&gt;a1.description as Status,&lt;/P&gt; 
&lt;P&gt;a2.description as sub_status,&lt;/P&gt; 
&lt;P&gt;a3.description as reason_desc,&lt;/P&gt; 
&lt;P&gt;a4.description as request_type,&lt;/P&gt; 
&lt;P&gt;a5.description ass category_descr&lt;/P&gt; 
&lt;P&gt;from fact_table f&lt;/P&gt; 
&lt;P&gt;left outer join lookup_table a1 on f.STATUS_ID = a1.lookup_id&lt;/P&gt; 
&lt;P&gt;left outer join lookup_table a2 on f.SUB_STATUS_ID = a2.lookup_id&lt;/P&gt; 
&lt;P&gt;left outer join lookup_table a3 on f.REASON_ID = a3.lookup_id&lt;/P&gt; 
&lt;P&gt;left outer join lookup_table a4 on f.REQUEST_TYPE_ID = a4.lookup_id&lt;/P&gt; 
&lt;P&gt;left outer join lookup_table a5 on f.CATEGORY_ID = a5.lookup_id&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; but when I try to do the same thing using single tMap and 5 alias for lookup file, I get an error at tMap saying "All lookup tables must have the same expressions. This expression doesnt exist in other lookups". Talend Big Data Batch is only allowing me to use one look up per tMap component. I know it can be done easily on Standard talend job but I have functionality that needs me to use talend big data with spark. Is there any way out, any other component that will help me avoid 1 tMap per a look up column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201663#M3669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple lookups on same file in talend big data batch jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201664#M3670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;unfortunately, the text is unreadable &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;could you clean it and attach some pictures&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;based on last part of text - more than one lookup with tMap, why not?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spark_Lookup.PNG" style="width: 904px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3z5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128442i791F816F80921013/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3z5.png" alt="0683p000009M3z5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMap in Spark batch jobs contain some issues, but from the question is not clean - is it related or not to your problem&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;regards, Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201664#M3670</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-27T00:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple lookups on same file in talend big data batch jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201665#M3671</link>
      <description>&lt;P&gt;Thank you for the reply. That was my first post. Did not expect the text mess up.&lt;/P&gt; 
&lt;P&gt;I edited my post and made it more readable.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Will add some snapshots of my talend job in a couple of hours.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 23:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-lookups-on-same-file-in-talend-big-data-batch-jobs/m-p/2201665#M3671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T23:37:01Z</dc:date>
    </item>
  </channel>
</rss>

