Jesus Camacho Rodriguez created HIVE-14843:
----------------------------------------------

             Summary: HIVE-14751 introduced ambiguity in grammar
                 Key: HIVE-14843
                 URL: https://issues.apache.org/jira/browse/HIVE-14843
             Project: Hive
          Issue Type: Bug
          Components: Parser
    Affects Versions: 2.2.0
            Reporter: Pengcheng Xiong
            Assignee: Jesus Camacho Rodriguez


As reported by [~ekoifman] and tested by myself, your patch introduced 
ambiguity into the grammar.
{code}
warning(200): IdentifiersParser.g:327:5:
Decision can match input such as "KW_DAY KW_TO KW_SECOND" using multiple 
alternatives: 2, 5

As a result, alternative(s) 5 were disabled for that input
warning(200): IdentifiersParser.g:327:5:
Decision can match input such as "KW_YEAR KW_TO KW_MONTH" using multiple 
alternatives: 1, 3

As a result, alternative(s) 3 were disabled for that input
{code} 

Could you please take another look? Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to