<?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: Help for custom SCD component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279527#M54659</link>
    <description>hi bkar81, hi jlolling, 
&lt;BR /&gt;Sorry but I'm not sure, I think that neither type0 nor type1 are correct. 
&lt;BR /&gt;I've attached an example with mixed type fields (I've also attached the scd form). 
&lt;BR /&gt;After the second run, only two rows have "dw_id_loading" (my audit column)=2: rows added by type2 rule. 
&lt;BR /&gt;Really job updated rows 2,3 and 4, but it didn't changed "dw_id_loading" field. 
&lt;BR /&gt;So type0 does not change all rows inserted/updated. 
&lt;BR /&gt;Even, if you see field "note" (type1) in source row "02": I modified only this value, but it is changed in target table. 
&lt;BR /&gt;Because job run id changes at every execution, all rows would be upgraded with new "dw_id_loading" . 
&lt;BR /&gt;That's incorrect for my field &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;Thank's all, but I still thinking that a custom (or official? ) component is required. 
&lt;BR /&gt;P.S. @jlolling: I also maked similar jobs for my project, but yours are very very intersting. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJ3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131088i8861F4F27F6BCFF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJ3.png" alt="0683p000009MDJ3.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD6x.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145795i23F2A3501A95B54D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD6x.png" alt="0683p000009MD6x.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 20 Mar 2014 09:17:08 GMT</pubDate>
    <dc:creator>gorotman</dc:creator>
    <dc:date>2014-03-20T09:17:08Z</dc:date>
    <item>
      <title>Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279522#M54654</link>
      <description>Hi all, 
&lt;BR /&gt;I would try to create a custom SCD component (for MSSQL, derived from current tMSSqlSCD). 
&lt;BR /&gt;I need to add some features (these are examples of my needs : 
&lt;A href="https://jira.talendforge.org/browse/TDI-13479" target="_blank" rel="nofollow noopener noreferrer"&gt;audit column&lt;/A&gt;, 
&lt;A href="https://jira.talendforge.org/browse/TDI-27253" target="_blank" rel="nofollow noopener noreferrer"&gt;fixed end date&lt;/A&gt; ). 
&lt;BR /&gt;Anyone knows how I can modify the "Editor SCD" form? I'm talking about the form where I set fields type, surrogate key column, etc etc..... 
&lt;BR /&gt;I added custom code to component source, but I can't find how to modify this form to use custom properties. 
&lt;BR /&gt;Any help please? 
&lt;BR /&gt;Thank's in advance.</description>
      <pubDate>Sat, 16 Nov 2024 11:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279522#M54654</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2024-11-16T11:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279523#M54655</link>
      <description>Hi, 
&lt;BR /&gt;Please correct me if I am wrong... 
&lt;BR /&gt;I saw the link 
&lt;A href="https://jira.talendforge.org/browse/TDI-13479" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-13479&lt;/A&gt; 
&lt;BR /&gt;If these are the columns which will insert/update irrespective of the SCD, then just let me know about this... 
&lt;BR /&gt;If the other fields are into SCD types, then definitely either there will be a row insert / update. So if you put these columns in Type 1, then when a new row is inserted / updated, the latest data will be present right. 
&lt;BR /&gt;I don't know whether I understood your requirement or not. Its just my thought.</description>
      <pubDate>Wed, 19 Mar 2014 10:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279523#M54655</guid>
      <dc:creator>bkar81</dc:creator>
      <dc:date>2014-03-19T10:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279524#M54656</link>
      <description>I'll try to better explain my needs (first of all: sorry for my incorrect english 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt; ). 
&lt;BR /&gt;The audit column may be the job run id. I use it to know when a row was inserted or modified (it refers to an history table of jobs); it is useful in case of errors, analyze, etc..etc.. 
&lt;BR /&gt;So this filed must be upgraded only when this row is inserted or modified in according to versioning rules (type2, type1 and so). 
&lt;BR /&gt;But job run id changes every times (it is an auto increment data), so if I use type1, this filed would be upgraded by every execution, if data source was changed or not. Also it changes all history or I have to set ONLY_UPDATE_ACTIVE check but I lost the history correction feature (male/female or birthdate....). 
&lt;BR /&gt;thank's and bye.</description>
      <pubDate>Wed, 19 Mar 2014 16:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279524#M54656</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2014-03-19T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279525#M54657</link>
      <description>Sorry, If I were in the situation to handle this kind of scenario, I would have a job_config table /config file something like that which would store the last job_run_id+1 in reference to each job. And everytime while the job runs, I will update this value to job_run_id column in tMap and keep it as Type 1 column in the SCD component, so even if other columns wouldn't change, this will get updated.
&lt;BR /&gt;Sorry, I couldn't think of any other work around as of now and I don't know whether there is a straight forward possibility available in a SCD component.</description>
      <pubDate>Wed, 19 Mar 2014 16:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279525#M54657</guid>
      <dc:creator>bkar81</dc:creator>
      <dc:date>2014-03-19T16:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279526#M54658</link>
      <description>@gorotman: You audit column is a very common pattern in DWH scenarios. The current SCD component can handle this well. You read your source table and lead the flow to a tMap. In the tMap you add your audit column and in the SCD column you use the audit column for Type 0 columns. This way every new dataset gets it value for the audit column.
&lt;BR /&gt;We usually create a long (bigint) value for every single job run and put this ID to every dataset created by the this job. This is our way to support data lineage.
&lt;BR /&gt;By the way I have published the components which does the job for us in Talend Exchange:
&lt;BR /&gt;tJobInstanceStart, tJobInstanceEnd and tJobDataRangeScanner
&lt;BR /&gt;Conclusion: From my point of view you do not need to create a new SCD component.</description>
      <pubDate>Wed, 19 Mar 2014 18:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279526#M54658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279527#M54659</link>
      <description>hi bkar81, hi jlolling, 
&lt;BR /&gt;Sorry but I'm not sure, I think that neither type0 nor type1 are correct. 
&lt;BR /&gt;I've attached an example with mixed type fields (I've also attached the scd form). 
&lt;BR /&gt;After the second run, only two rows have "dw_id_loading" (my audit column)=2: rows added by type2 rule. 
&lt;BR /&gt;Really job updated rows 2,3 and 4, but it didn't changed "dw_id_loading" field. 
&lt;BR /&gt;So type0 does not change all rows inserted/updated. 
&lt;BR /&gt;Even, if you see field "note" (type1) in source row "02": I modified only this value, but it is changed in target table. 
&lt;BR /&gt;Because job run id changes at every execution, all rows would be upgraded with new "dw_id_loading" . 
&lt;BR /&gt;That's incorrect for my field &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;Thank's all, but I still thinking that a custom (or official? ) component is required. 
&lt;BR /&gt;P.S. @jlolling: I also maked similar jobs for my project, but yours are very very intersting. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDJ3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131088i8861F4F27F6BCFF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDJ3.png" alt="0683p000009MDJ3.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD6x.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145795i23F2A3501A95B54D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD6x.png" alt="0683p000009MD6x.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 20 Mar 2014 09:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279527#M54659</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2014-03-20T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279528#M54660</link>
      <description>An update: 
&lt;BR /&gt;the "Editor SCD" form code is in "org.talend.designer.scd_5.4.1.r111943.jar" (for 5.4.1), located in the "plugins" folder. 
&lt;BR /&gt;First impression is that creating a custom SCD component will be very very expansive..... =(</description>
      <pubDate>Mon, 24 Mar 2014 09:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279528#M54660</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2014-03-24T09:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help for custom SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279529#M54661</link>
      <description>Update:
&lt;BR /&gt;I created my custom component for Slowly Changing Dimension. I added it in talend exchange.
&lt;BR /&gt;If it's useful to someone 
&lt;A href="http://www.talendforge.org/exchange/index.php?eid=1193&amp;amp;product=tos&amp;amp;action=view" target="_blank" rel="nofollow noopener noreferrer"&gt;this is the link&lt;/A&gt; to it.
&lt;BR /&gt; 
&lt;BR /&gt;
&lt;BR /&gt;bye</description>
      <pubDate>Thu, 08 May 2014 10:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-for-custom-SCD-component/m-p/2279529#M54661</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2014-05-08T10:28:07Z</dc:date>
    </item>
  </channel>
</rss>

