ayushtkn opened a new pull request, #6247:
URL: https://github.com/apache/hive/pull/6247

   ### What changes were proposed in this pull request?
   
   Fix ANTLR warnings
   ```
   [INFO] --- antlr3:3.5.2:antlr (default) @ hive-parser ---
   [INFO] ANTLR: Processing source directory 
/Users/ayushsaxena/code/hive/parser/src/java
   ANTLR Parser Generator  Version 3.5.2
   Output file 
/Users/ayushsaxena/code/hive/parser/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveLexer.java
 does not exist: must build 
/Users/ayushsaxena/code/hive/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g
   org/apache/hadoop/hive/ql/parse/HiveLexer.g
   Output file 
/Users/ayushsaxena/code/hive/parser/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveParser.java
 does not exist: must build 
/Users/ayushsaxena/code/hive/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
   org/apache/hadoop/hive/ql/parse/HiveParser.g
   warning(200): FromClauseParser.g:238:30: 
   Decision can match input such as "{KW_EXCLUSIVE, KW_SHARED}" using multiple 
alternatives: 1, 2
   
   As a result, alternative(s) 2 were disabled for that input
   warning(200): FromClauseParser.g:238:30: 
   Decision can match input such as "KW_COMMENT {EOF, KW_CASCADE, KW_COMMENT, 
KW_EXCLUSIVE, KW_LOCATION, KW_MANAGEDLOCATION, KW_RESTRICT, KW_SET, KW_SHARED, 
KW_USING, KW_WITH}" using multiple alternatives: 1, 2
   
   As a result, alternative(s) 2 were disabled for that input
   warning(200): FromClauseParser.g:238:30: 
   Decision can match input such as "KW_RESTRICT" using multiple alternatives: 
1, 2
   
   As a result, alternative(s) 2 were disabled for that input
   Output file 
/Users/ayushsaxena/code/hive/parser/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveLexerStandard.java
 does not exist: must build 
/Users/ayushsaxena/code/hive/parser/src/java/org/apache/hadoop/hive/ql/parse/HiveLexerStandard.g
   org/apache/hadoop/hive/ql/parse/HiveLexerStandard.g
   Output file 
/Users/ayushsaxena/code/hive/parser/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HintParser.java
 does not exist: must build 
/Users/ayushsaxena/code/hive/parser/src/java/org/apache/hadoop/hive/ql/parse/HintParser.g
   org/apache/hadoop/hive/ql/parse/HintParser.g
   [INFO] 
   ```
   
   ### Why are the changes needed?
   Fix ANTLR warnings
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   manually running mvn clean install in parser/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to