<?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: Migrating to new SQL parameters in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127676#M48055</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/13171"&gt;@GC-James&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;To migrate from legacy ${variable} parameters to the new SQL parameter style in Databricks, replace ${variable} with :variable and define those parameters in the UI's "Parameters" section.&lt;/P&gt;
&lt;P&gt;Your updated code will look like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CREATE OR REPLACE TABLE IDENTIFIER(
  :environment_name || '.' || :schema_name || '.' || 'cmip6_max_rainfall_' || :run_version
) AS

SELECT *
FROM read_files(
  '/Volumes/' || :environment_name || '/' || :schema_name || '/pluvial_flood/scratch/gfes_parquets_' || :run_version || '/'
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Aug 2025 15:13:13 GMT</pubDate>
    <dc:creator>Advika</dc:creator>
    <dc:date>2025-08-07T15:13:13Z</dc:date>
    <item>
      <title>Migrating to new SQL parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127667#M48054</link>
      <description>&lt;P&gt;How do I migrate this to the new SQL paramaters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%sql&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;OR&lt;/SPAN&gt; &lt;SPAN&gt;REPLACE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt;&lt;SPAN&gt; ${environment_name}.${schema_name}.cmip6_max_rainfall_${run_version} &lt;/SPAN&gt;&lt;SPAN&gt;AS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; read_files(&lt;/SPAN&gt;&lt;SPAN&gt;'/Volumes/${environment_name}/${schema_name}/pluvial_flood/scratch/gfes_parquets_${run_version}/'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Aug 2025 12:25:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127667#M48054</guid>
      <dc:creator>GC-James</dc:creator>
      <dc:date>2025-08-07T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating to new SQL parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127676#M48055</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/13171"&gt;@GC-James&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;To migrate from legacy ${variable} parameters to the new SQL parameter style in Databricks, replace ${variable} with :variable and define those parameters in the UI's "Parameters" section.&lt;/P&gt;
&lt;P&gt;Your updated code will look like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CREATE OR REPLACE TABLE IDENTIFIER(
  :environment_name || '.' || :schema_name || '.' || 'cmip6_max_rainfall_' || :run_version
) AS

SELECT *
FROM read_files(
  '/Volumes/' || :environment_name || '/' || :schema_name || '/pluvial_flood/scratch/gfes_parquets_' || :run_version || '/'
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:13:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127676#M48055</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-08-07T15:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating to new SQL parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127692#M48056</link>
      <description>&lt;P&gt;Thanks for the help on how to change. I must say it seemed better how it was before!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:52:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/migrating-to-new-sql-parameters/m-p/127692#M48056</guid>
      <dc:creator>GC-James</dc:creator>
      <dc:date>2025-08-07T15:52:31Z</dc:date>
    </item>
  </channel>
</rss>

