我用这样的"alter“来更改Hive中的表。
alter table tbl_name add columns (...);
alter table tbl_name change col1 col2 string comment 'test';在Hive亚稳数据库的表TBLS中,只记录了表的create_time。如何获得alter的更新时间。
发布于 2017-08-22 08:11:08
使用以下命令
desc格式tbl_name
去找last_modified_time
它会给你上次更新的时候。它将是统一时间戳。
https://stackoverflow.com/questions/45810995
复制相似问题