dilipbiswal commented on issue #23925: [SPARK-27016][SQL][BUILD] Treat all 
antlr warnings as errors while generating parser from the sql grammar file.
URL: https://github.com/apache/spark/pull/23925#issuecomment-468452507
 
 
   @srowen Hi Sean, need your help here. In my dev environment, when i use 
maven to build, i get the expected result and the build fails with the 
following error : 
   ```
   INFO] 
   [INFO] --- antlr4-maven-plugin:4.7.1:antlr4 (default) @ spark-catalyst_2.12 
---
   [INFO] ANTLR 4: Processing source directory 
/Users/dbiswal/mygit/apache/spark/sql/catalyst/src/main/antlr4
   [INFO] Processing grammar: org/apache/spark/sql/catalyst/parser/SqlBase.g4
   [WARNING] warning(125): 
org/apache/spark/sql/catalyst/parser/SqlBase.g4:784:90: implicit definition of 
token SCHEMA in parser
   [WARNING] 
/Users/dbiswal/mygit/apache/spark/org/apache/spark/sql/catalyst/parser/SqlBase.g4
 [784:90]: implicit definition of token SCHEMA in parser
   [ERROR] error(10):  warning treated as error
   [INFO] 
------------------------------------------------------------------------
   ```
   However, from jenkins, it uses sbt and the build seems to skip pass this 
error/warning. Would you know what may be happening and how to fix this ? 
Appreciate your help.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to