<?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: Issue with query editor - auto suggest does not respect the casing of columns in CTE in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173517#M56730</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/266739"&gt;@Ram_Sundar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+1,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing the same behaviour as-well. I tried the available editor settings (Autocomplete as you type, Automatic Genie Code Autocomplete, and the keyword/function casing options) and none of them changes the casing of CTE column suggestions. Can also Disable Auto Complete entirely, but that removes suggestions rather than fixing case.&lt;/P&gt;&lt;P&gt;Declaring the names in an explicit column list e.g. WITH test (ColumnOne, ColumnTwo) AS (...), and backtick-quoting aliases didn’t help either and suggestions still come back lowercase. Tried this at Notebook level too, still the same issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data_pulse_0-1792057614028.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32240i0E8138B805A13C20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="data_pulse_0-1792057614028.png" alt="data_pulse_0-1792057614028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Genie suggested&lt;/STRONG&gt;&amp;nbsp;that&amp;nbsp;when the editor's autocomplete reads the CTE's schema, Spark normalizes column names to lowercase internally, so the suggestions appear lowercase regardless of how you alias them.&lt;/P&gt;&lt;P&gt;My understanding is that the legacy editor has been retired as per latest &lt;A href="https://docs.databricks.com/aws/en/release-notes/whats-coming#new-sql-editor-default-enablement-and-legacy-sql-editor-retirement" target="_self"&gt;docs&lt;/A&gt;, so reverting isn’t an option anymore. I tried developer settings and SQL editor settings, but couldn't find any to revert too.&lt;/P&gt;&lt;P&gt;It looks like it needs a product side change or a setting, so it would be great if someone from Databricks could confirm whether a fix is planned.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2026 09:59:29 GMT</pubDate>
    <dc:creator>data_pulse</dc:creator>
    <dc:date>2026-10-15T09:59:29Z</dc:date>
    <item>
      <title>Issue with query editor - auto suggest does not respect the casing of columns in CTE</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173498#M56727</link>
      <description>&lt;P&gt;This behaviour (see image) of auto-suggest in the new editor makes the usage of auto-suggest pretty much useless to me.&lt;/P&gt;&lt;P&gt;I prefer PascalCase for column names in CTEs. Auto-suggest defaults to lowercase.&lt;/P&gt;&lt;P&gt;I need to type out everything. The older version of the editor supported this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="cte-column-case.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32237i8A8EE80C770DB767/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cte-column-case.png" alt="cte-column-case.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2026 08:26:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173498#M56727</guid>
      <dc:creator>Ram_Sundar</dc:creator>
      <dc:date>2026-10-15T08:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with query editor - auto suggest does not respect the casing of columns in CTE</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173508#M56729</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/266739"&gt;@Ram_Sundar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround 1: Use Backticks (`) as a Casing Anchor&lt;BR /&gt;When you wrap your column name in backticks, the Monaco auto-suggest engine suppresses its default lowercase catalog completion and respects your typed casing:&lt;/P&gt;&lt;P&gt;SQL&lt;BR /&gt;WITH ProcessedData AS (&lt;BR /&gt;SELECT&lt;BR /&gt;id AS `CustomerID`, -- Backticks force editor to honor PascalCase&lt;BR /&gt;amount AS `TotalAmount`&lt;BR /&gt;FROM main.default.raw_orders&lt;BR /&gt;)&lt;BR /&gt;SELECT `CustomerID`, `TotalAmount` FROM ProcessedData;&lt;BR /&gt;Bonus: Once a column is defined with backticks in your CTE, subsequent references elsewhere in the notebook will auto-suggest in exact PascalCase.&lt;/P&gt;&lt;P&gt;Workaround 2: Disable Automatic "As You Type" Auto-Completion&lt;BR /&gt;If auto-suggest routinely overwrites your typed PascalCase with lowercase defaults upon pressing Enter or Space:&lt;/P&gt;&lt;P&gt;Go to Settings (Click your profile icon in the top right corner).&lt;/P&gt;&lt;P&gt;Navigate to Developer (or Developer Settings).&lt;/P&gt;&lt;P&gt;Scroll down to the Code Editor section:&lt;/P&gt;&lt;P&gt;Toggle Enter key accepts autocomplete suggestions to OFF.&lt;/P&gt;&lt;P&gt;(Optional) Toggle Autocomplete as you type to OFF if you prefer invoking suggestions manually only when needed using Ctrl + Space.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2026 09:39:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173508#M56729</guid>
      <dc:creator>Satyasai</dc:creator>
      <dc:date>2026-10-15T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with query editor - auto suggest does not respect the casing of columns in CTE</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173517#M56730</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/266739"&gt;@Ram_Sundar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+1,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing the same behaviour as-well. I tried the available editor settings (Autocomplete as you type, Automatic Genie Code Autocomplete, and the keyword/function casing options) and none of them changes the casing of CTE column suggestions. Can also Disable Auto Complete entirely, but that removes suggestions rather than fixing case.&lt;/P&gt;&lt;P&gt;Declaring the names in an explicit column list e.g. WITH test (ColumnOne, ColumnTwo) AS (...), and backtick-quoting aliases didn’t help either and suggestions still come back lowercase. Tried this at Notebook level too, still the same issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data_pulse_0-1792057614028.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/32240i0E8138B805A13C20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="data_pulse_0-1792057614028.png" alt="data_pulse_0-1792057614028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Genie suggested&lt;/STRONG&gt;&amp;nbsp;that&amp;nbsp;when the editor's autocomplete reads the CTE's schema, Spark normalizes column names to lowercase internally, so the suggestions appear lowercase regardless of how you alias them.&lt;/P&gt;&lt;P&gt;My understanding is that the legacy editor has been retired as per latest &lt;A href="https://docs.databricks.com/aws/en/release-notes/whats-coming#new-sql-editor-default-enablement-and-legacy-sql-editor-retirement" target="_self"&gt;docs&lt;/A&gt;, so reverting isn’t an option anymore. I tried developer settings and SQL editor settings, but couldn't find any to revert too.&lt;/P&gt;&lt;P&gt;It looks like it needs a product side change or a setting, so it would be great if someone from Databricks could confirm whether a fix is planned.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2026 09:59:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-query-editor-auto-suggest-does-not-respect-the-casing/m-p/173517#M56730</guid>
      <dc:creator>data_pulse</dc:creator>
      <dc:date>2026-10-15T09:59:29Z</dc:date>
    </item>
  </channel>
</rss>

