<?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 Inputs to single output column in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283588#M57460</link>
    <description>You have row2 &amp;amp; row3 both defined as inner joins with unique match.  This means that your product num must be present in BOTH files before your main row will "pass through" the tMap.  As you can see from your files and your test run, that will never happen.  &lt;BR /&gt;I would uncheck your inner join boxes and see if what you get is what you want.</description>
    <pubDate>Thu, 31 Jul 2008 22:24:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-31T22:24:13Z</dc:date>
    <item>
      <title>Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283585#M57457</link>
      <description>To help explain my problem I have created an example project in Talend (see attached pictures). 
&lt;BR /&gt;This project has 3 sets of input data (in excel form). One is a file containing information about production parameters for producing various products on a specific date. The other two files can be thought of as quality control sheets for the 2 products made on this date. 
&lt;BR /&gt;Products are all given a unique number, and this number has been used to join the QC sheets to the Production Parameter details sheet. I want to combine all of these sheets into one table in a database. The columns from the QC sheets should be appended together based on the product number. 
&lt;BR /&gt;When I try to run the project as shown in the images, I receive the following error messages: 
&lt;BR /&gt;________________________________________ 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; row2.Product_Id.Product_Id cannot be resolved or is not a field 
&lt;BR /&gt; Syntax error on token "row3", delete this token 
&lt;BR /&gt; row2.Weight.Weight cannot be resolved or is not a field 
&lt;BR /&gt; Syntax error on token "row3", delete this token 
&lt;BR /&gt; row2.Pass_QC.Pass_QC cannot be resolved or is not a field 
&lt;BR /&gt; Syntax error on token "row3", delete this token 
&lt;BR /&gt; at cymat_production_parameters_db.test_0_1.Test.tFileInputExcel_1Process(Test.java:1281) 
&lt;BR /&gt; at cymat_production_parameters_db.test_0_1.Test.runJobInTOS(Test.java:2570) 
&lt;BR /&gt; at cymat_production_parameters_db.test_0_1.Test.main(Test.java:2485) 
&lt;BR /&gt;________________________________________ 
&lt;BR /&gt;What do I need to put in the expression editor for the output table to solve this problem? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MClj.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139642iB143616E8B962E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MClj.jpg" alt="0683p000009MClj.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCkD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156662iBED53A6624946E54/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCkD.jpg" alt="0683p000009MCkD.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MClo.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153566iA1E7C5A3A63DBB51/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MClo.jpg" alt="0683p000009MClo.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283585#M57457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283586#M57458</link>
      <description>You just have to put a '+' between "row2.weight" and "row3.weight".&lt;BR /&gt;And for the Product_ID, since you use an Inner Join, you only need row2.Product_ID without row3.Product_ID.&lt;BR /&gt;Isn't it ?</description>
      <pubDate>Thu, 31 Jul 2008 21:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283586#M57458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-31T21:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283587#M57459</link>
      <description>I did as you suggested and it has seemed to work. However, although the project ran with no errors, none of the data is being transferred to MySQL (see picture). 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCSP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129359i67A0BA0F43D28A5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCSP.jpg" alt="0683p000009MCSP.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 31 Jul 2008 21:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283587#M57459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-31T21:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283588#M57460</link>
      <description>You have row2 &amp;amp; row3 both defined as inner joins with unique match.  This means that your product num must be present in BOTH files before your main row will "pass through" the tMap.  As you can see from your files and your test run, that will never happen.  &lt;BR /&gt;I would uncheck your inner join boxes and see if what you get is what you want.</description>
      <pubDate>Thu, 31 Jul 2008 22:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283588#M57460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-31T22:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283589#M57461</link>
      <description>Thanks SMaz, your suggestion made a definite improvement. 
&lt;BR /&gt;However, my output is not exactly as I expected. It works fine for Weight because it is an Integer, but for a string the expression: 
&lt;BR /&gt;row2.Product_Id + row3.Product_Id 
&lt;BR /&gt;Results in nullProduct1 when QC2 has no value and Product2null when QC1 has no value. Any idea how to fix this? 
&lt;BR /&gt;Picture attached. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MClt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136998i59DCBB23DAF11D38/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MClt.jpg" alt="0683p000009MClt.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283589#M57461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-01T13:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283590#M57462</link>
      <description>I solved the null problem using the Ereplace function. Is this the best way to do it, or is there another way to take care of it?</description>
      <pubDate>Fri, 01 Aug 2008 13:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283590#M57462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-01T13:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Inputs to single output column in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283591#M57463</link>
      <description>I'd use an "If" statement for the expression that generates the Product_Id column. In Java it's like this:
&lt;BR /&gt;row2.Product_Id==null?row3.Product_Id:row2.Product_Id</description>
      <pubDate>Fri, 01 Aug 2008 21:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-Inputs-to-single-output-column-in-tmap/m-p/2283591#M57463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-01T21:06:50Z</dc:date>
    </item>
  </channel>
</rss>

