<?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 Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to wr... in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/very-often-we-need-to-know-how-many-files-my-table-path-contains/m-p/3965#M832</link>
    <description>&lt;P&gt;Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to write my own logic to accomplish this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta Lake is making life easier. See how simple it is to obtain this information when your file is saved in delta format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The delta table object provides the metadata directly accessible in the select query.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Number of files in the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Total size of the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Location&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; CreatedAt&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; lastModified&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; partitionColumns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="1684878098472"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/162iF4A6A007D6F5B942/image-size/large?v=v2&amp;amp;px=999" role="button" title="1684878098472" alt="1684878098472" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 07:16:33 GMT</pubDate>
    <dc:creator>pvignesh92</dc:creator>
    <dc:date>2023-05-26T07:16:33Z</dc:date>
    <item>
      <title>Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to wr...</title>
      <link>https://community.databricks.com/t5/data-engineering/very-often-we-need-to-know-how-many-files-my-table-path-contains/m-p/3965#M832</link>
      <description>&lt;P&gt;Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to write my own logic to accomplish this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta Lake is making life easier. See how simple it is to obtain this information when your file is saved in delta format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The delta table object provides the metadata directly accessible in the select query.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Number of files in the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Total size of the path&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Location&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; CreatedAt&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; lastModified&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; partitionColumns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="1684878098472"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/162iF4A6A007D6F5B942/image-size/large?v=v2&amp;amp;px=999" role="button" title="1684878098472" alt="1684878098472" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 07:16:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/very-often-we-need-to-know-how-many-files-my-table-path-contains/m-p/3965#M832</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-05-26T07:16:33Z</dc:date>
    </item>
  </channel>
</rss>

