<?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: Using FOR XML RAW in Spark SQL in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/56334#M30523</link>
    <description>&lt;P&gt;The Idea here was to create a unique id based upon the number of columns,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used dense Rank to resolve this issue&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 06:53:05 GMT</pubDate>
    <dc:creator>AzaharNadaf</dc:creator>
    <dc:date>2024-01-03T06:53:05Z</dc:date>
    <item>
      <title>Using FOR XML RAW in Spark SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/55769#M30431</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;How can I convert below SQL&amp;nbsp;server query to spark SQL&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Query -&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT distinct &lt;SPAN class=""&gt;HashBytes&lt;/SPAN&gt;('md5',&amp;nbsp;(SELECT a, b, c&amp;nbsp;for xml raw)) as xyzzy&amp;nbsp;&amp;nbsp;FROM&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;table name&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Need help here community &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 05:26:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/55769#M30431</guid>
      <dc:creator>AzaharNadaf</dc:creator>
      <dc:date>2023-12-27T05:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using FOR XML RAW in Spark SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/55770#M30432</link>
      <description>&lt;P&gt;Also need to find out here how to use multiple columns in md5 function as above&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 06:57:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/55770#M30432</guid>
      <dc:creator>AzaharNadaf</dc:creator>
      <dc:date>2023-12-27T06:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using FOR XML RAW in Spark SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/56334#M30523</link>
      <description>&lt;P&gt;The Idea here was to create a unique id based upon the number of columns,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used dense Rank to resolve this issue&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 06:53:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-for-xml-raw-in-spark-sql/m-p/56334#M30523</guid>
      <dc:creator>AzaharNadaf</dc:creator>
      <dc:date>2024-01-03T06:53:05Z</dc:date>
    </item>
  </channel>
</rss>

