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版
Trino
与其他工具集成
|
223
它用
Python
实现,能够编排并执行用
Python
编写的复杂工作流,并且能够调用众多支
持的系统,还可以执行
shell
脚本。
为了将
Trino
Airflow
集成起来,你可以利用
Airflow
中的
Trino
钩子(
hook
,或在命
令行中运行
Trino CLI
Airflow
支持
Trino
之外的许多数据源,因此你既可以在
Trino
外准备数据,之后通过
Trino
来消费数据,又可以通过
Trino
来访问和处理数据,以利
用其高性能、可扩展性和集成众多数据源的特性。
整合
Airflow
Trino
的目标通常是对源数据进行处理,最终得到一个高质量的数据集,
可以为应用程序和机器学习模型所用。一旦由
Airflow
编排并由
Trino
或其他集成的组
件执行的工作流程产生了所需的数据集,就可以用
Trino
来访问这些数据。
如果
Apache Airflow
不是你选择的工具,那么
dbt
Apache Flink
也可以实现类似的功
能,它们对
Trino
有很好的支持。你还可以使用支持其中一个客户端库的其他工具,如
JDBC
驱动程序或
Trino Python
客户端,甚至可以使用
Trino CLI
运行
SQL
脚本。
一旦你的所有流程都在运行,并且根据需要移动和修改数据,你就可以通过报告和仪表
板向用户展示这些数据,这可以使用
Apache Superset
,参见
11.1
节。
11.4
嵌入式
Trino
示例:
Amazon Athena
Amazon Athena (
https://aws.amazon.com/athena ...
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