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
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
250
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
350
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
150
Kiro Crewをはじめよう
kizawa2020
1
160
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
今さら理解するウェブフォントver.2026
takanorip
3
830
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
480
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
110
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
430
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
210
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Test your architecture with Archunit
thirion
2
2.4k
How to build a perfect <img>
jonoalderson
1
6.1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
A designer walks into a library…
pauljervisheath
211
25k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
30 Presentation Tips
portentint
PRO
1
430
Skip the Path - Find Your Career Trail
mkilby
1
260
sira's awesome portfolio website redesign presentation
elsirapls
0
460
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 !!