List Tables in Hive Database
insights Stats
warning Please login first to view stats information.
Raymond
Code Snippets & Tips
Code snippets and tips for various programming languages/frameworks. All code examples are under MIT or Apache 2.0 license unless specified otherwise.
The following code snippet shows you how to list all the tables within a Hive database.
Code snippet
show tables in [database name];
Example:
show tables in test_db;
test_table
The result shows that there is only one table named test_table in test_db.
copyright
This page is subject to Site terms.
comment Comments
No comments yet.