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

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

[~abstractdog], is there a way to rewrite the rule to fix the issue without 
making unknown a reserved keyword? We were discussing with [~ashutoshc] and he 
had concerns because this will be backwards incompatible.

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

Reply via email to