Skip to Content
Trino 权威指南:原书第2版
book

Trino 权威指南:原书第2版

by Matt Fuller, Manfred Moser, Martin Traverso
July 2023
Intermediate to advanced
278 pages
5h 40m
Chinese
China Machine Press
Content preview from Trino 权威指南:原书第2版
连接器
|
105
连接器的配置和用法与
Hive
连接器类似。只需要一个类似
S3
的对象存储系统、一个元
数据存储和一个
catalog
属性文件来配置详细信息。以下是使用
Iceberg
连接器的
catalog
的简单示例:
connector.name=iceberg
hive.metastore.uri=thrift://metastore.example.com:9083
有了这些替代方案,应该避免创建任何新的数据湖,而是创建一个数据湖仓。
Trino
持所有三种格式。用
Hive
连接器从现有数据湖迁移也是可能的,值得考虑。
6.6
非关系型数据源
Trino
使用连接器来查询非关系型数据源的变体。这些数据源通常被称为
NoSQL
系统,
可以是键值存储、列存储、流处理系统、文档存储和其他系统。
其中一些数据源提供了类似
SQL
的查询语言,如
Apache Cassandra
https://cassandra.
apache.org
)的
CQL
。另一些则只提供了特定的工具或
API
来访问数据,或者使用完全
不同的查询语言,如
Elasticsearch
中使用的
Query Domain Specific Language
。这些语言
的完整性是有限的,并且没有标准化。
这些
NoSQL
数据源的
Trino
连接器允许你在这些系统上运行
SQL
查询,就像它们是关
系型数据源一样。这允许你使用商业智能工具等应用程序,或者允许了解
SQL
的人员查
询这些数据源。这包括在这些数据源上使用连接、聚合、子查询和其他高级
SQL
功能。
7
章将介绍关于这些连接器的更多内容: ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
Three Essentials for Agentic AI Security

Three Essentials for Agentic AI Security

Paolo Dal Cin, Daniel Kendzior, Yusof Seedat, Renato Marinho
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111731603