<?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: Auto Loader: Empty fields (discovery_time, commit_time, archive_time) in cloud_files_state in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14143#M8688</link>
    <description>&lt;P&gt;Hi Hubert,&lt;/P&gt;&lt;P&gt;Thank you for your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DBR version is 11.3. And yes it is indeed very strange. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/927iA8D594F0C9A9D428/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jan 2023 16:09:12 GMT</pubDate>
    <dc:creator>Benji0934</dc:creator>
    <dc:date>2023-01-02T16:09:12Z</dc:date>
    <item>
      <title>Auto Loader: Empty fields (discovery_time, commit_time, archive_time) in cloud_files_state</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14141#M8686</link>
      <description>&lt;P&gt;Hi! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are the fields discovery_time, commit_time, and archive_time NULL in cloud_files_state? &lt;/P&gt;&lt;P&gt;Do I need to configure anything when creating my Auto Loader? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;df = spark.readStream.format("cloudFiles") \
    .option("cloudFiles.format", "json") \
    .option("cloudFiles.tenantId", tenantId) \
    .option("cloudFiles.clientId", clientId) \
    .option("cloudFiles.clientSecret", clientSecret) \
    .option("cloudFiles.resourceGroup", resourceGroup) \
    .option("cloudFiles.subscriptionId", subscriptionId) \
    .option("cloudFiles.useNotifications", "true") \
    .option("cloudFiles.includeExistingFiles", "true") \
    .option("cloudFiles.schemaLocation", checkpoint_path) \
    .option("cloudFiles.schemaEvolutionMode", "rescue") \
    .option("recursiveFileLookup", "true") \
    .option("badRecordsPath", bad_records_path)
    .option("multiLine", "true")
    .schema(dfSchema.schema) \
    .load(sourceDir)
&amp;nbsp;
#Transforming dataframe stream...
&amp;nbsp;
df6.writeStream \
    .format("delta") \
    .foreachBatch(upsertToDelta) \
    .option("checkpointLocation", checkpoint_path) \
    .outputMode("update") \
    .start(targetDir) #target folder&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 09:28:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14141#M8686</guid>
      <dc:creator>Benji0934</dc:creator>
      <dc:date>2022-12-30T09:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Loader: Empty fields (discovery_time, commit_time, archive_time) in cloud_files_state</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14142#M8687</link>
      <description>&lt;UL&gt;&lt;LI&gt;Please be sure that the DBR version is 10.5 or higher&lt;/LI&gt;&lt;LI&gt;commit_time and archive_time can be null but discovery_time is set even as NOT NULL in the table definition so it is a bit strange. Please change the DBR version first.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 02 Jan 2023 16:03:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14142#M8687</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-02T16:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Loader: Empty fields (discovery_time, commit_time, archive_time) in cloud_files_state</title>
      <link>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14143#M8688</link>
      <description>&lt;P&gt;Hi Hubert,&lt;/P&gt;&lt;P&gt;Thank you for your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DBR version is 11.3. And yes it is indeed very strange. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/927iA8D594F0C9A9D428/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 16:09:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/auto-loader-empty-fields-discovery-time-commit-time-archive-time/m-p/14143#M8688</guid>
      <dc:creator>Benji0934</dc:creator>
      <dc:date>2023-01-02T16:09:12Z</dc:date>
    </item>
  </channel>
</rss>

