<?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>question How to set select permission for a table in specified database for sentry policy in Hive? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-select-permission-for-a-table-in-specified/m-p/17796#M2740</link>
    <description>&lt;P&gt;To set up policy for sentry service, I saw that there is an example of set select permission for a database on cloudera doc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GRANT SELECT ON DATABASE jranalyst1 TO ROLE analyst_role;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I set the select permission on table A in Database B to Role C ? Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:06:21 GMT</pubDate>
    <dc:creator>seafrog</dc:creator>
    <dc:date>2022-09-16T09:06:21Z</dc:date>
    <item>
      <title>How to set select permission for a table in specified database for sentry policy in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-select-permission-for-a-table-in-specified/m-p/17796#M2740</link>
      <description>&lt;P&gt;To set up policy for sentry service, I saw that there is an example of set select permission for a database on cloudera doc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GRANT SELECT ON DATABASE jranalyst1 TO ROLE analyst_role;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I set the select permission on table A in Database B to Role C ? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:06:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-select-permission-for-a-table-in-specified/m-p/17796#M2740</guid>
      <dc:creator>seafrog</dc:creator>
      <dc:date>2022-09-16T09:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set select permission for a table in specified database for sentry policy in Hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-select-permission-for-a-table-in-specified/m-p/17798#M2741</link>
      <description>&lt;P&gt;You can switch to the database and grant privileges on the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USE jranalyst;&lt;/P&gt;&lt;P&gt;GRANT SELECT ON TABLE a TO ROLE c;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hive currently doesnt support fully qualified table names (db1.tb1) in grant/revoke sql, and that is the reason you will need to switch to the database first to be able to grant privileges on a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 22:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-select-permission-for-a-table-in-specified/m-p/17798#M2741</guid>
      <dc:creator>sravya</dc:creator>
      <dc:date>2014-08-28T22:26:27Z</dc:date>
    </item>
  </channel>
</rss>

