<?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: Contains Matching? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205347#M5841</link>
    <description>&lt;P&gt;Use a filter expression in your TMap with the java function String.contains()&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 17:37:59 GMT</pubDate>
    <dc:creator>lizzy1</dc:creator>
    <dc:date>2019-10-16T17:37:59Z</dc:date>
    <item>
      <title>Contains Matching?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205346#M5840</link>
      <description>&lt;P&gt;Hi. I'm pretty new to Talend and looking to do the following:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a list of filename gathered from the directory using a tFileList and outputted to a MSSQL DB table called "&lt;STRONG&gt;Reports&lt;/STRONG&gt;"&lt;/P&gt; 
&lt;P&gt;e.g.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;ID | FileName&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;1&amp;nbsp; | ABC_000_ACC12345_Rep1.pdf&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;2&amp;nbsp; | DE_ACC35345_Rep2.pdf&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;3&amp;nbsp; | DE_123_ACC12345_Report.pdf&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;etc&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I then have a mapping file which has client IDs and Account Numbers in it.&amp;nbsp; I have outputted this to another SQL table called "&lt;STRONG&gt;Accounts&lt;/STRONG&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;e.g.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;ID | Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| AccountNumber&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;1&amp;nbsp; | Joe Bloggs |&amp;nbsp;ACC12345&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;2&amp;nbsp; | John Doe&amp;nbsp; &amp;nbsp;| ACC35345&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I need is to join the reports from the "&lt;STRONG&gt;Reports&lt;/STRONG&gt;" table, to the relevant account from the "&lt;STRONG&gt;Accounts&lt;/STRONG&gt;" table by looking for the "&lt;STRONG&gt;AccountNumber&lt;/STRONG&gt;" in the filename strings from the "&lt;STRONG&gt;Reports&lt;/STRONG&gt;" table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With the examples shown above, my aim is to get a final output like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;ReportID | ClientID | AccountNumber | Filename&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ACC12345&amp;nbsp; &amp;nbsp; &amp;nbsp; | ABC_000_ACC12345_Rep1.pdf&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ACC35345&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;| DE_ACC35345_Rep2.pdf&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ACC12345&amp;nbsp; &amp;nbsp; &amp;nbsp; | DE_123_ACC12345_Report.pdf&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Does Talend have any functions etc that can use one set of data almost as a contains match lookup?&amp;nbsp; Is anybody able to help?&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205346#M5840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Contains Matching?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205347#M5841</link>
      <description>&lt;P&gt;Use a filter expression in your TMap with the java function String.contains()&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 17:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205347#M5841</guid>
      <dc:creator>lizzy1</dc:creator>
      <dc:date>2019-10-16T17:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Contains Matching?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205348#M5842</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please refer the screenshot below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 738px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7pQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135537iA2182A8ECB249A90/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7pQ.png" alt="0683p000009M7pQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7nu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156250iD14AAFBFA2CC5A13/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7nu.png" alt="0683p000009M7nu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please note that while using contain function, you need to make sure that you are trimming all the extra spaces while reading the data from file (By selecting tFileInputDelimited -&amp;gt; Advanced settings-&amp;gt; Trim all columns&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 22:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205348#M5842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-16T22:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Contains Matching?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205349#M5843</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Nikhil, that's great. Very much appreciated.&amp;nbsp; Being a SQL developer and not a Java developer, and being new to Talend, I am getting there... slowly&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've now got my job to work as I want it&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 14:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205349#M5843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-17T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Contains Matching?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205350#M5844</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000007877wAAA"&gt;@abouzigon&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;No worries. If you ask my background, I also started my professional journey from Oracle SQL &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So its just a matter of time before you also become a master in Talend!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 14:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Contains-Matching/m-p/2205350#M5844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-17T14:43:01Z</dc:date>
    </item>
  </channel>
</rss>

