hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21293) Fix ambiguity in grammar warnings at compilation time (II)
Date Wed, 06 Mar 2019 18:21:00 GMT

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

Jesus Camacho Rodriguez commented on HIVE-21293:
------------------------------------------------

Thanks for checking [~abstractdog]. My bad, I did not realize TRUE and FALSE are already reserved.
I believe latest patch removing it from boolean value is fine then. Since we will not be able
to use it as a constant value, you can create a follow-up JIRA and maybe we can pick it up
in the future.

> Fix ambiguity in grammar warnings at compilation time (II)
> ----------------------------------------------------------
>
>                 Key: HIVE-21293
>                 URL: https://issues.apache.org/jira/browse/HIVE-21293
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 4.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Laszlo Bodor
>            Priority: Major
>         Attachments: HIVE-21293.01.patch, HIVE-21293.02.patch
>
>
> These are the warnings at compilation time:
> {code}
> warning(200): IdentifiersParser.g:424:5:
> Decision can match input such as "KW_UNKNOWN" using multiple alternatives: 1, 10
> As a result, alternative(s) 10 were disabled for that input
> {code}
> This means that multiple parser rules can match certain query text, possibly leading
to unexpected errors at parsing time.



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

Mime
View raw message