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
DatabricksとSnowflakeのデータを連携できるらしいのでやってみたら、思ってたの...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
kaori nishimura
March 16, 2026
Technology
13
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DatabricksとSnowflakeのデータを連携できるらしいのでやってみたら、思ってたのとちょっと違った話。dbtも添えて。
kaori nishimura
March 16, 2026
More Decks by kaori nishimura
See All by kaori nishimura
SnowflakeDCRやってみた話
nishimurakaori
0
390
Other Decks in Technology
See All in Technology
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.2k
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
840
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
120
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
280
夫婦で子育てするための育児標準化
codmoninc
PRO
0
460
Local CI × GitHub Actions
gogutan
3
230
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
620
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
190
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
190
会社紹介資料 / Sansan Company Profile
sansan33
PRO
31
430k
WasmをRustにする
sansantech
PRO
0
280
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
エンジニアに許された特別な時間の終わり
watany
109
250k
Balancing Empowerment & Direction
lara
6
1.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
Why Our Code Smells
bkeepers
PRO
340
58k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Transcript
Copyright MethodoLogic.Inc. All Rights Reserved. Snowflake Unconference DatabricksとSnowflakeの データを連携できるらしいので やってみたら、思ってたのとち
ょっと違った話。 dbtも添えて。 2026/03/04 Kaori Nishimura
Copyright MethodoLogic.Inc. All Rights Reserved. Icebergを使えば異なるサービスでファイル共有できるって聞いたので、こういうのを 想像してました。 AWSのS3 bucketに Iceberg形式のファイルを
置いて、Databricksと Snowflakeがそれぞれ見に 行くのかな?
Copyright MethodoLogic.Inc. All Rights Reserved. 実際にSnowflakeがDatabricksのデータ参照するときのアーキはこうでした。 Iceberg 読み取りを有 効にする Delta
テーブ ルを作成する。 カタログリンクデータベ ースで同期を取ると、 Databricksのカタログ配 下のschema、Table等 が見れます。 oAuth接続追 加する CREATE TABLE xx_catalog.xx_schema.xx_data ( c_1 INT ) USING DELTA LOCATION 's3://<バケット名>/xx_catalog/xx_schema/xx_data/' TBLPROPERTIES ( 'delta.columnMapping.mode' = 'name', 'delta.enableIcebergCompatV2' = 'true', 'delta.universalFormat.enabledFormats' = 'iceberg' );
Copyright MethodoLogic.Inc. All Rights Reserved. 何でこうなるの?と思ったら、ちゃんと本に書いてありました。 Icebergカタログが 上位に来るのね
Copyright MethodoLogic.Inc. All Rights Reserved. SnowflakeからTable追加するときは、もうひと工夫必要。 Iceberg形式でテーブル 作成する。 カタログエクスプローラ ーから、メタストアに外
部データアクセスを有効 にする ACCESS_DELEGATION_MODE = VENDED_CREDENTIALS
Copyright MethodoLogic.Inc. All Rights Reserved. dbtでDatabricksへモデルを作成するとき dbt {{ config( tblproperties
= { 'delta.columnMapping.mode':'name', 'delta.enableDeletionVectors': 'false', 'delta.enableIcebergCompatV2':'true', 'delta.universalFormat.enabledFormats':'iceberg' })}} Select * from hoge Modelのconfigに tblpropertiesを書けば OK
Copyright MethodoLogic.Inc. All Rights Reserved. DatabricksからSnowflakeのデータ参照ベースでつくるとき ▪ Databricksのカタログエクスプローラー > 接続
> からSnowflakeの接続を作ればいけそう
Copyright MethodoLogic.Inc. All Rights Reserved. 懸念点とか ▪ SnowflakeからDatabricksへ同期を取るときにクエリが走るので、30 秒間隔とかにしても、まあまあお値段かかりそう。 ▪
Databricksの権限回りがきっちりやると大変そう(今回はお試しな のでガバい) ▪ カタログリンクデータベースでスキーマが小文字になってくるか ら”hoge”で囲め、とか謎い設定がいろいろ必要。 ▪ エラーが起きた時に原因がAWS IAM/S3 or Databricks or Snowflake のどこにあるのか、探すのが大変。
Copyright MethodoLogic.Inc. All Rights Reserved. その他、まだ試していないこと。試したけど、失敗してること。 ▪ Databricksは、そもそもIceberg形式でテーブル作ればいいので は?(たぶんいけそう・・) ▪
カタログリンクデータベースのSnowflakeにdbtを接続してTable作成 するのは、まだうまくいっていない。何か必要な設定がありそう。 ▪ カタログリンクデータベースのリンクされてきたSnowflake Tableに 対して、行単位のInsert/Deleteは、まだうまくいっていない。
Copyright MethodoLogic.Inc. All Rights Reserved. おしまい ▪ ありがとうございました。