Community Articles

Find and share helpful community-sourced technical articles.
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
Rising Star

The number can be found in the database which is used to store hive meta data.

If MySql is the backend db,

select count(*) from TBLS;
0 Kudos
New Contributor

What is the meaning of writing this?

Rising Star

Do you mean what is the use/need ? If so, for anyone who is a platform admin, if they would like to know how many hive tables are there in all the hive DBs put together, this query can help them answer. This was asked by a customer in one of the calls we had and thought it would help others with similar request. There is also a similar thread as this, feel free to refer this.