<?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: How to use Between in On Operator in tMap for Date_Ranges (between source and lookup) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298727#M71152</link>
    <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;The tMap expression should use Java syntax, it does not allow SQL operator between ... in. My idea is to do inner join based on A.Code = B.Code on tMap, select all fields of A and B.From_Date and B.To_Date in the output table,  add a filter expression in the output table on tMap or filter the data using tFilterRow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong &lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 03:08:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-28T03:08:07Z</dc:date>
    <item>
      <title>How to use Between in On Operator in tMap for Date_Ranges (between source and lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298726#M71151</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a scenario :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select * from A&lt;/P&gt;&lt;P&gt;   inner join B on A.Code = B.Code and A.Date Between B.From_Date and B.To_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the expression at lookup side , somehow I am getting error, may be I am making some syntax issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to achieve this can you please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a turn around, i tried&lt;/P&gt;&lt;P&gt;2..Select * from A&lt;/P&gt;&lt;P&gt;inner join B on A.Code = B.Code&lt;/P&gt;&lt;P&gt;where A.Date Between B.From_Date and B.To_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This i am able to achieve in Expression inside Tmap at output side,&lt;/P&gt;&lt;P&gt;Here the issue is I am filtering the records after join , ideally I need to operate it on  ON condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298726#M71151</guid>
      <dc:creator>Mayur2</dc:creator>
      <dc:date>2024-11-15T22:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Between in On Operator in tMap for Date_Ranges (between source and lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298727#M71152</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;The tMap expression should use Java syntax, it does not allow SQL operator between ... in. My idea is to do inner join based on A.Code = B.Code on tMap, select all fields of A and B.From_Date and B.To_Date in the output table,  add a filter expression in the output table on tMap or filter the data using tFilterRow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong &lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 03:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298727#M71152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T03:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Between in On Operator in tMap for Date_Ranges (between source and lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298728#M71153</link>
      <description>&lt;P&gt;I'm confronting the particular issue. Did You sort out some technique for looking out for this, expecting this is the case will you share the methodology?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.myfordbenefits.bid/" alt="https://www.myfordbenefits.bid/" target="_blank"&gt;MyFordBenefits.Com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 05:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298728#M71153</guid>
      <dc:creator>TCalabro1652773885</dc:creator>
      <dc:date>2022-06-01T05:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Between in On Operator in tMap for Date_Ranges (between source and lookup)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298729#M71154</link>
      <description>&lt;P&gt;Yes, Inside tmap : The expression you set on Left side will act as AND clause while expressions you set on right side would act as where clause&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 08:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-Between-in-On-Operator-in-tMap-for-Date-Ranges/m-p/2298729#M71154</guid>
      <dc:creator>Mayur2</dc:creator>
      <dc:date>2022-06-22T08:41:27Z</dc:date>
    </item>
  </channel>
</rss>

