<?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: Pyspark Parametrization not working correctly in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952318#M2241</link>
    <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thank you for raising this , can you link me the ICM ticket please.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 11:27:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-27T11:27:12Z</dc:date>
    <item>
      <title>Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3943348#M2160</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;According to the Fabric Runtime 1.2 release notes for Microsoft Fabric &lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/runtime-1-2" target="_blank" rel="noopener"&gt;Runtime 1.2 in Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;, the parameterization of Spark SQL should be supported. However, when I attempt to run a simple SQL query as shown below, I encounter a syntax error.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I get the following syntax error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Could you please help me identify the issue and suggest a solution?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 10:48:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3943348#M2160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-23T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3946544#M2180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;You can try the below code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;param1 = &lt;/SPAN&gt;&lt;SPAN&gt;"abcde"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;spark.sql(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;param1&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;").show()&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps. Please let me know if you have any further questions.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:05:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3946544#M2180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-24T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3950950#M2224</link>
      <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp; ,&lt;BR /&gt;Thanks for replying.&lt;BR /&gt;Your solution does indeed work , however what I am trying to do is to convert from what you suggested to the format suggested here&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/SPARK-41271" target="_blank"&gt;[SPARK-41271] Parameterized SQL - ASF JIRA (apache.org).&lt;/A&gt;&lt;BR /&gt;and I don't understand why it is not supported even though it says it is in the fabric runtime relase notes&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 06:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3950950#M2224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T06:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952186#M2240</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thanks for bringing this to our notice. The internal team has confirmed this as a bug. I have created an ICM for the same. I will let you know once this gets resolved.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 10:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952186#M2240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952318#M2241</link>
      <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thank you for raising this , can you link me the ICM ticket please.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 11:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952318#M2241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T11:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark Parametrization not working correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952349#M2242</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 11:36:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pyspark-Parametrization-not-working-correctly/m-p/3952349#M2242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T11:36:02Z</dc:date>
    </item>
  </channel>
</rss>

