<?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 tMap with Dynamic schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340758#M108762</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pretty new to the talend tool. I am attempting to use talend tMap component to map data from two sources. However I also require the schemas to be dynamic as this is to be done for numerous tables or files therefore we want to escape having to define schema for each and using that in a tMap. What I've come across is that the output for this job is different when running a job within talend studio and eclipse. It's pretty strange as to why this is the case since I exported the exact same code(job) and built it in eclipse IDE. If anybody has ever had to use dynamic schemas together with tMap, I'd like some pointers as to how this can be achieved or possibly point out what I could be doing incorrectly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:01:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:01:31Z</dc:date>
    <item>
      <title>tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340758#M108762</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pretty new to the talend tool. I am attempting to use talend tMap component to map data from two sources. However I also require the schemas to be dynamic as this is to be done for numerous tables or files therefore we want to escape having to define schema for each and using that in a tMap. What I've come across is that the output for this job is different when running a job within talend studio and eclipse. It's pretty strange as to why this is the case since I exported the exact same code(job) and built it in eclipse IDE. If anybody has ever had to use dynamic schemas together with tMap, I'd like some pointers as to how this can be achieved or possibly point out what I could be doing incorrectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340758#M108762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340759#M108763</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please elaborate your cases ? I used dynamic schema and to handle the this schema i used the tjavarow.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340759#M108763</guid>
      <dc:creator>med1</dc:creator>
      <dc:date>2017-11-22T14:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340760#M108764</link>
      <description>Hi, 
&lt;BR /&gt;If I understand correctly, you want to load different schema to target. If you are using a licensed version there is a data type dynamic itself in tmap. You can make use of it. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ramachandran B</description>
      <pubDate>Wed, 22 Nov 2017 16:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340760#M108764</guid>
      <dc:creator>brama</dc:creator>
      <dc:date>2017-11-22T16:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340761#M108765</link>
      <description>&lt;P&gt;We have a scenario where we need to compare data from two sources say a file and table in a database and we need to do a comparison for each column in a file to each column in a database. We do this to identify any differences&amp;nbsp;that may exist between the two sources of data.&amp;nbsp;We have managed to achieve this by using a tMap component to compare each column&lt;SPAN&gt;/field&amp;nbsp;&lt;/SPAN&gt;in a table to each column/field in a file. However it's a lot of work if you're to do this for many tables/files, having to go through mapping each column to column in a tMap and end up designing many jobs that do exactly the same thing. So we now exploring the use of dynamic type for the schemas. I attached some screen shots on my first post.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 07:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340761#M108765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-23T07:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340762#M108766</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think for your case it is better to use dynamic schema.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So first try to select data from table to tmp file csv and then compare two files. If you have MDM module you can use specific component which allow to compare two files and give the distance between the columns etc..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Med&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 08:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340762#M108766</guid>
      <dc:creator>med1</dc:creator>
      <dc:date>2017-11-23T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340763#M108767</link>
      <description>&lt;P&gt;Thanks for your assistance, it's much appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In a case of using Dynamic schema, can it work correctly for joining data using a tMap component? Because what lead me here in the first place was the problem I got using a dynamic type to map my data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't know of the MDM module, from components this is all I got (please see attached screen shot). I will lookup some YouTube tutorials on it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrQ7"&gt;MDM.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340763#M108767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-24T08:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340764#M108768</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as i explained in my last post, you can insert the data from table into tmp file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that you can use tJavarow to parse the both objects ( Dynamic schema is like java object).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code to parse the dynamic File :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Dynamic columns = row3.dynamic;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;for (int i = 0; i &amp;lt; columns.getColumnCount(); i++) { &amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DynamicMetadata columnMetadata = columns.getColumnMetadata(i); &amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(columnMetadata.getName() + ": " + &lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;columns.getColumnValue(i) + "; " + columnMetadata.getType());&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;There is an example in Talend Documentation, which explain how to handle the Dynamic schema :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/WX1guuvSnxZg5nBBQ26LBQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/WX1guuvSnxZg5nBBQ26LBQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340764#M108768</guid>
      <dc:creator>med1</dc:creator>
      <dc:date>2017-11-24T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340765#M108769</link>
      <description>Thank you so much. Your code solution works for my case.</description>
      <pubDate>Wed, 17 Jan 2018 08:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340765#M108769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-17T08:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340766#M108770</link>
      <description>Hi,&lt;BR /&gt;We do have the same scenario of comparing dynamic schema files.Could you please share us the solution ?</description>
      <pubDate>Sun, 01 Jul 2018 13:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340766#M108770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-01T13:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340767#M108771</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This worked for one of my usecase. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 03:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340767#M108771</guid>
      <dc:creator>ravi999</dc:creator>
      <dc:date>2018-09-28T03:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340768#M108772</link>
      <description>&lt;P&gt;Could you please share the sample mapping? I could not understand, how to configure this scenario with Tmap?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 07:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340768#M108772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-21T07:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340769#M108773</link>
      <description>&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/WX1guuvSnxZg5nBBQ26LBQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/WX1guuvSnxZg5nBBQ26LBQ&lt;/A&gt;</description>
      <pubDate>Thu, 09 May 2019 11:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340769#M108773</guid>
      <dc:creator>KarthikGs</dc:creator>
      <dc:date>2019-05-09T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340770#M108774</link>
      <description>&lt;P&gt;Please refer to my new blog on the same topic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.rajeshsirsikar.com/dynamic-schema-in-talend-open-studio/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.rajeshsirsikar.com/dynamic-schema-in-talend-open-studio/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 10:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340770#M108774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-26T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with Dynamic schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340771#M108775</link>
      <description>&lt;P&gt;Hi Samu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also having the same requirement to compare the 2 tables column by column.Please let us know what was done to compare the data dynamically.If possible please share the code.Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 17:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-Dynamic-schema/m-p/2340771#M108775</guid>
      <dc:creator>dm-ALSA</dc:creator>
      <dc:date>2020-06-06T17:41:40Z</dc:date>
    </item>
  </channel>
</rss>

