<?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 Apply a schema dynamically to data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295719#M68461</link>
    <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relatively new to Talend, and I am trying to work out if its possible to build a "generic" job to extract data from MSSQL to a delimited text file?&amp;nbsp;And vice versa, a "generic" job to load from a text file to SQL DB (or any other target that has a data-typed structure eg Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess what I am asking is it possible to "apply" a schema to the data once a job has started, so that I do not have specify a schema during design. eg a component which can read the schema from a meta data file and apply it to a delimited data flow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the generic extract, I have been able to somewhat achieve this by using SQL trickery to output a single delimited row to a target text file.&amp;nbsp;This is OK.&amp;nbsp;&amp;nbsp;However it would be better if I could also output the data to eg an excel file with its datatype intact.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it might be possible with the dynamic schemas - however from what I have been able to ascertain so far, it seems that at some point you need to specify (ie hard-code) in the job the schema to either write to or extract from a dynamic column.&amp;nbsp;You don't seem to be able to pass the values as a parameter, or there is no component to apply a schema from an external file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this at all possible with standard components, or am I going to have to improve my java skills and write my own?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 07:24:45 GMT</pubDate>
    <dc:creator>shamu</dc:creator>
    <dc:date>2020-09-28T07:24:45Z</dc:date>
    <item>
      <title>Apply a schema dynamically to data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295719#M68461</link>
      <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relatively new to Talend, and I am trying to work out if its possible to build a "generic" job to extract data from MSSQL to a delimited text file?&amp;nbsp;And vice versa, a "generic" job to load from a text file to SQL DB (or any other target that has a data-typed structure eg Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess what I am asking is it possible to "apply" a schema to the data once a job has started, so that I do not have specify a schema during design. eg a component which can read the schema from a meta data file and apply it to a delimited data flow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the generic extract, I have been able to somewhat achieve this by using SQL trickery to output a single delimited row to a target text file.&amp;nbsp;This is OK.&amp;nbsp;&amp;nbsp;However it would be better if I could also output the data to eg an excel file with its datatype intact.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it might be possible with the dynamic schemas - however from what I have been able to ascertain so far, it seems that at some point you need to specify (ie hard-code) in the job the schema to either write to or extract from a dynamic column.&amp;nbsp;You don't seem to be able to pass the values as a parameter, or there is no component to apply a schema from an external file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this at all possible with standard components, or am I going to have to improve my java skills and write my own?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 07:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295719#M68461</guid>
      <dc:creator>shamu</dc:creator>
      <dc:date>2020-09-28T07:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a schema dynamically to data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295720#M68462</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;what do you use as a version of Talend?&lt;/P&gt;&lt;P&gt;Open studio or the paid version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the paid version, you already have the dynamic schema and you have almost nothing to program&lt;/P&gt;&lt;P&gt;Keep me informed of your version, I can guide you in detail&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 08:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295720#M68462</guid>
      <dc:creator>JohnRMK</dc:creator>
      <dc:date>2020-09-28T08:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a schema dynamically to data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295721#M68463</link>
      <description>&lt;P&gt;Hi JohnRMK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the subscription version 6.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have the dynamic schema, but as I mentioned I don't know that it is flexible enough as you still need to define a schema somewhere within the job, you cannot supply it from an external source.  Even with something like the &lt;A href="https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/NPwSLaWUrdjCxpsENf7fPw" alt="https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/NPwSLaWUrdjCxpsENf7fPw" target="_blank"&gt;positional file example&lt;/A&gt; provided on the Talend help portal (which is about as close as I've seen to what I would like to acheive), it allows you to define a schema with tsetDynamicSchema, but then this existing Dynamic schema can only be used in a limited number of other components.  And even then it looks like if you wanted to actually output your data to a target data object, you would still need to define a schema in that output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 22:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295721#M68463</guid>
      <dc:creator>shamu</dc:creator>
      <dc:date>2020-09-28T22:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a schema dynamically to data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295722#M68464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry for the delay. In fact, the dynamic schema makes it possible to define just one column when the job is designed and at runtime, it performs the mapping automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A use case:&lt;/P&gt;&lt;P&gt;The ingestion of several hundred csv files in several tables in the database.&lt;/P&gt;&lt;P&gt;-Each csv file has a different schema (Person, Customer, Lead or Document for example)&lt;/P&gt;&lt;P&gt;-The classic approach is to develop a job for each table with a different tMap each time. So there are as many Talend jobs as there are different schemes.&lt;/P&gt;&lt;P&gt;-With the dynamic schema, you can do the work in one job. Because, at the time of the execution, it retrieves the schema and automatically does the mapping.&lt;/P&gt;&lt;P&gt;There is also the migration of a database in a single job.&lt;/P&gt;&lt;P&gt;It's very powerful and it saves dev time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me your use case and what you want to accomplish to identify the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;two small limitation&lt;B&gt; &lt;/B&gt;for the dynamic schema:&lt;/P&gt;&lt;P&gt;-You cannot do any transformation except if you use java code&lt;/P&gt;&lt;P&gt;-Some limits at the database level with the "max" size that it cannot detect but you can use a java routines to automatically generate the table then the schema to retrieve the data&lt;/P&gt;&lt;P&gt;I remain available if you have any questions&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295722#M68464</guid>
      <dc:creator>JohnRMK</dc:creator>
      <dc:date>2020-10-05T09:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a schema dynamically to data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295723#M68465</link>
      <description>&lt;P&gt;Thanks for your reply John.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be grateful if you could explain how to setup the dynamic schema for the following scenario&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Processing over 100 different sql queries out to a delimited file.  The queries have a varied schema (there are probably some shared) ranging from one column output to around 20 columns&lt;/LI&gt;&lt;LI&gt;As above but output the data to an existing excel file where I can keep the format of the incoming columns (eg output decimals as decimals not text).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise it would be nice just to get an understanding of how to set up the dynamic schema to create more generic jobs for reuse.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 06:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Apply-a-schema-dynamically-to-data/m-p/2295723#M68465</guid>
      <dc:creator>shamu</dc:creator>
      <dc:date>2020-10-06T06:35:01Z</dc:date>
    </item>
  </channel>
</rss>

