<?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 Update Redshift table based on CTE values in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Update-Redshift-table-based-on-CTE-values/m-p/2206719#M908</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to talend.  I have an existing on-prime ETL process for SQL server, moving to Red-Shift. It is a typical File to DB data load and clean-up the data.  I was able to convert the File to DB process in Talend. Quite stuck with the cleanup process that exists in  current process. The ETL process invokes an Stored Procedure, little complex (multiple temp tables and several CTEs) to find the country from an address based on string patterns. I have been trying to achieve this complex query in tDBRow. I am not sure, i can able to achieve this in Talend tDBRow component. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The routines starts like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with cte1 as (select address1 + address2 + address3 as AddressText from customeraddress)&lt;/P&gt;&lt;P&gt;, zip as (Select case when right (AddressText, 5) like '%[0-9]%'  then &lt;/P&gt;&lt;P&gt;right (AddressText, 5) else when case when "logic2" then '' end zipcode , * from cte&lt;/P&gt;&lt;P&gt;) ...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me here on the best approach.   &lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:39:52 GMT</pubDate>
    <dc:creator>mramachandran</dc:creator>
    <dc:date>2024-11-15T23:39:52Z</dc:date>
    <item>
      <title>Update Redshift table based on CTE values</title>
      <link>https://community.qlik.com/t5/Data-Quality/Update-Redshift-table-based-on-CTE-values/m-p/2206719#M908</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to talend.  I have an existing on-prime ETL process for SQL server, moving to Red-Shift. It is a typical File to DB data load and clean-up the data.  I was able to convert the File to DB process in Talend. Quite stuck with the cleanup process that exists in  current process. The ETL process invokes an Stored Procedure, little complex (multiple temp tables and several CTEs) to find the country from an address based on string patterns. I have been trying to achieve this complex query in tDBRow. I am not sure, i can able to achieve this in Talend tDBRow component. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The routines starts like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with cte1 as (select address1 + address2 + address3 as AddressText from customeraddress)&lt;/P&gt;&lt;P&gt;, zip as (Select case when right (AddressText, 5) like '%[0-9]%'  then &lt;/P&gt;&lt;P&gt;right (AddressText, 5) else when case when "logic2" then '' end zipcode , * from cte&lt;/P&gt;&lt;P&gt;) ...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me here on the best approach.   &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Update-Redshift-table-based-on-CTE-values/m-p/2206719#M908</guid>
      <dc:creator>mramachandran</dc:creator>
      <dc:date>2024-11-15T23:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update Redshift table based on CTE values</title>
      <link>https://community.qlik.com/t5/Data-Quality/Update-Redshift-table-based-on-CTE-values/m-p/2206720#M909</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;To select fields in a query, we usually use tDBInput component, try with tDBInput component  and let us know if you have any troubles. &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>Fri, 15 Oct 2021 08:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Update-Redshift-table-based-on-CTE-values/m-p/2206720#M909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-15T08:02:59Z</dc:date>
    </item>
  </channel>
</rss>

