<?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 READ FILES and WRITE FILES when using Hive Metastore in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9318#M338</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm confused about documentation on privilege types when using HMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following page is supposed to talk about HMS&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it also mentions&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;READ FILES&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Query files directly using the storage credential or external location.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;WRITE FILES&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Directly COPY INTO files governed by the storage credential or external location.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly these (Storage Credential and External Location) only apply to Unity Catalog, as per this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-external-locations.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-external-locations.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a mistake in a documentation or there is something more fundamental that I don't understand?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 12:33:38 GMT</pubDate>
    <dc:creator>knawara</dc:creator>
    <dc:date>2023-02-15T12:33:38Z</dc:date>
    <item>
      <title>READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9318#M338</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm confused about documentation on privilege types when using HMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following page is supposed to talk about HMS&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it also mentions&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;READ FILES&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Query files directly using the storage credential or external location.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;WRITE FILES&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Directly COPY INTO files governed by the storage credential or external location.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly these (Storage Credential and External Location) only apply to Unity Catalog, as per this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-external-locations.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-external-locations.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a mistake in a documentation or there is something more fundamental that I don't understand?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 12:33:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9318#M338</guid>
      <dc:creator>knawara</dc:creator>
      <dc:date>2023-02-15T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9319#M339</link>
      <description>&lt;P&gt;Hi @Chris Nawara​&amp;nbsp;, The Privilege types and Secure objects are available both in HMS and Unity Catalog. However, there is a difference in implementation across both of them. And as the document mentions "The privilege model and securable objects differ depending on whether you are using a Unity Catalog metastore or the legacy Hive metastore"&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 12:56:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9319#M339</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-15T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9320#M340</link>
      <description>&lt;P&gt;HI @Lakshay Goel​&amp;nbsp;, thanks for the rapid response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two pages in the documentation, one for HMS:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html" alt="https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html" target="_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-privileges-hms.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which claims "&lt;I&gt;This article describes the privilege model for the legacy Hive metastore&lt;/I&gt;".,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one for Unity Catalog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html" alt="https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html" target="_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;This article describes the privilege model for the Unity Catalog.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ/WRITE FILES are mentioned in both. What I want to clarify is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is READ/WRITE FILES a Unity-Catalog-only concept?&lt;/LI&gt;&lt;LI&gt;If not, what is its meaning when working with HMS?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 15 Feb 2023 13:11:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9320#M340</guid>
      <dc:creator>knawara</dc:creator>
      <dc:date>2023-02-15T13:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9321#M341</link>
      <description>&lt;P&gt;Hi @Chris Nawara​&amp;nbsp;, The two documentations talk about data governance. The concept of data governance is not exclusive to Unity Catalog. The difference here is that Unity Catalog helps you in implementing Data Governance at a much more granular level and better than HMS. So, to answer your questions&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is READ/WRITE FILES a Unity-Catalog-only concept? No&lt;/LI&gt;&lt;LI&gt;If not, what is its meaning when working with HMS? You can read/write a file with both HMS and UC. But how the data governance and security works in two is the difference. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 11:08:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9321#M341</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-17T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9322#M342</link>
      <description>&lt;P&gt;Hi @Lakshay Goel​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm not talking about reading/writing files, but about READ FILES/WRITE FILES permission that can be granted e.g. in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;GRANT&lt;/B&gt; &lt;B&gt;READ&lt;/B&gt; FILES &lt;B&gt;ON&lt;/B&gt; &lt;B&gt;STORAGE&lt;/B&gt; CREDENTIAL &amp;lt;storage_credential_name&amp;gt; &lt;B&gt;TO&lt;/B&gt; &amp;lt;principal&amp;gt;;&lt;/P&gt;&lt;P&gt;(from &lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html)" target="test_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-external-locations-and-credentials.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, that's a governance question and some things are done way better in UC than in HMS (but for certain reasons not dependent on me UC is not an option). But there are differences between the two, so I guess my question is whether I can use this construct with both HMS and UC, or with UC only &lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 16:12:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9322#M342</guid>
      <dc:creator>knawara</dc:creator>
      <dc:date>2023-02-17T16:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9323#M343</link>
      <description>&lt;P&gt;Hi @Chris Nawara​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:16:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9323#M343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-21T10:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9324#M344</link>
      <description>&lt;P&gt;Hi @Vidula Khanna​&amp;nbsp;, thanks for checking in! Not yet, my last message is still unanswered&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 11:10:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9324#M344</guid>
      <dc:creator>knawara</dc:creator>
      <dc:date>2023-02-21T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: READ FILES and WRITE FILES when using Hive Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9325#M345</link>
      <description>&lt;P&gt;Hi @Chris Nawara​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm sorry you could not find a solution to your problem in the answers provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our community strives to provide helpful and accurate information, but sometimes an immediate solution may only be available for some issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest providing more information about your problem, such as specific error messages, error logs or details about the steps you have taken. This can help our community members better understand the issue and provide more targeted solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can consider contacting the &lt;A href="https://help.databricks.com/s/login/?ec=302&amp;amp;startURL=%2Fs%2Fsubmitrequest%3F_ga%3D2.21602814.410387879.1677483027-1154058422.1670836178" alt="https://help.databricks.com/s/login/?ec=302&amp;amp;startURL=%2Fs%2Fsubmitrequest%3F_ga%3D2.21602814.410387879.1677483027-1154058422.1670836178" target="_blank"&gt;support team&lt;/A&gt; for your product or service. They may be able to provide additional assistance or escalate the issue to the appropriate section for further investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your patience and understanding, and please let us know if there is anything else we can do to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 02:01:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/read-files-and-write-files-when-using-hive-metastore/m-p/9325#M345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-11T02:01:14Z</dc:date>
    </item>
  </channel>
</rss>

