How to see table creation date?

I created a table a couple of months ago. Is there any way in HIVE that I can see when the table was created?

show table does not give the date the table was created.

+5
source share
3 answers

Run the desc formatted <database>.<table_name> command in the hive cli. It will show detailed table information similar to

Details of the table

Database:
Owner:
CreateTime:
LastAccessTime:

+9
source

You need to run the following command:

 describe formatted <your_table_name>; 

Or, if you need this information about a specific section:

 describe formatted <your_table_name> partition (<partition_field>=<value>); 
+4
source

I believe that you still have sys.tables inside Hive, that you can SELECT [name], create_date, modify_date.

-1
source

All Articles