[ 
https://issues.apache.org/jira/browse/HIVE-20497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhuwei updated HIVE-20497:
--------------------------
    Status: Patch Available  (was: Open)

> ParseException, failed to recognize quoted identifier when re-parsing the 
> re-written query
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20497
>                 URL: https://issues.apache.org/jira/browse/HIVE-20497
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>         Environment: hive 2.1.1
>            Reporter: zhuwei
>            Assignee: zhuwei
>            Priority: Major
>         Attachments: HIVE-20497.1.patch
>
>
> select `user` from team;
> If we have a table `team`, and one of its column has been masked out with 
> `****` with column level authorization. The above query will fail with error 
> "SemanticException org.apache.hadoop.hive.ql.parse.ParseException: line 1:9 
> Failed to recognize predicate 'user'. Failed rule: 'identifier' in expression 
> specification"
> The root cause is that after re-written the ast, the back quote has been lost.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to