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

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

[~jfs] Thanks for pointing that out for me.

 

It's probably safe to assume that parsing always requires a context now.  With 
that in mind, I think you should try removing this method:

[https://github.com/apache/hive/blob/c419a7b99a69d1c1bede9394fc361591e57f4de6/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java#L67]

 

And enforcing a non-null {{Objects.requireNonNull}} and see what happens in the 
qtests

> 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