<?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 Setting shuffle partitions in Databricks SQL Warehouse in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/setting-shuffle-partitions-in-databricks-sql-warehouse/m-p/124344#M47157</link>
    <description>&lt;P&gt;I think it used to be possible to set shuffle partitions in databricks sql warehouse through e.g.:&amp;nbsp;&lt;SPAN&gt;SET spark.sql.shuffle.partitions=20000. However, when I run this now, I get the error:&lt;BR /&gt;[&lt;A class="" href="https://docs.microsoft.com/azure/databricks/error-messages/error-classes#config_not_available" target="_blank" rel="noopener noreferrer"&gt;CONFIG_NOT_AVAILABLE&lt;/A&gt;] Configuration spark.sql.shuffle.partitions is not available. SQLSTATE: 42K0I&lt;BR /&gt;Has the ability to set shuffle partitions been removed as part of an update, or is there an alternative way of doing this?&lt;BR /&gt;I have several queries that would hugely benefit from a larger number of shuffle partitions, as I can see massive amounts of spill when checking the Spark UI.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 15:09:22 GMT</pubDate>
    <dc:creator>stevewb</dc:creator>
    <dc:date>2025-07-07T15:09:22Z</dc:date>
    <item>
      <title>Setting shuffle partitions in Databricks SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/setting-shuffle-partitions-in-databricks-sql-warehouse/m-p/124344#M47157</link>
      <description>&lt;P&gt;I think it used to be possible to set shuffle partitions in databricks sql warehouse through e.g.:&amp;nbsp;&lt;SPAN&gt;SET spark.sql.shuffle.partitions=20000. However, when I run this now, I get the error:&lt;BR /&gt;[&lt;A class="" href="https://docs.microsoft.com/azure/databricks/error-messages/error-classes#config_not_available" target="_blank" rel="noopener noreferrer"&gt;CONFIG_NOT_AVAILABLE&lt;/A&gt;] Configuration spark.sql.shuffle.partitions is not available. SQLSTATE: 42K0I&lt;BR /&gt;Has the ability to set shuffle partitions been removed as part of an update, or is there an alternative way of doing this?&lt;BR /&gt;I have several queries that would hugely benefit from a larger number of shuffle partitions, as I can see massive amounts of spill when checking the Spark UI.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 15:09:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/setting-shuffle-partitions-in-databricks-sql-warehouse/m-p/124344#M47157</guid>
      <dc:creator>stevewb</dc:creator>
      <dc:date>2025-07-07T15:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting shuffle partitions in Databricks SQL Warehouse</title>
      <link>https://community.databricks.com/t5/data-engineering/setting-shuffle-partitions-in-databricks-sql-warehouse/m-p/124345#M47158</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/137155"&gt;@stevewb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's not available anymore. According with documentation:&lt;/P&gt;&lt;P&gt;" Databricks SQL&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;allows admins to configure Spark properties for data access in the workspace settings menu. See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/admin/sql/data-access-configuration" target="_blank"&gt;Data access configurations&lt;/A&gt;Other than data access configurations,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Databricks SQL&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;only allows a &lt;STRONG&gt;handful of Spark confs&lt;/STRONG&gt;, which have been aliased to shorter names for simplicity. See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-parameters" target="_blank"&gt;Configuration parameters&lt;/A&gt;."&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/spark/conf?language=Python" target="_blank"&gt;Set Spark configuration properties on Databricks | Databricks Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So, using spark conf in Databricks SQL is limited.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 15:29:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/setting-shuffle-partitions-in-databricks-sql-warehouse/m-p/124345#M47158</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-07-07T15:29:22Z</dc:date>
    </item>
  </channel>
</rss>

