<?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: How to do bucketing in Databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23143#M15943</link>
    <description>&lt;P&gt;good question &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; I was going to mention this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can still use external tables. Those tables will be stored outside the main (root) metastore bucket/container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/create-tables.html" alt="https://docs.databricks.com/data-governance/unity-catalog/create-tables.html" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/create-tables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html?&amp;amp;_ga=2.51294764.469232365.1667997233-855266531.1667997233#manage-storage-credentials" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html?&amp;amp;_ga=2.51294764.469232365.1667997233-855266531.1667997233#manage-storage-credentials" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-storage-credentials&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use parquet tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the way forward is to use managed tables with Unity Catalog, they are gaining some performance improvements over time.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 12:36:24 GMT</pubDate>
    <dc:creator>Pat</dc:creator>
    <dc:date>2022-11-09T12:36:24Z</dc:date>
    <item>
      <title>How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23138#M15938</link>
      <description>&lt;P&gt;We are migrating a job from onprem to databricks. We are trying to optimize the jobs but couldn't use bucketing because by default databricks stores all tables as delta table and it shows error that bucketing is not supported for delta. Is there anyway to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 06:06:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23138#M15938</guid>
      <dc:creator>Arun_tsr</dc:creator>
      <dc:date>2022-11-09T06:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23140#M15940</link>
      <description>&lt;P&gt;Hi @Debayan Mukherjee​&amp;nbsp;We are following similar syntax for creating the bucketed table. But we are getting the following error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Operation not allowed: `Bucketing` is not supported for Delta tables&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks by default considering the created tables as delta &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:40:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23140#M15940</guid>
      <dc:creator>Arun_tsr</dc:creator>
      <dc:date>2022-11-09T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23141#M15941</link>
      <description>&lt;P&gt;Hi @Arun Balaji​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bucketing is not supported for the delta tables as you have noticed.&lt;/P&gt;&lt;P&gt;For the optimization and best practices with delta tables check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/optimizations/index.html" target="test_blank"&gt;https://docs.databricks.com/optimizations/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/delta/best-practices.html" target="test_blank"&gt;https://docs.databricks.com/delta/best-practices.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 12:28:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23141#M15941</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2022-11-09T12:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23142#M15942</link>
      <description>&lt;P&gt;Is it possible to create a table without making it a delta table​?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 12:33:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23142#M15942</guid>
      <dc:creator>Arun_tsr</dc:creator>
      <dc:date>2022-11-09T12:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23143#M15943</link>
      <description>&lt;P&gt;good question &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; I was going to mention this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can still use external tables. Those tables will be stored outside the main (root) metastore bucket/container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/create-tables.html" alt="https://docs.databricks.com/data-governance/unity-catalog/create-tables.html" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/create-tables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html?&amp;amp;_ga=2.51294764.469232365.1667997233-855266531.1667997233#manage-storage-credentials" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html?&amp;amp;_ga=2.51294764.469232365.1667997233-855266531.1667997233#manage-storage-credentials" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html#manage-storage-credentials&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use parquet tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the way forward is to use managed tables with Unity Catalog, they are gaining some performance improvements over time.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 12:36:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23143#M15943</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2022-11-09T12:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23144#M15944</link>
      <description>&lt;P&gt;you can also check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/question/0D53f00001m1u4qCAA/bucketing-on-delta-tables" target="test_blank"&gt;https://community.databricks.com/s/question/0D53f00001m1u4qCAA/bucketing-on-delta-tables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 12:48:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23144#M15944</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2022-11-09T12:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to do bucketing in Databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23139#M15939</link>
      <description>&lt;P&gt;Hi @Arun Balaji​&amp;nbsp;, you can go through &lt;A href="https://www.databricks.com/session/bucketing-in-spark-sql-2-3" alt="https://www.databricks.com/session/bucketing-in-spark-sql-2-3" target="_blank"&gt;https://www.databricks.com/session/bucketing-in-spark-sql-2-3&lt;/A&gt; and also &lt;A href="https://www.databricks.com/session_na20/bucketing-2-0-improve-spark-sql-performance-by-removing-shuffle" alt="https://www.databricks.com/session_na20/bucketing-2-0-improve-spark-sql-performance-by-removing-shuffle" target="_blank"&gt;https://www.databricks.com/session_na20/bucketing-2-0-improve-spark-sql-performance-by-removing-shuffle&lt;/A&gt; and please let us know if this helps. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 07:33:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-do-bucketing-in-databricks/m-p/23139#M15939</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-09T07:33:49Z</dc:date>
    </item>
  </channel>
</rss>

