[ 
https://issues.apache.org/jira/browse/HIVE-23182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081632#comment-17081632
 ] 

David Mollitor commented on HIVE-23182:
---------------------------------------

I propose to make the default value "true" if no context is provided, therefore 
any quoted IDs will be rejected on the first pass if the feature is disabled in 
the user's session.  If the feature is turned on, well, it won't have any 
problem parsing it on the second pass because the default is 'true'.

> Semantic Exception: rule Identifier failed predicate allowQuotedId
> ------------------------------------------------------------------
>
>                 Key: HIVE-23182
>                 URL: https://issues.apache.org/jira/browse/HIVE-23182
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Priority: Major
>         Attachments: Querying a Hive Table (via Hiveserver2) with Colum... - 
> Cloudera Community.pdf
>
>
> Querying a Hive Table (via Hiveserver2) with Column Masking enabled via 
> Ranger Hive Plugin returns with an error.
> {code:none}
> [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()}?
> {code}
> https://community.cloudera.com/t5/Support-Questions/Querying-a-Hive-Table-via-Hiveserver2-with-Column-Masking/td-p/167260



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to