时间:2021-07-01 10:21:17 帮助过:29人阅读
1.显示数据库信息
hive> desc database db_hive; OK db_hive hdfs://hadoop102:9000/user/hive/warehouse/db_hive.db atguiguUSER
2.显示数据库详细信息,extended
hive> desc database extended db_hive; OK db_hive hdfs://hadoop102:9000/user/hive/warehouse/db_hive.db atguiguUSER
hive (default)> use db_hive;
Hive_查询数据库
标签:bsp 查看 data databases tab style class ext 详情