xinyiZzz commented on code in PR #30817:
URL: https://github.com/apache/doris/pull/30817#discussion_r1477821586


##########
fe/fe-core/pom.xml:
##########
@@ -887,7 +887,7 @@ under the License.
                 <configuration>
                     <visitor>true</visitor>
                     <sourceDirectory>src/main/antlr4</sourceDirectory>
-                    <treatWarningsAsErrors>true</treatWarningsAsErrors>

Review Comment:
   Because `import DorisParser` in `PLParser.g4` will prompt warning `options { 
tokenVocab = DorisLexer; } ignored`, this is expected behavior, 
https://github.com/antlr/antlr4/issues/2209
   
![image](https://github.com/apache/doris/assets/13197424/4ffc3d4b-a7fe-44bd-a395-1f75eb1b5fe8)
   
   I hope to ignore this warning alone, but it seems that can only delete this 
`treatWarningsAsErrors`



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to