<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: #data bricks snowflake dialect in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137691#M10964</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;As per my understanding and testing, Lake bridge currently does not support DDL or DML statements for the Snowflake dialect.&lt;BR /&gt;Only read or query operations are supported at this time.&lt;BR /&gt;Please let me know if you have any recent updates or documentation indicating otherwise.&lt;BR /&gt;&lt;BR /&gt;I have attached a snapshot that shows the converted code and the corresponding output.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-11-05 125702.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21363i0E952A2F8AF5F54D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-11-05 125702.png" alt="Screenshot 2025-11-05 125702.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2025 07:37:17 GMT</pubDate>
    <dc:creator>jadhav_vikas</dc:creator>
    <dc:date>2025-11-05T07:37:17Z</dc:date>
    <item>
      <title>#data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137685#M10961</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I’m encountering an issue while converting SQL code to the Lake bridge Snowflake dialect. It seems that DML and DDL statements may not be supported in the Snowflake dialect within Lake bridge.&lt;BR /&gt;Could you please confirm whether DML and DDL statements are supported in the Lake bridge Snowflake dialect, and if so, how they can be executed?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 07:02:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137685#M10961</guid>
      <dc:creator>jadhav_vikas</dc:creator>
      <dc:date>2025-11-05T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: #data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137687#M10962</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196660"&gt;@jadhav_vikas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Looking at lakebridge source code, particularly on their test section it seems that is should support DDL and DML statements for Snowflake. Did you get any error or it just didn't work?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1762327133916.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21361i43700AF21FEB4BDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1762327133916.png" alt="szymon_dybczak_0-1762327133916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 07:33:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137687#M10962</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-11-05T07:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: #data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137691#M10964</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;As per my understanding and testing, Lake bridge currently does not support DDL or DML statements for the Snowflake dialect.&lt;BR /&gt;Only read or query operations are supported at this time.&lt;BR /&gt;Please let me know if you have any recent updates or documentation indicating otherwise.&lt;BR /&gt;&lt;BR /&gt;I have attached a snapshot that shows the converted code and the corresponding output.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-11-05 125702.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21363i0E952A2F8AF5F54D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-11-05 125702.png" alt="Screenshot 2025-11-05 125702.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 07:37:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137691#M10964</guid>
      <dc:creator>jadhav_vikas</dc:creator>
      <dc:date>2025-11-05T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: #data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137693#M10966</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196660"&gt;@jadhav_vikas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'll try to use it after work and I'll let you know if it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 07:53:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137693#M10966</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-11-05T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: #data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137708#M10967</link>
      <description>&lt;P&gt;okay sure&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Thanks for understanding&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 08:51:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/137708#M10967</guid>
      <dc:creator>jadhav_vikas</dc:creator>
      <dc:date>2025-11-05T08:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: #data bricks snowflake dialect</title>
      <link>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/138946#M11019</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196660"&gt;@jadhav_vikas&lt;/a&gt;&amp;nbsp;, I did some digging through internal docs and I have some hints/suggestions.&lt;/P&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Short answer&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Databricks Lakehouse Federation (often referred to as “Lakehouse Bridge”) provides read‑only access to Snowflake; DML and DDL are not supported when querying Snowflake through a foreign catalog.&lt;/STRONG&gt;&lt;/P&gt;
In internal guidance, this is summarized as “can read from Snowflake but not write to Snowflake.”&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Lakebridge (Databricks Labs SQL transpiler/analyzer) does support Snowflake dialect constructs (including many DML/DDL) for migration and translation to Databricks SQL, but execution happens on Databricks, not Snowflake.&lt;/STRONG&gt; It’s used to parse Snowflake SQL, including DDL/DML, and transpile to DBSQL; the analyzer also extracts DDL/DML from Snowflake query history for migration sizing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;What’s supported where&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Lakehouse Federation to Snowflake (Unity Catalog “connection” + “foreign catalog”)&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Read-only queries with pushdowns; no DML/DDL pushdown to Snowflake from Databricks via federation.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Setup and supported pushdowns are documented in the Snowflake federation pages.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Lakebridge (Databricks Labs) Snowflake dialect&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Provides Snowflake-to-Databricks SQL translation and migration analysis, including support/tests for constructs like MERGE and CTAS in the Snowflake dialect, then maps them to DBSQL equivalents for execution on Databricks.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Databricks SQL (DBSQL) execution on Databricks&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;DBSQL supports DDL (CREATE TABLE/VIEW, ALTER, DROP, etc.) and DML (INSERT, DELETE, UPDATE, MERGE, COPY INTO, etc.) natively for Delta Lake tables.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;How to execute, depending on your goal&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Goal: Keep data and execution on Databricks (migrating Snowflake SQL to Databricks)&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Use &lt;STRONG&gt;Lakebridge&lt;/STRONG&gt; to transpile your Snowflake SQL (including DML/DDL like MERGE, CTAS) into &lt;STRONG&gt;Databricks SQL&lt;/STRONG&gt;, then run on a Databricks SQL warehouse or cluster.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;DBSQL will execute the resulting DML/DDL on Delta tables. Example of DBSQL DML/DDL that is natively supported:
&lt;DIV class="go8b9g1 _7pq7t6cj" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-sql qt3gz9e hljs language-sql _1ymogdh2"&gt;&lt;SPAN class="hljs-comment"&gt;-- Create target&lt;/SPAN&gt;
&lt;SPAN class="hljs-keyword"&gt;CREATE TABLE&lt;/SPAN&gt; tgt (id &lt;SPAN class="hljs-type"&gt;INT&lt;/SPAN&gt;, val STRING);

&lt;SPAN class="hljs-comment"&gt;-- Merge&lt;/SPAN&gt;
&lt;SPAN class="hljs-keyword"&gt;MERGE&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;INTO&lt;/SPAN&gt; tgt t
&lt;SPAN class="hljs-keyword"&gt;USING&lt;/SPAN&gt; src s
&lt;SPAN class="hljs-keyword"&gt;ON&lt;/SPAN&gt; t.id &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; s.id
&lt;SPAN class="hljs-keyword"&gt;WHEN&lt;/SPAN&gt; MATCHED &lt;SPAN class="hljs-keyword"&gt;THEN&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;UPDATE&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;SET&lt;/SPAN&gt; t.val &lt;SPAN class="hljs-operator"&gt;=&lt;/SPAN&gt; s.val
&lt;SPAN class="hljs-keyword"&gt;WHEN&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;NOT&lt;/SPAN&gt; MATCHED &lt;SPAN class="hljs-keyword"&gt;THEN&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;INSERT&lt;/SPAN&gt; (id, val) &lt;SPAN class="hljs-keyword"&gt;VALUES&lt;/SPAN&gt; (s.id, s.val);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Goal: Execute DML/DDL directly against Snowflake&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Run them in &lt;STRONG&gt;Snowflake itself&lt;/STRONG&gt; (e.g., Snowflake UI or SnowSQL CLI), which supports issuing queries, DML, and DDL natively.
&lt;DIV class="_7pq7t614 _7pq7t6cj wrz27r2 wrz27r0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;From Databricks, if you need to programmatically write to Snowflake (not via federation), use the &lt;STRONG&gt;Snowflake Spark connector&lt;/STRONG&gt; for read/write operations; this is separate from Lakehouse Federation and supports writes by using Snowflake’s APIs under the hood.
&lt;DIV class="_7pq7t614 _7pq7t6cj wrz27r2 wrz27r0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Common gotchas&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;Issuing CREATE/INSERT/UPDATE/DELETE through a Snowflake foreign catalog in Unity Catalog will fail—the federation path is read‑only by design.&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Lakebridge is for &lt;STRONG&gt;translation and migration&lt;/STRONG&gt;; it doesn’t push Snowflake DML/DDL to Snowflake. Use it to convert Snowflake SQL to DBSQL and then run on Databricks.&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR /&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Recommended path&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;If you are converting SQL “to Lakebridge’s Snowflake dialect” to then run via Lakehouse Federation: switch strategy. Use federation only for reads, and use either Snowflake-native execution for DML/DDL or migrate/transpile to DBSQL for execution on Databricks.
&lt;DIV class="_7pq7t614 _7pq7t6cj wrz27r2 wrz27r0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Cheers, Louis.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:07:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/data-bricks-snowflake-dialect/m-p/138946#M11019</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-11-13T16:07:04Z</dc:date>
    </item>
  </channel>
</rss>

