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

原文地址:https://www.cnblogs.com/pengpenghuhu/p/15771376.html