<?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 file Fetch according to it's schema. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240525#M27987</link>
    <description>&lt;P&gt;I assume you want to fetch the files from remote location using ftp/sftp/Smb/http. In this case You cannot fetch the file based on its Data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You have one option to start reading each file in steam mode and stop the stream if header does not match the requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/Vr3wYVdxbfcjeba~qekWDw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/Vr3wYVdxbfcjeba~qekWDw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know if my understanding is not correct.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 09:48:01 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-04-08T09:48:01Z</dc:date>
    <item>
      <title>Dynamic file Fetch according to it's schema.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240524#M27986</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one requirement that should get developed on Talend Real -Time Big Data Platform.(i.e our product version name )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I'll be sharing the scenario with you. Please assist me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scenario : I'll be getting multiple file feeds from different source. Some files will have header, body or details&amp;nbsp; and trailer data, whereas other file feeds will have 2 separate file&amp;nbsp; one for header and trailer data and on other it have body or details of data.&lt;/P&gt;
&lt;P&gt;Every file feeds have different schema (i.e different column name).&lt;/P&gt;
&lt;P&gt;For eg: 5 Files have 5 different column name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i have to lookup those column name or schema&amp;nbsp; with correspond to respective file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suppose whenever any XYZ files come it have to do lookup on the schema and then have to fetch that file and then the ETL process will run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;file name XYZ.txt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID|Name|&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Header&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;| abc&amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- Body&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;| efg&amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -- Body&lt;/P&gt;
&lt;P&gt;total count 2 -- Trailer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stored schema with datatype&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID&lt;/P&gt;
&lt;P&gt;Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Storing schema should be an one time activity&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, the respective file feeds have to do an lookup with schema and should fetch only "XYZ.txt" file only, not other file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you have understand mine, requirement.&lt;/P&gt;
&lt;P&gt;If it;s please suggest or guide me in this requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rohitash Sherigar&lt;/P&gt;
&lt;P&gt;(M: +91-9594733034)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240524#M27986</guid>
      <dc:creator>Rohitash</dc:creator>
      <dc:date>2024-11-16T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic file Fetch according to it's schema.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240525#M27987</link>
      <description>&lt;P&gt;I assume you want to fetch the files from remote location using ftp/sftp/Smb/http. In this case You cannot fetch the file based on its Data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You have one option to start reading each file in steam mode and stop the stream if header does not match the requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/Vr3wYVdxbfcjeba~qekWDw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/Vr3wYVdxbfcjeba~qekWDw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Let me know if my understanding is not correct.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240525#M27987</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-08T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic file Fetch according to it's schema.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240526#M27988</link>
      <description>&lt;P&gt;No , It's not like that. I think i have used the wrong terminologies to explain.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;File will already be there at remote or local directory.&lt;/P&gt; 
&lt;P&gt;As I have already mentioned in my previous post. That inside one directory there may be around 100's of files will be there and each file have different attributes.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ex : File 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File 3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File n&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ID , Name&amp;nbsp; &amp;nbsp; &amp;nbsp; Dept, Dept_Name&amp;nbsp; &amp;nbsp; CustID,Cust_Name&amp;nbsp; &amp;nbsp; ......... So on&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1,&amp;nbsp; ABC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2, EFG&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1, XYZ&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, I'm using only 1 tfilelist and 1 tfileinputdelimited component where current file directory is same but file's are different.&lt;/P&gt; 
&lt;P&gt;By using global expression file name get changed , at the same time in the edit schema section should also get changed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Like if&amp;nbsp; File 1 then schema should be ID, Name&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File 2&amp;nbsp;then schema should be Dept, Dept_Name&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File 3 then schema should be CustID,Cust_Name&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... so on.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then after that split process will get start where header and trailer record will get tagged.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope you have understand my requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;if it's still not, then please share your contact details.&lt;/P&gt; 
&lt;P&gt;Will discuss with each other about requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Rohitash Sherigar&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 15:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240526#M27988</guid>
      <dc:creator>Rohitash</dc:creator>
      <dc:date>2019-04-08T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic file Fetch according to it's schema.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240527#M27989</link>
      <description>you cannot change schema dynamically in a component but you can use dynamic schema type. Assuming, you donot have lot of transformation this would a good option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwise, if you have separte subjob for each schema type and you need to read input header and identify which file will go which subjob that is also possible . Let us know.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2019 21:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-file-Fetch-according-to-it-s-schema/m-p/2240527#M27989</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-08T21:35:45Z</dc:date>
    </item>
  </channel>
</rss>

