You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "zhuwei (JIRA)" <ji...@apache.org> on 2018/09/04 11:37:00 UTC

[jira] [Assigned] (HIVE-20497) ParseException, failed to recognize quoted identifier when re-parsing the re-written query

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

zhuwei reassigned HIVE-20497:
-----------------------------


> 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
>
> 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)