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.
Run the desc formatted <database>.<table_name> command in the hive cli. It will show detailed table information similar to
desc formatted <database>.<table_name>
Details of the tableDatabase:Owner:CreateTime:LastAccessTime:
Database:Owner:CreateTime:LastAccessTime:
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>);
I believe that you still have sys.tables inside Hive, that you can SELECT [name], create_date, modify_date.