<?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 Get number of rows in delta lake table from metadata without count(*) in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54023#M661</link>
    <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;Is there a way with sql query to get count from delta table metadata without doing count(*) on each of table? Wondering, if this information is stored in any of &lt;SPAN&gt;INFORMATION_SCHEMA tables.&lt;BR /&gt;&lt;BR /&gt;I have a use-case to get counts from 1000's of delta tables and do some further processing based on count. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It doesn't need to exact count but an estimate would be fine too.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 20:42:47 GMT</pubDate>
    <dc:creator>JDL</dc:creator>
    <dc:date>2023-11-27T20:42:47Z</dc:date>
    <item>
      <title>Get number of rows in delta lake table from metadata without count(*)</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54023#M661</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;Is there a way with sql query to get count from delta table metadata without doing count(*) on each of table? Wondering, if this information is stored in any of &lt;SPAN&gt;INFORMATION_SCHEMA tables.&lt;BR /&gt;&lt;BR /&gt;I have a use-case to get counts from 1000's of delta tables and do some further processing based on count. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It doesn't need to exact count but an estimate would be fine too.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 20:42:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54023#M661</guid>
      <dc:creator>JDL</dc:creator>
      <dc:date>2023-11-27T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get number of rows in delta lake table from metadata without count(*)</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54148#M665</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt; for your response. I tried the sql query but gives error about the path.&lt;/P&gt;&lt;P&gt;I tried different version of path.&lt;BR /&gt;If I specify full path of table, which I retrieve from catalog explorer starting with &lt;SPAN&gt;&lt;STRONG&gt;abfss:// &lt;/STRONG&gt;getting below error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;[RequestId=28a3048d-1371-4908-96cd-090961fe9356 ErrorClass=INVALID_PARAMETER_VALUE.LOCATION_OVERLAP] Input path url 'abfss://&amp;lt;&amp;gt;.dfs.core.windows.net/__unitystorage/catalogs/&amp;lt;&amp;gt;/tables/&amp;lt;&amp;gt;' overlaps with managed storage within 'GenerateTemporaryPathCredential' call&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;If I specify path without &lt;STRONG&gt;abfss://&lt;/STRONG&gt; getting error, &lt;/SPAN&gt;&lt;EM&gt;Path must be absolute&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 22:15:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54148#M665</guid>
      <dc:creator>JDL</dc:creator>
      <dc:date>2023-11-28T22:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get number of rows in delta lake table from metadata without count(*)</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54407#M672</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a related one.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/how-to-get-the-total-number-of-records-in-a-delta-table-from-the/td-p/20441" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/how-to-get-the-total-number-of-records-in-a-delta-table-from-the/td-p/20441&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 00:06:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54407#M672</guid>
      <dc:creator>SSundaram</dc:creator>
      <dc:date>2023-12-01T00:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get number of rows in delta lake table from metadata without count(*)</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54440#M676</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt; for detailed information but I am still not clear on resolution.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Table type is shown as MANAGED. Does this mean I can't get count of this table without count(*)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JDL_0-1701438470267.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5435i8D34860E5684FA49/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JDL_0-1701438470267.png" alt="JDL_0-1701438470267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. I am using path starting with abfss://. Copying the exact path of this table from catalog explorer.&lt;/P&gt;&lt;P&gt;3. I am not familiar if dbutils.fs.ls can be used in SQL Query. I need this information using SQL only due to some limitation.&lt;/P&gt;&lt;P&gt;All IAM permissions are in place.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 13:51:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54440#M676</guid>
      <dc:creator>JDL</dc:creator>
      <dc:date>2023-12-01T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get number of rows in delta lake table from metadata without count(*)</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54441#M677</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/93408"&gt;@SSundaram&lt;/a&gt; for the link. I need this information via sql query only.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 13:53:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-number-of-rows-in-delta-lake-table-from-metadata-without/m-p/54441#M677</guid>
      <dc:creator>JDL</dc:creator>
      <dc:date>2023-12-01T13:53:16Z</dc:date>
    </item>
  </channel>
</rss>

