<?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 Querying a Hive Table (via Hiveserver2) with Column Masking enabled via Ranger Hive Plugin returns with an error. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Querying-a-Hive-Table-via-Hiveserver2-with-Column-Masking/m-p/167260#M129592</link>
    <description>&lt;P&gt;I am running a HDP 2.5.3 cluster with HiveServer2 enabled on an edge node. Ranger is enforcing security. In addition, I've created a policy in ranger that redacts a certain column with pii on select.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12247-y2sye.png" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20306i4E8375CD11BEF6CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12247-y2sye.png" alt="12247-y2sye.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, when I execute the following query in a hive client:&lt;/P&gt;&lt;P&gt;select * from &amp;lt;tablename&amp;gt; limit 100;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[42000]: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.ql.parse.ParseException: line 1:62 rule Identifier failed predicate: {allowQuotedId()}?
line 1:74 rule Identifier failed predicate: {allowQuotedId()}?
line 1:94 rule Identifier failed predicate: {allowQuotedId()}?
line 1:117 rule Identifier failed predicate: {allowQuotedId()}?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I disable the above policy, the query runs successfully.
&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 11:09:47 GMT</pubDate>
    <dc:creator>navendugarg</dc:creator>
    <dc:date>2019-08-18T11:09:47Z</dc:date>
  </channel>
</rss>

