<?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: SHOW PARTITIONS not supported in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/show-partitions-not-supported/m-p/31676#M905</link>
    <description>&lt;P&gt;I got answer from the support that there is no 'SHOW PARTITIONS' in Unity Catalog as "UC doesn't manage the partitions for tables".&lt;/P&gt;&lt;P&gt;They suggested for work around `LIST` command, this is what I was able to came up with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I see here, is for the end users working with the External Tables. They will need to run the query I guess on the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from table where part_1 = 'something' limit 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be able to discover partitions :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this Yet Another Limitation? Databricks seems to be more limitations now and you need to talk to support to find out how to work with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 06:53:09 GMT</pubDate>
    <dc:creator>Pat</dc:creator>
    <dc:date>2022-10-28T06:53:09Z</dc:date>
    <item>
      <title>SHOW PARTITIONS not supported</title>
      <link>https://community.databricks.com/t5/data-governance/show-partitions-not-supported/m-p/31675#M904</link>
      <description>&lt;P&gt;Error in SQL statement: AnalysisException: SHOW PARTITIONS is not supported in Unity Catalog;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened with the SHOW PARTITIONS command?&lt;/P&gt;&lt;P&gt;Is this information available anywhere in the documentation?&lt;/P&gt;&lt;P&gt;If I go to Databricks SQL documentation there is no info this doesn't work with Unity Catalog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-show-partitions.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-show-partitions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can of course do select distinct, but it's not what I've expected :). Yet another limitation with Unity Catalog.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:39:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/show-partitions-not-supported/m-p/31675#M904</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2022-09-15T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW PARTITIONS not supported</title>
      <link>https://community.databricks.com/t5/data-governance/show-partitions-not-supported/m-p/31676#M905</link>
      <description>&lt;P&gt;I got answer from the support that there is no 'SHOW PARTITIONS' in Unity Catalog as "UC doesn't manage the partitions for tables".&lt;/P&gt;&lt;P&gt;They suggested for work around `LIST` command, this is what I was able to came up with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I see here, is for the end users working with the External Tables. They will need to run the query I guess on the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from table where part_1 = 'something' limit 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be able to discover partitions :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this Yet Another Limitation? Databricks seems to be more limitations now and you need to talk to support to find out how to work with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 06:53:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/show-partitions-not-supported/m-p/31676#M905</guid>
      <dc:creator>Pat</dc:creator>
      <dc:date>2022-10-28T06:53:09Z</dc:date>
    </item>
  </channel>
</rss>

