<?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: Dynamically create S3 folder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270681#M48503</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; Thanks for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I get that but how do I dynamically calculate quarter based on date and store in context?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 11:22:31 GMT</pubDate>
    <dc:creator>Parikhharshal</dc:creator>
    <dc:date>2020-03-27T11:22:31Z</dc:date>
    <item>
      <title>Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270677#M48499</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have scenario where based on local file properties I want to create S3 folder dynamically. Once I get date/time from fileproperties from files (received on local) I want to create Q1,2,3,4 folder for each year in S3 bucket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create such a dynamically folder in S3 in Talend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Harshal.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270677#M48499</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2024-11-16T02:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270678#M48500</link>
      <description>Hi Harshal 
&lt;BR /&gt;
&lt;BR /&gt;Do you want to create the s3 folder dynamically and put the file to corresponding folder or only create the empty folder?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 27 Mar 2020 08:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270678#M48500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T08:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270679#M48501</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; I want to put the corresponding files into those Quarter folders too based on date/time.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 08:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270679#M48501</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2020-03-27T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270680#M48502</link>
      <description>You can use tS3Put to put the files to S3 folder, set the dynamic key path based on the date/time you get and parse it from the file properties, the component wil create the folder if it does not exist. 
&lt;BR /&gt;eg: 
&lt;BR /&gt;"folder_path/"+context.quarter+"/"+context.filename 
&lt;BR /&gt;Read the component documentation and learn tS3Put component, let me know if you have any questions. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 27 Mar 2020 10:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270680#M48502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270681#M48503</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp; Thanks for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I get that but how do I dynamically calculate quarter based on date and store in context?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 11:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270681#M48503</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2020-03-27T11:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically create S3 folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270682#M48504</link>
      <description>Hi 
&lt;BR /&gt;Use tFileProperties to get the file properties including m_time, convert the string date to a Date, and then hard code to get the quarter of the given date, see 
&lt;BR /&gt;
&lt;A href="https://stackoverflow.com/questions/302658/how-do-i-discover-the-quarter-of-a-given-date" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/302658/how-do-i-discover-the-quarter-of-a-given-date&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 27 Mar 2020 18:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamically-create-S3-folder/m-p/2270682#M48504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T18:11:15Z</dc:date>
    </item>
  </channel>
</rss>

