<?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: New SQL editor autocomplete doesn't work on nested JSON in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126400#M2542</link>
    <description>&lt;P&gt;Hope this helps:&lt;/P&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Based on documentation, Databricks' new SQL editor supports autocomplete for top-level and certain second-level fields of nested JSON objects, but it does not currently provide accurate, context-aware autocomplete for deeper nested fields.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Cheers, Louis&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Jul 2025 17:08:20 GMT</pubDate>
    <dc:creator>Louis_Frolio</dc:creator>
    <dc:date>2025-07-24T17:08:20Z</dc:date>
    <item>
      <title>New SQL editor autocomplete doesn't work on nested JSON</title>
      <link>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126303#M2541</link>
      <description>&lt;P&gt;I have nested JSON objects stored as values in some table columns. The table has a few top-level columns, and inside those, there are further nested JSON structures.&lt;/P&gt;&lt;P&gt;When I write queries in the new SQL editor, the autocomplete correctly lists the first- and second-level fields. However, for deeper nested fields, it starts suggesting the first- and second-level fields again instead of the actual deeper fields.&lt;/P&gt;&lt;P&gt;Since Databricks infers the schema from the data, is it possible to configure autocomplete to suggest only the correct (available) nested fields at each level?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 09:14:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126303#M2541</guid>
      <dc:creator>yit</dc:creator>
      <dc:date>2025-07-24T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: New SQL editor autocomplete doesn't work on nested JSON</title>
      <link>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126400#M2542</link>
      <description>&lt;P&gt;Hope this helps:&lt;/P&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Based on documentation, Databricks' new SQL editor supports autocomplete for top-level and certain second-level fields of nested JSON objects, but it does not currently provide accurate, context-aware autocomplete for deeper nested fields.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Cheers, Louis&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jul 2025 17:08:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126400#M2542</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-07-24T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: New SQL editor autocomplete doesn't work on nested JSON</title>
      <link>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126401#M2543</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175553"&gt;@yit&lt;/a&gt;&amp;nbsp;I could think of these possible reasons.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Autocomplete relies on metadata to provide suggestions. Ensure the workspace is enabled for Unity Catalog and that the user has the necessary permissions to access the metadata for the tables containing the nested JSON data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Autocomplete might not yet fully support the intricacies of nested JSON path expressions and schema inference. This might be an area of ongoing development or a known issue being addressed by Databricks. You can email databricks support for it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;Consider defining the schema for your JSON data, especially for nested structures, as it may help with autocomplete accuracy instead of using infer schema.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 17:31:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/new-sql-editor-autocomplete-doesn-t-work-on-nested-json/m-p/126401#M2543</guid>
      <dc:creator>nayan_wylde</dc:creator>
      <dc:date>2025-07-24T17:31:11Z</dc:date>
    </item>
  </channel>
</rss>

