How to list all hive databases being in use or created so far?

前端 未结 3 1553
离开以前
离开以前 2021-02-18 14:29

Similar to SHOW TABLES command, do we have any such command to list all databases created so far?

3条回答
  •  不要未来只要你来
    2021-02-18 15:18

    For any such queries involving metadata of the objects, you must use the hive metastore deployed on databases such as MySQL or likes of MySQL. You can use the hive database installed on metastore and use the INFORMATION_SCHEMA views/tables for your queries

提交回复
热议问题