<?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: Unable to query Unity Catalog tables from notebooks. in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3859#M32</link>
    <description>&lt;P&gt;You need to make sure that in  the cluster you are using you have the Unity Catalog tag. Then in the notebook add the use catalog ..... after this you will be able to query your table if you have the permission.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 13:29:00 GMT</pubDate>
    <dc:creator>youssefmrini</dc:creator>
    <dc:date>2023-06-02T13:29:00Z</dc:date>
    <item>
      <title>Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3855#M28</link>
      <description>&lt;P&gt;In my workspace, I'm able to see the unity catalogs my team has created. I'm able to see the schemas and even query data in there and create views using the SQL Editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go to write the same sql queries from a notebook using spark.sql or %sql I get this error:&lt;/P&gt;&lt;P&gt;AnalysisException: [UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed my cluster and it is a:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Databricks ML 13.0 Runtime &lt;/LI&gt;&lt;LI&gt;Access Mode is Single User&lt;/LI&gt;&lt;LI&gt;Personal Compute Policy&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure why this is the case, especially if I can access it normally outside of the notebook. Does anyone have ways to fix this?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 01:00:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3855#M28</guid>
      <dc:creator>animadurkar</dc:creator>
      <dc:date>2023-05-31T01:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3856#M29</link>
      <description>&lt;P&gt;Figured it out. Had to just delete my personal cluster (which was created before the unity metastore was set up) and recreate it. Then if you run "USE CATALOG my_catalog;" before your queries in your notebook, it works great.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 16:04:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3856#M29</guid>
      <dc:creator>animadurkar</dc:creator>
      <dc:date>2023-05-31T16:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3857#M30</link>
      <description>&lt;P&gt;Hi @Ani Madurkar​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's required that the cluster you are using should have unity catalog enabled then you will be able to query your catalog.&lt;/P&gt;&lt;P&gt;#DAIS2023​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/141iA18AABFBB368B6A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/147iD4FBC9BF295855CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 16:05:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3857#M30</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2023-05-31T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3858#M31</link>
      <description>&lt;P&gt;had a similar issue earlier.. thanks for the solution..&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 11:09:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3858#M31</guid>
      <dc:creator>Rajeev_Basu</dc:creator>
      <dc:date>2023-06-02T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3859#M32</link>
      <description>&lt;P&gt;You need to make sure that in  the cluster you are using you have the Unity Catalog tag. Then in the notebook add the use catalog ..... after this you will be able to query your table if you have the permission.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 13:29:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3859#M32</guid>
      <dc:creator>youssefmrini</dc:creator>
      <dc:date>2023-06-02T13:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3860#M33</link>
      <description>&lt;P&gt;Hi @Ani Madurkar​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 10:03:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3860#M33</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-07T10:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3861#M34</link>
      <description>&lt;P&gt;Thanks! just did&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 14:24:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/3861#M34</guid>
      <dc:creator>animadurkar</dc:creator>
      <dc:date>2023-06-08T14:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query Unity Catalog tables from notebooks.</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/104428#M2337</link>
      <description>&lt;P&gt;i know this is an old topic, but i have the same issue with querying data using the sql editor and a sql warehouse. my sql warehouse does have unity catalog enabled. not sure why it wouldnt be working.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:09:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-query-unity-catalog-tables-from-notebooks/m-p/104428#M2337</guid>
      <dc:creator>KIRKQUINBAR</dc:creator>
      <dc:date>2025-01-06T20:09:27Z</dc:date>
    </item>
  </channel>
</rss>

