<?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: hive_metastore schema access control in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78048#M7799</link>
    <description>&lt;P&gt;This is pretty outdated, you should use unity catalog instead. However, have you &lt;A href="https://docs.databricks.com/en/data-governance/table-acls/index.html" target="_self"&gt;followed the docs&lt;/A&gt;? But again, it's legacy stuff.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 07:54:01 GMT</pubDate>
    <dc:creator>Witold</dc:creator>
    <dc:date>2024-07-10T07:54:01Z</dc:date>
    <item>
      <title>hive_metastore schema access control</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78027#M7798</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are trying to control access to schemas under&amp;nbsp;hive_metastore, only allowing certain users to access the tables under a schema (via SQL, Pyspark, and Python...), we have follow steps in a testing schema:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Enable workspace table access control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Run GRANT ALL PRIVILEGES ON SCHEMA&amp;nbsp; test to the user ID myself&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&amp;nbsp;spark.sql("REVOKE ALL PRIVILEGES ON SCHEMA test FROM admins")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp;spark.sql("REVOKE ALL PRIVILEGES ON SCHEMA test FROM users")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But after these steps, other users still can see the tables under the test schema and run the SELECT statement for the tables under it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar issue or have suggestions on how to make it work?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 06:08:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78027#M7798</guid>
      <dc:creator>icyapple</dc:creator>
      <dc:date>2024-07-10T06:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: hive_metastore schema access control</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78048#M7799</link>
      <description>&lt;P&gt;This is pretty outdated, you should use unity catalog instead. However, have you &lt;A href="https://docs.databricks.com/en/data-governance/table-acls/index.html" target="_self"&gt;followed the docs&lt;/A&gt;? But again, it's legacy stuff.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 07:54:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78048#M7799</guid>
      <dc:creator>Witold</dc:creator>
      <dc:date>2024-07-10T07:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: hive_metastore schema access control</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78274#M7800</link>
      <description>&lt;P&gt;As per my understanding, all the tables in the hive_metastore will be accessible to all the users as it will be the default metastore available for the workspace. You&amp;nbsp;can move the tables to the Unity catalog tables where you will have the option to have a control over the tables with these ACL's.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 08:21:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/78274#M7800</guid>
      <dc:creator>PSR100</dc:creator>
      <dc:date>2024-07-11T08:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: hive_metastore schema access control</title>
      <link>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/79287#M7801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/100936"&gt;@icyapple&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to our community! We're here to help you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To ensure we provide you with the best support, could you please take a moment to review the response and choose the one that best answers your question? Your feedback not only helps us assist you better but also benefits other community members who may have similar questions in the future.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you found the answer helpful, consider giving it a kudo. If the response fully addresses your question, please mark it as the accepted solution. This will help us close the thread and ensure your question is resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We appreciate your participation and are here to assist you further if you need it!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rishabh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 16:41:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/hive-metastore-schema-access-control/m-p/79287#M7801</guid>
      <dc:creator>RishabhTiwari07</dc:creator>
      <dc:date>2024-07-18T16:41:36Z</dc:date>
    </item>
  </channel>
</rss>

