You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/04/25 16:56:00 UTC

[jira] [Resolved] (HIVE-19303) Fix grammar warnings

     [ https://issues.apache.org/jira/browse/HIVE-19303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltan Haindrich resolved HIVE-19303.
-------------------------------------
    Resolution: Duplicate

dup of HIVE-19278

> Fix grammar warnings
> --------------------
>
>                 Key: HIVE-19303
>                 URL: https://issues.apache.org/jira/browse/HIVE-19303
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Priority: Major
>
> It seems to be that something is not right around the handling of "KW_CHECK"
> https://github.com/apache/hive/blob/da10aabe56edf8fbb26d89d64bedcc4afa84a305/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g#L2376
> {code}
> warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2376:5: 
> Decision can match input such as "KW_CHECK {KW_EXISTS, KW_TINYINT}" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2376:5: 
> Decision can match input such as "KW_CHECK KW_STRUCT LESSTHAN" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2376:5: 
> Decision can match input such as "KW_CHECK KW_DATETIME" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2376:5: 
> Decision can match input such as "KW_CHECK KW_DATE {LPAREN, StringLiteral}" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2376:5: 
> Decision can match input such as "KW_CHECK KW_UNIONTYPE LESSTHAN" using multiple alternatives: 1, 2
> {code}



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