Presto学习笔记

官网:https://prestodb.io/docs/current/overview.html

三层组织表:

  1. catalog 对应某一类数据源,例如hive的数据,或mysql的数据
  2. schema 对应mysql中的数据库
  3. table 对应mysql中的表

 

 

查看 catalog : SHOW CATALOGs;

查看SCHEMA: SHOW SCHEMAS from hive/  SHOW SCHEMAS from system

查看表:SHOW TABLES FROM system.runtime / SHOW tables from hive.ad

 

posted on 2022-01-06 15:37  大鹏的鸿鹄之志  阅读(43)  评论(0编辑  收藏  举报