<?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: Dynamic Schema and tSchemaComplianceCh in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236330#M25078</link>
    <description>The problem with the schema check is, you could have a couple of different schemas and the current component does not have a list of different possible schemas. One idea could be to setup a schema with all possible column names and check the dynamic schema by the column name.
&lt;BR /&gt;The next problem: CSV files produce in Talend only schemas with the data type String.
&lt;BR /&gt;The bulk loaders of the different database vendors provides in many different &amp;nbsp;ways the information about the result of the import. Often the bulk loads only response with only a ok-message.
&lt;BR /&gt;I suggest to check the target table after the import to get the numbers.</description>
    <pubDate>Fri, 03 Feb 2017 20:19:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-03T20:19:14Z</dc:date>
    <item>
      <title>Dynamic Schema and tSchemaComplianceCh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236329#M25077</link>
      <description>Hello members!&amp;nbsp; I have a quick question and it doesn't necessarily pertain to the subject line although that is the current issue.&amp;nbsp; I am loading 12 different flat files into staging and currently have one job that iterates through a control table and then loads the file and associated table using variables setup in the looping process and dynamic schema.&amp;nbsp; I would like to modify this job to use a bulk db component for performance reasons and want to change the flow to load the flat file to another flat file (I add columns to the dynamic schema in a tMap) and then bulk load it.&amp;nbsp; I would like to capture the number of rejects for auditing purposes and that is not possible with a bulk load component.&amp;nbsp; My thought was to run the flat file through the tSchemaComplianceCheck before writing to the bulk load file, but that component does not support dynamic schemas.&amp;nbsp; Can anyone tell me a design where I can get both performance gain (like bulk loading) but also get the necessary metadata about the load (insert count, reject count, etc.)? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Scott</description>
      <pubDate>Fri, 03 Feb 2017 18:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236329#M25077</guid>
      <dc:creator>TXAggie00</dc:creator>
      <dc:date>2017-02-03T18:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Schema and tSchemaComplianceCh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236330#M25078</link>
      <description>The problem with the schema check is, you could have a couple of different schemas and the current component does not have a list of different possible schemas. One idea could be to setup a schema with all possible column names and check the dynamic schema by the column name.
&lt;BR /&gt;The next problem: CSV files produce in Talend only schemas with the data type String.
&lt;BR /&gt;The bulk loaders of the different database vendors provides in many different &amp;nbsp;ways the information about the result of the import. Often the bulk loads only response with only a ok-message.
&lt;BR /&gt;I suggest to check the target table after the import to get the numbers.</description>
      <pubDate>Fri, 03 Feb 2017 20:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236330#M25078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T20:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Schema and tSchemaComplianceCh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236331#M25079</link>
      <description>Thanks for feedback.&amp;nbsp; I do like the idea of doing a count on the target table, especially since this is staging.&amp;nbsp; But, you're right, in order to get the file ready for bulk, it would also need the specific file "schema" to match the db schema in order to insure data integrity.&amp;nbsp; I didn't think about that, but that leads me back down the road of non-dynamic and separate flows.&amp;nbsp; The current design is maintenance friendly, a fairly straight-forward approach and provides the necessary metadata for auditing.&amp;nbsp; I cringe at the idea of creating several subjobs or child jobs (per respective file/table) using conditional flows during the loop iteration in order to gain performance.&amp;nbsp; I want the cake and be able to eat it too...&amp;nbsp; Luckily the performance is well within the acceptable range, so I have some time to stew on it before making changes leading to a major release.
&lt;BR /&gt;I appreciate your input!</description>
      <pubDate>Fri, 03 Feb 2017 20:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-and-tSchemaComplianceCh/m-p/2236331#M25079</guid>
      <dc:creator>TXAggie00</dc:creator>
      <dc:date>2017-02-03T20:42:45Z</dc:date>
    </item>
  </channel>
</rss>

