<?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 Parameters as query strings in the URL in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/parameters-as-query-strings-in-the-url/m-p/35711#M25951</link>
    <description>&lt;P&gt;Working with a query that was imported to Databricks from Redash.&lt;/P&gt;&lt;P&gt;There are a couple fields set as parameters on this query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danieleads_0-1687972165051.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2703i251AE6CA038325CF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="danieleads_0-1687972165051.png" alt="danieleads_0-1687972165051.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Redash, it was possible to pre-fill the values for those parameters in the URL. Here's an example showing a valid pre-fill from Redash:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;redash.site.com/queries/12345?p_Dates=2023-02-28--2023-06-28%26p_UserID=12345&lt;/LI-CODE&gt;&lt;P&gt;Those parameters don't seem to work anymore in the Databricks version of this query. Interestingly though when I enter parameters on the page and submit them in the Databricks query, the URL&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; update with those parameters -&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://site.databricks.com/sql/editor/queryid?o=ownerid&amp;amp;p_Dates=2023-06-28--2023-06-30&amp;amp;p_UserID=1234&lt;/LI-CODE&gt;&lt;P&gt;It just doesn't seem to carry over if I copy that link and open it in a new tab. It's like the page just ignores the query strings, but oddly decides to write them to the URL if you update the parameters.&lt;/P&gt;&lt;P&gt;Was this a half-implemented function? It doesn't make sense to me that it would rewrite the URL if it also couldn't take parameters in from the URL. Or is there something I'm missing about how they need to be formatted?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 17:19:05 GMT</pubDate>
    <dc:creator>danieleads</dc:creator>
    <dc:date>2023-06-28T17:19:05Z</dc:date>
    <item>
      <title>Parameters as query strings in the URL</title>
      <link>https://community.databricks.com/t5/data-engineering/parameters-as-query-strings-in-the-url/m-p/35711#M25951</link>
      <description>&lt;P&gt;Working with a query that was imported to Databricks from Redash.&lt;/P&gt;&lt;P&gt;There are a couple fields set as parameters on this query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danieleads_0-1687972165051.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2703i251AE6CA038325CF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="danieleads_0-1687972165051.png" alt="danieleads_0-1687972165051.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Redash, it was possible to pre-fill the values for those parameters in the URL. Here's an example showing a valid pre-fill from Redash:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;redash.site.com/queries/12345?p_Dates=2023-02-28--2023-06-28%26p_UserID=12345&lt;/LI-CODE&gt;&lt;P&gt;Those parameters don't seem to work anymore in the Databricks version of this query. Interestingly though when I enter parameters on the page and submit them in the Databricks query, the URL&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; update with those parameters -&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://site.databricks.com/sql/editor/queryid?o=ownerid&amp;amp;p_Dates=2023-06-28--2023-06-30&amp;amp;p_UserID=1234&lt;/LI-CODE&gt;&lt;P&gt;It just doesn't seem to carry over if I copy that link and open it in a new tab. It's like the page just ignores the query strings, but oddly decides to write them to the URL if you update the parameters.&lt;/P&gt;&lt;P&gt;Was this a half-implemented function? It doesn't make sense to me that it would rewrite the URL if it also couldn't take parameters in from the URL. Or is there something I'm missing about how they need to be formatted?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 17:19:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parameters-as-query-strings-in-the-url/m-p/35711#M25951</guid>
      <dc:creator>danieleads</dc:creator>
      <dc:date>2023-06-28T17:19:05Z</dc:date>
    </item>
  </channel>
</rss>

