<?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: Spatial Queries in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/135807#M10895</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/165008"&gt;@Corar&lt;/a&gt;&amp;nbsp;You might want to enable that explicitly by setting 'spark.databricks.geo.st.enabled' configuration to value 'true'.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 09:35:06 GMT</pubDate>
    <dc:creator>ivan-kurchenko</dc:creator>
    <dc:date>2025-10-23T09:35:06Z</dc:date>
    <item>
      <title>Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69259#M3014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to execute the following code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;%sql&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;SELECT&lt;SPAN&gt; LSOA21CD,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ST_X(ST_GeomFromWKB(Geom_Varbinary)) &lt;SPAN&gt;AS&lt;SPAN&gt; STX,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ST_Y(ST_GeomFromWKB(Geom_Varbinary)) &lt;SPAN&gt;AS&lt;SPAN&gt; STY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;FROM &lt;SPAN&gt;ordnance_survey_lsoas_december_2021_population_weighted_centroids&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;WHERE&lt;SPAN&gt; LSOA21CD &lt;SPAN&gt;= &lt;SPAN&gt;&lt;SPAN&gt;'E01029645'&lt;BR /&gt;And get the following error:&lt;BR /&gt;&lt;SPAN class=""&gt;AnalysisException:&amp;nbsp; [ST_NOT_ENABLED] st_x is disabled or unsupported. Consider enabling Photon or switch to a tier that supports ST expressions&lt;BR /&gt;I've enabled Photon but that doesn't resolve the issue.&amp;nbsp; Cluster is defined as below:&lt;A class="" href="https://docs.microsoft.com/azure/databricks/error-messages/error-classes#st_not_enabled" target="_blank" rel="noopener noreferrer"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Policy - Shared Compute&lt;BR /&gt;Access mode - Shared&lt;BR /&gt;Databricks Runtime Version - 14.2 (includes Apache Spark 3.5.0, Scala 2.12)&lt;BR /&gt;Worker type - Standard_D8ads_v5&lt;BR /&gt;Unity Catalog Enabled&lt;BR /&gt;Extra&lt;BR /&gt;1-5 Workers - 32-160 GB Memory, 8-40 Cores&lt;BR /&gt;1 Driver - 32 GB Memory, 8 Cores&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 May 2024 11:55:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69259#M3014</guid>
      <dc:creator>GMB</dc:creator>
      <dc:date>2024-05-17T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69277#M3015</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99483"&gt;@GMB&lt;/a&gt;&amp;nbsp;, how are you?&lt;/P&gt;
&lt;P&gt;The "st_x" function is part of the spatial expressions supported in Photon-enabled Databricks Runtime 14.2 with the Private Preview enabled.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Here are the steps you can follow:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Ensure that you're using a Photon-enabled Databricks cluster. If not, you might need to switch to a Photon-enabled cluster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Check if the Private Preview is enabled in your workspace. If not, you might need to enable it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Once you have a Photon-enabled cluster and the Private Preview enabled, you should be able to use the "st_x" function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;To participate on the Private Preview, your account team will need to nominate you first, then you will need to approve the Private Preview Terms of Service.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please check with your SA or Account's Manager to see whether you can join?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alessandro&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 13:49:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69277#M3015</guid>
      <dc:creator>anardinelli</dc:creator>
      <dc:date>2024-05-17T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69281#M3016</link>
      <description>&lt;P&gt;Are there any alternative options without enabling Private Preview?&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 14:05:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/69281#M3016</guid>
      <dc:creator>GMB</dc:creator>
      <dc:date>2024-05-17T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/99953#M4605</link>
      <description>&lt;P&gt;we also need this function without the private preview, any solutions?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 12:58:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/99953#M4605</guid>
      <dc:creator>g_daems_vmm</dc:creator>
      <dc:date>2024-11-25T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/119621#M10053</link>
      <description>&lt;P&gt;How is the status of ST_X support in databricks, since we did not find any further information. We are using Azure Databricks, function appear in the functions list, but do not work even with Photon enabled? How could we get into the preview, if this still exists.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 12:24:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/119621#M10053</guid>
      <dc:creator>Corar</dc:creator>
      <dc:date>2025-05-19T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Queries</title>
      <link>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/135807#M10895</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/165008"&gt;@Corar&lt;/a&gt;&amp;nbsp;You might want to enable that explicitly by setting 'spark.databricks.geo.st.enabled' configuration to value 'true'.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:35:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/spatial-queries/m-p/135807#M10895</guid>
      <dc:creator>ivan-kurchenko</dc:creator>
      <dc:date>2025-10-23T09:35:06Z</dc:date>
    </item>
  </channel>
</rss>

