<?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: Complex CSV file as a source - Can Replicate ingest and process? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972300#M3534</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replicate cannot read such file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a fixed structure file that you need to define on the connection settings:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/File/define_table_and_full_load_data.htm#Defining%20tables%20and%20full%20load%20data" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/File/define_table_and_full_load_data.htm#Defining%20tables%20and%20full%20load%20data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if any additional questions we may be able to further assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Jonathan.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 06:56:33 GMT</pubDate>
    <dc:creator>Jonathan_V</dc:creator>
    <dc:date>2022-08-24T06:56:33Z</dc:date>
    <item>
      <title>Complex CSV file as a source - Can Replicate ingest and process?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972170#M3530</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;
&lt;P&gt;We currently use a different product to take a complex CSV file and load each of the different record types into their own database table.&amp;nbsp; I would like to replicate this process in Replicate as closely as possible.&amp;nbsp; Has anyone tried something similar, and how were you able to get it to work if it was doable?&lt;/P&gt;
&lt;P&gt;From playing around with File endpoint configurations and digging through documentation, it does NOT appear that Replicate is able to handle this scenario.&amp;nbsp; Unless I am missing something, which I would be glad to have pointed out.&lt;/P&gt;
&lt;P&gt;In this case, a complex (or jagged) CSV file is a CSV file that contains records that will have differing numbers of fields.&amp;nbsp; For example, the first 10 records may have 25 fields and the next 10 records may have 47 fields.&amp;nbsp; The number of fields allow for identifying what kind of record it is and where/what table it should be loaded into.&lt;/P&gt;
&lt;P&gt;Configuring a File Source endpoint with multiple, different tables using multiple CSV files, one for each record type, is rather straight forward.&amp;nbsp; However, our initial thought that the "File preprocessing command" option could be used for this does not appear that it will work.&amp;nbsp; The preprocessing command and script looks like it would be run against every CSV file that is defined in the "full load file" field of each table definition.&amp;nbsp; However, the file defined must match the table definition or else Replicate throws an error during processing.&amp;nbsp; This means that the single complex CSV file can't be listed as the "full load file" for each table defined and then preprocessed, from what I'm seeing.&lt;/P&gt;
&lt;P&gt;Essentially, table1 and table2 are being expected to be defined and matched from the already existing files csv1 and csv2, and any preprocessing will be done to csv1 and csv2 equally.&amp;nbsp; In our case, we only have the one complex csv file at the start, not one per table.&lt;/P&gt;
&lt;P&gt;Unless there are any good ideas, or someone can point out what I've missed, it looks like the workaround is going to be to process the complex CSV outside of Replicate before any file ingestion to generate the set of CSV full load files for each individual table in the File Source configuration.&amp;nbsp; After that, the File Source is simply configured with the multiple full load CSVs and multiple table definitions.&lt;/P&gt;
&lt;P&gt;Using the Change Processing options and files may have some promise, but runs into the issue that full load files need to be defined and matched to the tables configured.&amp;nbsp; I have to do some more exploration down this route, though it doesn't look like it will work.&lt;/P&gt;
&lt;P&gt;Thanks for any possible thoughts or ideas, or other curve-balls to consider.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 20:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972170#M3530</guid>
      <dc:creator>uTK421</dc:creator>
      <dc:date>2022-08-23T20:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Complex CSV file as a source - Can Replicate ingest and process?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972300#M3534</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replicate cannot read such file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is a fixed structure file that you need to define on the connection settings:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/File/define_table_and_full_load_data.htm#Defining%20tables%20and%20full%20load%20data" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/File/define_table_and_full_load_data.htm#Defining%20tables%20and%20full%20load%20data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if any additional questions we may be able to further assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Jonathan.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 06:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972300#M3534</guid>
      <dc:creator>Jonathan_V</dc:creator>
      <dc:date>2022-08-24T06:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Complex CSV file as a source - Can Replicate ingest and process?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972625#M3545</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/195031"&gt;@uTK421&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please submit an enhancement request at the link below for our Product Management Team to consider adding support for this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Complex-CSV-file-as-a-source-Can-Replicate-ingest-and-process/m-p/1972625#M3545</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2022-08-24T15:50:58Z</dc:date>
    </item>
  </channel>
</rss>

