[ https://issues.apache.org/jira/browse/HIVE-23182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081629#comment-17081629 ]
David Mollitor commented on HIVE-23182: --------------------------------------- {code:java|title=SemanticAnalyzer.java} private ASTNode rewriteASTWithMaskAndFilter(TableMask tableMask, ASTNode ast, TokenRewriteStream tokenRewriteStream, Context ctx, Hive db, Map<String, Table> tabNameToTabObject) { ... try { // Right here... the configuration information stored in the Context 'ctx' is not passed along // and the information regarding HIVE_QUOTEDID_SUPPORT is lost and the user's preference // which was applied to the original query, is gone rewrittenTree = ParseUtils.parse(rewrittenQuery); } catch (ParseException e) { throw new SemanticException(e); } } {code} > 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)