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

John Sherman commented on HIVE-23182:
-------------------------------------

[~belugabehr] I think that example is the one my patch fixed.

If we make changes around this area we might also want to fix or inform Apache 
Impala as we do so.
[https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java#L143]
They invoke the HiveLexer but do not set HiveConf. So if we make it a 
Precondition, usages like this will fail.

> 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