You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/28 21:50:35 UTC

[GitHub] dilipbiswal commented on issue #23925: [SPARK-27016][SQL][BUILD] Treat all antlr warnings as errors while generating parser from the sql grammar file.

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org