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
490
Other Decks in Technology
See All in Technology
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
460
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
0
700
bpf_arenaとstruct_opsを使うのが難しかった話
masu_mi
0
220
llm-d に入門してみた / Try out llm-d
kota2and3kan
0
100
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
7
3.8k
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
200
AWS Quick 入門 | 目指せ Quick マスター 01
inariku
PRO
2
240
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
130
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
300
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
2
1.5k
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
AIコーディングはじめました
miso
0
160
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
740
How to make the Groovebox
asonas
2
2.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
A Tale of Four Properties
chriscoyier
163
24k
Optimising Largest Contentful Paint
csswizardry
37
4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Exploring anti-patterns in Rails
aemeredith
4
560
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
560
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 !!