Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
dbt-tokyo_meetup_2_ken_Airbyte_dbt_.pdf
Search
ken
December 16, 2021
Technology
650
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
dbt-tokyo_meetup_2_ken_Airbyte_dbt_.pdf
ken
December 16, 2021
More Decks by ken
See All by ken
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
450
Other Decks in Technology
See All in Technology
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
190
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
280
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
110
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
1
150
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
180
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
220
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Exploring anti-patterns in Rails
aemeredith
4
540
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Tell your own story through comics
letsgokoyo
1
1.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Practical Orchestrator
shlominoach
192
12k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Visualization
eitanlees
153
17k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
Transcript
dbt と Airbyte の連携 dbt tokyo Meetup #2 2021/12/16 @kwknkk
自己紹介 - 人事 (≠ データエンジニア、データアナリスト ) - 某マザーズ上場 S/W 企業(従業員数
200 名未満) - 海外子会社管理、人事制度、人員管理、採用、労務、開示 etc. - 2022/ 1~ People Engineer @ MoneyForward - 2021/ 5 ~ 10 データ基盤構築 (Zero to One) - ブルシットジョブ撲滅 & データサイロ化解消 - 事業、財務、人事の 3 領域 - スペック - スキル : SQL, Python, Git, Docker (ALL 経験年数 1 年未満 ) - 技術スタック : BigQuery, dbt, Airbyte 私は弱いがツールは強い。だから作れる(良い時代) Kenichi Kuwabara @kwknkk
Why Airbyte ? - parse 地獄からの逃避 - UI ポチポチ系を求めていた -
予算がなくて trocco 入れられなかった
Why dbt ? - 元 Dataform ユーザー - Airbyte ありきで、より楽な方法を模索していた
- Airbyte と抱き合わせで実行できて、管理対象物が減る - Airbyte(GCE インスタンススケジュール ) と Dataform を別々でスケジュール実行させていた - なんとなく盛り上がってる気がした
本番環境 ( サンプル :SFDC)
ソース 必要なフィールドだけ集めたレポートを作り、 Google アドオンでスプシに同期している。 - Airbyte の SFDC コネクタをそのまま使うと、オ ブジェクト内の全フィールドを拾ってしまう(そ
んなに要らない) - 見える場所にデータソースがあれば、誰か基 盤に興味を持ってくれるかもしれない ( という淡 い期待 )
スケジュール ワークフローエンジン不使用。 - Airbyte は 30 分おきで設定 (5 分でも別に良 い
) - GCE インスタンススケジュール (Airbyte をホ ストしている ) でジョブ制御 - 起動 : 40 8,13,17 * * 1-5 - 停止 : 0 9,14,18 * * 1-5 - インスタンス起動時に 1 回だけジョブが実行さ れる - 詳細はブログにて
カスタム dbt の使用 Git repository URL ~: https://{username}:{token}@github.com/{user}/{repo} -
Airbyte ジョブ → git clone → dbt run –full-refresh ( 下のケース ) の順に実行される - dbt の profiles.yml は Airbyte が自動生成するので気にしなくて良い - 任意の profile を指定したい場合は entrypoint に -profiles-dir=<path-to-my-profiles-yml> を 付け足せば良いらしい
最近知ったこと: dbt v1.0.0 への対応 Docker image URL~: xemuliam/dbt:1.0.0-bigquery - 今日現在
(2021/12/16) 、まだ公式イメージがリリースされていない為
最近知ったこと: Entrypoint について Entrypoint arguments~ : build - dbt {run,
test, snapshot,seed} を依存関係を考慮した上で全て実行してくれる
最近知ったこと: GitHub Actions 用 profiles.yml GitHub Actions 用にここに profiles.yml を置いても、
Airbyte や dbt Cloud 、その他環境でも悪さし ないことを確認出来たので、一安 心。 https://github.com/ken6377/dbt_m ulti_env
Thank You !!