<?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: Pass catalog/schema/table name as a parameter to sql task in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/143057#M52084</link>
    <description>&lt;P&gt;This works&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;USE &lt;SPAN&gt;CATALOG &lt;/SPAN&gt;IDENTIFIER({{ catalog_name }});&lt;BR /&gt;USE &lt;SPAN&gt;SCHEMA &lt;/SPAN&gt;IDENTIFIER({{ schema_name }});&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Jan 2026 20:52:45 GMT</pubDate>
    <dc:creator>detom</dc:creator>
    <dc:date>2026-01-05T20:52:45Z</dc:date>
    <item>
      <title>Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58275#M31079</link>
      <description>&lt;P&gt;Hi, i am trying to pass catalog name as a parameter into query for sql task, and it pastes it with single quotes, which results in error. Is there a way to pass raw value or other possible workarounds?&amp;nbsp;&lt;/P&gt;&lt;P&gt;query:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;INSERT INTO &lt;/SPAN&gt;{{ catalog }}.pas.product_snapshot&lt;BR /&gt;&lt;SPAN&gt;SELECT ...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;task parameters&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;{ "catalog": "dev" }&lt;/PRE&gt;&lt;P&gt;error message:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;[PARSE_SYNTAX_ERROR] Syntax error at or near ''dev''.(line 1, pos 12) == SQL == INSERT INTO 'dev'.pas.product_snapshot&amp;nbsp; SELECT ...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 14:52:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58275#M31079</guid>
      <dc:creator>EdemSeitkh</dc:creator>
      <dc:date>2024-01-23T14:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58276#M31080</link>
      <description>&lt;P&gt;workaround that worked for me was to create databricks sql query, add enum parameter and use that query in task, instead of git file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 15:05:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58276#M31080</guid>
      <dc:creator>EdemSeitkh</dc:creator>
      <dc:date>2024-01-23T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58282#M31082</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98666"&gt;@EdemSeitkh&lt;/a&gt;&amp;nbsp; -&amp;nbsp; you may need to populate in a single quote -&lt;SPAN&gt;'{{ catalog }}'&lt;/SPAN&gt;.&amp;nbsp; Hopefully, you had created a sql query in DBSQL query editor and it will provide the parameters to populate in the UI itself like below example.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-23 at 10.00.50 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/5965iB54C71C79BDBD710/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-01-23 at 10.00.50 AM.png" alt="Screenshot 2024-01-23 at 10.00.50 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 16:01:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58282#M31082</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2024-01-23T16:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58347#M31107</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/616"&gt;@shan_chandra&lt;/a&gt;&amp;nbsp;yes, i have created with&amp;nbsp;&lt;SPAN&gt;DBSQL query&amp;nbsp;and it worked fine. Previously it was using direct file from git and had this issue i described.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 16:40:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/58347#M31107</guid>
      <dc:creator>EdemSeitkh</dc:creator>
      <dc:date>2024-01-24T16:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/65929#M32959</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98666"&gt;@EdemSeitkh&lt;/a&gt;&amp;nbsp; can you elaborate on your workaround? Curious how you were able to implement an enum paramter in DBSQL.&lt;/P&gt;&lt;P&gt;I'm running into this same issue now.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 22:37:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/65929#M32959</guid>
      <dc:creator>lathaniel</dc:creator>
      <dc:date>2024-04-09T22:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/71063#M34237</link>
      <description>&lt;P&gt;dropdownlist works well, however it doesnt work when i do a dynamic parameter like {{task.name}}.&lt;/P&gt;&lt;P&gt;Any one got a solution?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 23:37:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/71063#M34237</guid>
      <dc:creator>jeroaranda</dc:creator>
      <dc:date>2024-05-29T23:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pass catalog/schema/table name as a parameter to sql task</title>
      <link>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/143057#M52084</link>
      <description>&lt;P&gt;This works&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;USE &lt;SPAN&gt;CATALOG &lt;/SPAN&gt;IDENTIFIER({{ catalog_name }});&lt;BR /&gt;USE &lt;SPAN&gt;SCHEMA &lt;/SPAN&gt;IDENTIFIER({{ schema_name }});&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jan 2026 20:52:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pass-catalog-schema-table-name-as-a-parameter-to-sql-task/m-p/143057#M52084</guid>
      <dc:creator>detom</dc:creator>
      <dc:date>2026-01-05T20:52:45Z</dc:date>
    </item>
  </channel>
</rss>

