Impala: list all tables and their created dates in a database -


in impala, possible list tables in given database date each table created? like:

in my_database:

table     created_date ----------------------- table_1   2016-01-01 table_2   2016-02-12 table_3   2016-05-03 

thanks lot!

i don't think there specific command asking for:

what list tables in given db:

show tables in db_name 

then each table run:

show create table table_name 

look propery transient_lastddltime'='1479222568' shows timestamp of creation time. you'll have change "readable date".

you can on python script, installing pyodbc package , cloudera impala odbc driver.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -