kgyrtkirk opened a new issue, #14858:
URL: https://github.com/apache/druid/issues/14858

   ### Description
   
   The `processing` module is recompiled regardless there was a previous 
successfull compilation; this essentially cripples incremental build - and all 
modules are recompiled all the time.
   
   Problem seems to be caused by some source files detected as changed:
   ```
   [DEBUG] useIncrementalCompilation enabled
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/target/generated-sources/antlr4/org/apache/druid/math/expr/antlr/ExprParser.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/src/main/java/org/apache/druid/math/expr/BinaryMathOperatorExpr.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/target/generated-sources/antlr4/org/apache/druid/math/expr/antlr/ExprBaseListener.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/src/main/java/org/apache/druid/math/expr/BinaryOperatorExpr.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/target/generated-sources/antlr4/org/apache/druid/math/expr/antlr/ExprLexer.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/src/main/java/org/apache/druid/math/expr/UnaryOperatorExpr.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/src/main/java/org/apache/druid/math/expr/BinaryLogicalOperatorExpr.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/src/main/java/org/apache/druid/math/expr/FunctionalExpr.java
   [DEBUG] Stale source detected: 
/home/dev/druid/processing/target/generated-sources/antlr4/org/apache/druid/math/expr/antlr/ExprListener.java
   [INFO] Changes detected - recompiling the module! :source
   ```
   
   ### Motivation
   
   Could help get faster builds; could potentially avoid recompilation of main 
sources in case of test-only changes.
   


-- 
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