Skip to Content
Databricks認定データエンジニアアソシエイト 学習ガイド
book

Databricks認定データエンジニアアソシエイト 学習ガイド

by Derar Alhussein
March 2025
Intermediate to advanced
408 pages
6h 22m
Japanese
O'Reilly Media, Inc.
Audiobook available
Content preview from Databricks認定データエンジニアアソシエイト 学習ガイド

第6章 生産パイプラインの構築 生産パイプラインをビルドする

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

データパイプラインが 複雑になるにつれ、信頼性、スケーラビリティ、保守性を確保するために、どのようにプロダクション化するかを検討する必要がある。そこで、本番用パイプラインのビルドが必要になる。この章では、Delta Live Tables と Databricks ジョブを使用して、堅牢性と効率性に優れた本番用パイプラインを作成する方法について説明する。データ品質の管理、データ変更の取り込み、パイプラインを自動化するためのワークフローのオーケストレーションのニュアンスについて掘り下げていく。

デルタ・ライブテーブルを探る

Delta Live Tables (DLT)は、、、本番データパイプラインを簡単に構築できる強力なツールである。データパイプラインを管理するシンプルで直感的な方法を提供することで、DLTはデータからの洞察の抽出に集中できるようにする。このセクションでは、Delta Live Tables の世界に入り込み、その主な機能、利点、使用事例を探る。

デルタ・ライブテーブルの紹介

Delta Live Tablesは、信頼性と保守性の高いデータパイプラインを構築するための、Apache Spark()による宣言型ETLフレームワークである。テーブルの依存性とデータ品質を維持しながら、大規模なデータ処理パイプラインの作成プロセスを簡素化するように設計されている。

図6-1は、DLTパイプラインのサンプルを示している。このパイプラインは、この章の後のセクションで構築される。

図6-1. DLTパイプラインの例

このように、DLTパイプラインはよく可視化されており、テーブルとテーブル間の依存関係を簡単に特定することができる。

デルタ・ライブテーブルの利点

DLTは、Apache Sparkや他の従来のETLフレームワークと比較して、以下のような利点を提供する:

パイプライン建設の簡素化
DLT は、パイプライン構築への宣言的アプローチを提供し、より少ないコードで、複雑さと開発時間を削減することを可能にする。
テーブルの依存関係を維持する
DLTは、有向 非周期グラフ(DAG)を使用して、データパイプライン内のテーブルの依存関係を効率的に管理し、信頼性と保守性を高める。
データ品質管理をサポートする
DLTはデータ品質管理のために 、高品質のデータ出力を保証する。

DLTとSparkの構造化ストリーミングの比較

DLTの第一の目標は、複雑なパイプラインの構築と維持に伴うオーバーヘッドを削減することである。DLTとSpark Structured Streamingの違いをよりよく理解するために、表6-1に示す主要な機能を比較してみよう。

表6-1. DLTとSpark構造化ストリーミングの比較
Spark構造化ストリーミング DLT
Python構文
spark.readStream
     .format("cloudFiles")
     .option("cloudFiles.format",
             "json")
     .load
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

生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

Rob Thomas, Paul Zikopoulos, Kate Soule, 本多 真二郎, オライリー・ジャパン編集部
データサイエンス講義

データサイエンス講義

Rachel Schutt, Cathy O'Neil, 瀬戸山 雅人, 石井 弓美子, 河内 崇, 河内 真理子, 古畠 敦, 木下 哲也, 竹田 正和, 佐藤 正士, 望月 啓充
生成AIの可視化

生成AIの可視化

Priyanka Vergadia, Valliappa Lakshmanan

Publisher Resources

ISBN: 9798341634305