hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhuwei (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20497) ParseException, failed to recognize quoted identifier when re-parsing the re-written query
Date Thu, 20 Sep 2018 02:43:00 GMT

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

zhuwei commented on HIVE-20497:
-------------------------------

I have checked the failed test case, they are not related to my change.

@[~ashutoshc]  Could you help to review the code?

> 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, HIVE-20497.2.patch, HIVE-20497.3.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)

Mime
View raw message