<?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 Display count of records in all tables in hive meta store based on one of the column value. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9922#M5196</link>
    <description>&lt;P&gt;I have a DB name called &lt;B&gt;Test &lt;/B&gt;in Hive meta store of data bricks. This DB contains around 100 tables. Each table has the column name called sourcesystem and many other columns. Now I need to display the count of records in each table group by source system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display the data as bellow.&lt;/P&gt;&lt;P&gt;Tablename, sourceystem, record_count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL query for the same for single table:&lt;/P&gt;&lt;P&gt;Select count(*),sourceystem from test.sales GROUP BY sourceystem&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 20:39:53 GMT</pubDate>
    <dc:creator>DBX-Beginer</dc:creator>
    <dc:date>2023-02-06T20:39:53Z</dc:date>
    <item>
      <title>Display count of records in all tables in hive meta store based on one of the column value.</title>
      <link>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9922#M5196</link>
      <description>&lt;P&gt;I have a DB name called &lt;B&gt;Test &lt;/B&gt;in Hive meta store of data bricks. This DB contains around 100 tables. Each table has the column name called sourcesystem and many other columns. Now I need to display the count of records in each table group by source system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display the data as bellow.&lt;/P&gt;&lt;P&gt;Tablename, sourceystem, record_count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL query for the same for single table:&lt;/P&gt;&lt;P&gt;Select count(*),sourceystem from test.sales GROUP BY sourceystem&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 20:39:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9922#M5196</guid>
      <dc:creator>DBX-Beginer</dc:creator>
      <dc:date>2023-02-06T20:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Display count of records in all tables in hive meta store based on one of the column value.</title>
      <link>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9923#M5197</link>
      <description>&lt;P&gt;Hi @Krish K​&amp;nbsp;, You need to run the iteration over the list of tables in "Test" DB. We can't query all the tables at once.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 11:55:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9923#M5197</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-07T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display count of records in all tables in hive meta store based on one of the column value.</title>
      <link>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9924#M5198</link>
      <description>&lt;P&gt;Hi @Krish K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 08:58:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/display-count-of-records-in-all-tables-in-hive-meta-store-based/m-p/9924#M5198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-10T08:58:58Z</dc:date>
    </item>
  </channel>
</rss>

