<?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 Re: How to enforce a user to query a hive table using a partition clause in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-enforce-a-user-to-query-a-hive-table-using-a/m-p/290133#M214697</link>
    <description>&lt;P&gt;you can set hive.mapred.mode = strict; Quoting from doc:&amp;nbsp;&lt;A href="https://blog.cloudera.com/improving-query-performance-using-partitioning-in-apache-hive/" target="_blank"&gt;https://blog.cloudera.com/improving-query-performance-using-partitioning-in-apache-hive/&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If your partitioned table is very large, you could block any full table scan queries by putting Hive into strict mode using the set hive.mapred.mode=strict command. In this mode, when users submit a query that would result in a full table scan (i.e. queries without any partitioned columns) an error is issued.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 05:56:01 GMT</pubDate>
    <dc:creator>venkatsambath</dc:creator>
    <dc:date>2020-02-20T05:56:01Z</dc:date>
  </channel>
</rss>

