<?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: Get last modified date or create date for azure blob container in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27795#M19643</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi @Ala Qabaja,&lt;/P&gt;&lt;P&gt;For Getting last modified date in azure blob container use below code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DateTime date =DateTime.Now;using(var filestream =File.OpenRead(@"D:\test.txt")){
               block.UploadFromStream(filestream);
               block.Metadata["lastmodifydate"]= date.ToString();
               block.SetMetadata();}
           block.FetchAttributes();string dateInfo= block.Metadata["lastmodifydate"];&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 20 Sep 2019 06:58:31 GMT</pubDate>
    <dc:creator>shyam_9</dc:creator>
    <dc:date>2019-09-20T06:58:31Z</dc:date>
    <item>
      <title>Get last modified date or create date for azure blob container</title>
      <link>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27794#M19642</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Everyone, &lt;/P&gt;
&lt;P&gt;I am trying to implement a way in Python to only read files that weren't loaded since the last run of my notebook. The way I am thinking of implementing this is to keep of the last time my notebook has finished in a database table. Next time my job runs, I would like to only load the net new files that were added to azure blob. So, I want to be able to read the create date or last modified date for that file for me to be able to do incremental loading. &lt;/P&gt;
&lt;P&gt;My two questions are:&lt;/P&gt;
&lt;P&gt; - Am I doing it the right way? &lt;/P&gt;
&lt;P&gt;- Is it possible to get create date and/or modified date of an azure blob container using Python? &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 17:02:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27794#M19642</guid>
      <dc:creator>AlaQabaja</dc:creator>
      <dc:date>2019-09-19T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get last modified date or create date for azure blob container</title>
      <link>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27795#M19643</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi @Ala Qabaja,&lt;/P&gt;&lt;P&gt;For Getting last modified date in azure blob container use below code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DateTime date =DateTime.Now;using(var filestream =File.OpenRead(@"D:\test.txt")){
               block.UploadFromStream(filestream);
               block.Metadata["lastmodifydate"]= date.ToString();
               block.SetMetadata();}
           block.FetchAttributes();string dateInfo= block.Metadata["lastmodifydate"];&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Sep 2019 06:58:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27795#M19643</guid>
      <dc:creator>shyam_9</dc:creator>
      <dc:date>2019-09-20T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get last modified date or create date for azure blob container</title>
      <link>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27796#M19644</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your response. I am not sure what your code is and how to implement it. I am using PySpark and not using streams. &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 22:10:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27796#M19644</guid>
      <dc:creator>AlaQabaja</dc:creator>
      <dc:date>2019-09-20T22:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get last modified date or create date for azure blob container</title>
      <link>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27797#M19645</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hello! I just wanted to share my point of view on the topic of dating sites. I have been looking for a decent Asian catch-up site for a very long time, in addition to them I found &lt;A href="https://hookupsearch.org/asian-hookup-sites/" target="test_blank"&gt;https://hookupsearch.org/asian-hookup-sites/&lt;/A&gt;. We definitely recommend this to anyone who is going to date and date women from solid anodized dishes, because the platforms have everything you might need, as well as what you want!&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 12:25:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/get-last-modified-date-or-create-date-for-azure-blob-container/m-p/27797#M19645</guid>
      <dc:creator>Forum_Admin</dc:creator>
      <dc:date>2020-03-18T12:25:37Z</dc:date>
    </item>
  </channel>
</rss>

