<?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: Are there SQL linters for Databricks GUI queries and notebook %sql cells? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136078#M50479</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;in databricks notebook is possible to connect own linters&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for your response. I can confirm that depending on the Databricks Runtime version, linters such as Ruff, Pylint, and Flake8 are available for use(&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/notebooks/notebook-editor#configure-python-syntax-highlighting" target="_self"&gt;ref&lt;/A&gt;). However, I haven't been able to find any linter specifically for `%sql` cells in Databricks notebooks (those with the `%sql` magic command) within the workspace. Should I understand that SQL linting is not currently supported for these cells?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I don't think it will work in SQL editor.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for clarifying. So far, I haven't been able to find any SQL linter support either.&lt;/P&gt;</description>
    <pubDate>Sun, 26 Oct 2025 14:35:25 GMT</pubDate>
    <dc:creator>Lenoq</dc:creator>
    <dc:date>2025-10-26T14:35:25Z</dc:date>
    <item>
      <title>Are there SQL linters for Databricks GUI queries and notebook %sql cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136060#M50475</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for SQL linters in two different contexts within Databricks GUI:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SQL queries in Databricks SQL Editor (GUI)&lt;/STRONG&gt; - Is there a built-in linter for writing SQL queries in the Databricks SQL workspace?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;%sql magic cells in Databricks notebooks (GUI)&lt;/STRONG&gt; - Is there a linter that checks SQL syntax/quality within %sql cells in notebooks accessed through the Databricks GUI?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;CLI usage&lt;/STRONG&gt; - If SQL linting capabilities exist for either of the above, is there a way to use them via Databricks CLI (for CI/CD pipelines, for example)?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've already found that Databricks uses gethue/sql-formatter for SQL formatting in both contexts, but I haven't been able to find any information about corresponding linters. I've searched through the documentation and community forums without success.&lt;/P&gt;&lt;P&gt;Does Databricks provide built-in SQL linting capabilities in either of these environments? I would prefer to use an official Databricks-recommended approach if one exists. If not, are there any officially endorsed or commonly recommended third-party tools that integrate well with Databricks for SQL linting?&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated!&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 08:58:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136060#M50475</guid>
      <dc:creator>Lenoq</dc:creator>
      <dc:date>2025-10-26T08:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Are there SQL linters for Databricks GUI queries and notebook %sql cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136066#M50478</link>
      <description>&lt;P&gt;in databricks notebook is possible to connect own linters but I don't think it will work in SQL editor.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 12:33:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136066#M50478</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2025-10-26T12:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Are there SQL linters for Databricks GUI queries and notebook %sql cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136078#M50479</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;in databricks notebook is possible to connect own linters&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for your response. I can confirm that depending on the Databricks Runtime version, linters such as Ruff, Pylint, and Flake8 are available for use(&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/notebooks/notebook-editor#configure-python-syntax-highlighting" target="_self"&gt;ref&lt;/A&gt;). However, I haven't been able to find any linter specifically for `%sql` cells in Databricks notebooks (those with the `%sql` magic command) within the workspace. Should I understand that SQL linting is not currently supported for these cells?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I don't think it will work in SQL editor.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for clarifying. So far, I haven't been able to find any SQL linter support either.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 14:35:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136078#M50479</guid>
      <dc:creator>Lenoq</dc:creator>
      <dc:date>2025-10-26T14:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Are there SQL linters for Databricks GUI queries and notebook %sql cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136101#M50488</link>
      <description>&lt;P&gt;You can check open source &lt;STRONG&gt;sqlfluff&lt;/STRONG&gt;.&amp;nbsp; But I guess this option will be suited for&amp;nbsp;&lt;STRONG&gt;CLI usage.&amp;nbsp;&lt;/STRONG&gt;(and use within some CI/CD process)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_1-1761506465088.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21043iDE0C549E4CED49BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_1-1761506465088.png" alt="szymon_dybczak_1-1761506465088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/sqlfluff/sqlfluff" target="_blank" rel="noopener"&gt;sqlfluff/sqlfluff: A modular SQL linter and auto-formatter with support for multiple dialects and templated code.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 19:23:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136101#M50488</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-26T19:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Are there SQL linters for Databricks GUI queries and notebook %sql cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136113#M50494</link>
      <description>&lt;P&gt;Thank you. I think sqlfluff is perfect as it's effective for .sql files and supports the Databricks dialect. The issue is with %sql cells in .ipynb files. To handle this, there are tools like &lt;A href="https://github.com/andialbrecht/sqlparse" target="_self"&gt;sqlparse&lt;/A&gt; and &lt;A href="https://github.com/nbQA-dev/nbQA" target="_self"&gt;nbqa&lt;/A&gt;, but there are concerns about whether they support the Databricks dialect and the fact that I'd prefer not to rely on unofficial tools. Also, since I don't like having a mix of tools, I was hoping to find something that could be used uniformly for both.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 02:14:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/are-there-sql-linters-for-databricks-gui-queries-and-notebook/m-p/136113#M50494</guid>
      <dc:creator>Lenoq</dc:creator>
      <dc:date>2025-10-27T02:14:33Z</dc:date>
    </item>
  </channel>
</rss>

