Skip to Content
Presto实战
book

Presto实战

by Matt Fuller, Manfred Moser, Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from Presto实战
122
8
在每个连接器中,
Information Schema
都有
8
个视图。对于某些不支持的功能(例如角色)
的连接器,查询对应的
InformationSchema
可能会产生一个不支持的错误:
SHOW TABLES IN system.information_schema;
Table
------------------
applicable_roles
columns
enabled_roles
roles
schemata
table_privileges
tables
views
(8 rows)
注意,在你通过
Information Schema
查询
schema
中的表时,也会返回
Information Schema
自身拥有的表:
SELECT * FROM hive.information_schema.tables;
table_catalog | table_schema | table_name | table_type
---------------+--------------------+------------------+----------
hive | web | nation | BASE TABLE
hive | information_schema | enabled_roles | BASE TABLE
hive | information_schema | roles | BASE TABLE
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大数据项目管理:从规划到实现

大数据项目管理:从规划到实现

Ted Malaska, Jonathan Seidman
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield

Publisher Resources

ISBN: 9787115560056