<?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 for multiple positional file inputs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233873#M23414</link>
    <description>i may be misunderstanding you.
&lt;BR /&gt;but you seem to have 13 files with different Schemas
&lt;BR /&gt;which implies that each file has a its own schema.
&lt;BR /&gt;and that you do *not* one file containing 2 or more schemas
&lt;BR /&gt;could you please clarify that?
&lt;BR /&gt;thanks,</description>
    <pubDate>Tue, 20 Nov 2012 14:47:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-20T14:47:52Z</dc:date>
    <item>
      <title>Dynamic schema for multiple positional file inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233872#M23413</link>
      <description>Hello! 
&lt;BR /&gt;I have multiple (13 to be exact) positional file inputs, and they all have different schema (variation in column numbers and field lengths (patterns are different). 
&lt;BR /&gt;Is it possible to create a loop in integration studio (Enterprise DQ professional) to process each of the files, dynamically/automatically change the schema to match the file and write the contents to a oracleDB table? 
&lt;BR /&gt;Maybe it is doable via the tSetDynamicSchema component? My goal is to create a job that doesn't have a tFileInputPositionalt/DB write component for each file. 
&lt;BR /&gt;So far i have dabbled with tFileList component that locates the files, iterates through them and outputs them to a temporary tables with filename (picked from globalMap) as name. 
&lt;BR /&gt;I also have the pattern's for each of the files in globalmap, but i haven't been able to create a check to match the positional file pattern to a filename (the tFileList doesn't connect to tJavaRow). 
&lt;BR /&gt;Basically what i need is a dynamic file input that iterates through every file (.txt) in a folder, creates a dynamic schema based on the file content and write the content to a Oracle database tables.</description>
      <pubDate>Sat, 16 Nov 2024 12:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233872#M23413</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic schema for multiple positional file inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233873#M23414</link>
      <description>i may be misunderstanding you.
&lt;BR /&gt;but you seem to have 13 files with different Schemas
&lt;BR /&gt;which implies that each file has a its own schema.
&lt;BR /&gt;and that you do *not* one file containing 2 or more schemas
&lt;BR /&gt;could you please clarify that?
&lt;BR /&gt;thanks,</description>
      <pubDate>Tue, 20 Nov 2012 14:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233873#M23414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic schema for multiple positional file inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233874#M23415</link>
      <description>Hi,
&lt;BR /&gt;Yes, i have 13 different positional files with 13 different schemas. Each file has it's own.
&lt;BR /&gt;I am trying to find a reusable and more dynamic solution to this, compared to having 13 different input/mapping/output components with schema in metadata.
&lt;BR /&gt;Br,
&lt;BR /&gt;jm</description>
      <pubDate>Wed, 21 Nov 2012 07:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233874#M23415</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-21T07:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic schema for multiple positional file inputs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233875#M23416</link>
      <description>you would need to load these files as tFileRow (load full rows)&lt;BR /&gt;if you have a header line on these files then use that to define which schema to use and then try parsing these in that way.&lt;BR /&gt;i am just thinking aloud - but it is probably doable.&lt;BR /&gt;in a similar circumstance we have used file headers to define their 'file type' and then call a 'child' job to process each.&lt;BR /&gt;the idea you had seems tempting at first but you probably find that each file will have a quirk - and these are best dealt in a separated process; aka job.&lt;BR /&gt;regards</description>
      <pubDate>Thu, 22 Nov 2012 10:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-schema-for-multiple-positional-file-inputs/m-p/2233875#M23416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-22T10:55:52Z</dc:date>
    </item>
  </channel>
</rss>

