<?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: Column Ordinal Position in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2427611#M10024</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Asking because my source may change the order of columns, even if the number &amp;amp; names remain unchanged.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in such case i am not sure how to are going to Change the order of columns without recreate the table. if you add any column, it may be added in the last of the table.&amp;nbsp; if you recreate the table them object id may change causing replicate to fetch the data for that as it required old object id.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;until you refresh the metadata. request you to test the use case in lower Environment and check post keep_CSV_file and keep_Error_file to check the Sequence of columns fetched by the QR.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 09:19:30 GMT</pubDate>
    <dc:creator>SushilKumar</dc:creator>
    <dc:date>2024-03-06T09:19:30Z</dc:date>
    <item>
      <title>Column Ordinal Position</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2426218#M9950</link>
      <description>&lt;P&gt;For an existing CDC task, target AWS Redshift...&lt;/P&gt;
&lt;P&gt;Does QRs "COPY" execution explicitly declare a table's columns &amp;amp; their order ?&lt;/P&gt;
&lt;P&gt;Asking because my source may change the order of columns, even if the number &amp;amp; names remain unchanged.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 22:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2426218#M9950</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2024-03-02T22:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Column Ordinal Position</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2426221#M9951</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;You are right, Qlik Replicate uses explicit columns order during the data processing.&lt;/P&gt;
&lt;P&gt;In Full Load staget, Qlik Replicate read data from source DB and generate CSV data files (*step 1), send the CSV files to storage (eg S3 in your scenario) then issue a COPY command to load Data Files from S3 to Redshift final tables.&lt;/P&gt;
&lt;P&gt;In CDC stage, the data are read from source DB transaction log (rather than from DB source tables), the CSV files (*step 1) are sent to "net change table". And in the last step, the data are merged from "net change table" to final tables.&lt;/P&gt;
&lt;P&gt;The columns order are explicitly defined while the CSV data files are generated, until to the last step of data processing. If you want to know the details you may set &lt;FONT face="courier new,courier"&gt;TARGET_LOAD&lt;/FONT&gt;/&lt;FONT face="courier new,courier"&gt;TARGET_APPLY&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;Trace&lt;/FONT&gt; (or Verbose), rerun the task and check the columns order in task log files.&lt;/P&gt;
&lt;P&gt;A sample of logging level setting:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1709432543212.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161150iEBD139248DDEEFB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1709432543212.png" alt="john_wang_0-1709432543212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 02:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2426221#M9951</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-03-03T02:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Column Ordinal Position</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2427611#M10024</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Asking because my source may change the order of columns, even if the number &amp;amp; names remain unchanged.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in such case i am not sure how to are going to Change the order of columns without recreate the table. if you add any column, it may be added in the last of the table.&amp;nbsp; if you recreate the table them object id may change causing replicate to fetch the data for that as it required old object id.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;until you refresh the metadata. request you to test the use case in lower Environment and check post keep_CSV_file and keep_Error_file to check the Sequence of columns fetched by the QR.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 09:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Column-Ordinal-Position/m-p/2427611#M10024</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-03-06T09:19:30Z</dc:date>
    </item>
  </channel>
</rss>

