hive-issues mailing list archives

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


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

View raw message