<?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: Pattern for tracking processing status in the database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pattern-for-tracking-processing-status-in-the-database/m-p/2354230#M120251</link>
    <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;As the reject flow option can't used with Bulk mode together,  I would like do the validations beforehand using tSchemaCompilanceCheck component and get the reject rows, these rows will be updated the status.&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, 22 Jul 2021 07:58:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-22T07:58:39Z</dc:date>
    <item>
      <title>Pattern for tracking processing status in the database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pattern-for-tracking-processing-status-in-the-database/m-p/2354229#M120250</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with some data and a status like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A        B          Status&lt;/P&gt;&lt;P&gt;Data1 Data2   New&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this data with a Db2Input and then write data elsewhere with a Db2Output.&lt;/P&gt;&lt;P&gt;Now I want to set the Status to Processed if I can successfully process and write the data or set the status to Error (and possibly the cause of the error in a separate field) for those that have failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A         B        Status&lt;/P&gt;&lt;P&gt;Data1 Data2 Processed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have many records (&amp;gt; 1 Mio), I use DBoutput in &lt;B&gt;Bulk mode&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;Can someone recomend a pattern for a workflow that handles this scenario?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In single line processing mode (Db2Output without batch size) it should be easy, but the performance is not sufficient.&lt;/LI&gt;&lt;LI&gt;I should probably do all kind of validations beforehand and not attempt to write the data and instead update the status to error. a db error should be not part of a normal processing scenario (?)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone has a pattern or example I would be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pattern-for-tracking-processing-status-in-the-database/m-p/2354229#M120250</guid>
      <dc:creator>FabianB</dc:creator>
      <dc:date>2024-11-15T23:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern for tracking processing status in the database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pattern-for-tracking-processing-status-in-the-database/m-p/2354230#M120251</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;As the reject flow option can't used with Bulk mode together,  I would like do the validations beforehand using tSchemaCompilanceCheck component and get the reject rows, these rows will be updated the status.&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, 22 Jul 2021 07:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pattern-for-tracking-processing-status-in-the-database/m-p/2354230#M120251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-22T07:58:39Z</dc:date>
    </item>
  </channel>
</rss>

