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

Laszlo Bodor commented on HIVE-21293:
-------------------------------------

[~jcamachorodriguez]: uploaded 01.patch. I modified IdentifiersParser to make 
unknown a keyword, as it solved the problem easily, and according to the 
standard it's a reserved keyword. cc: [~kgyrtkirk]
the rest of the patch is the cleanup of the TestSQL11ReservedKeyWordsNegative 
monster

> 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