hansva opened a new issue, #9333:
URL: https://github.com/apache/hop/issues/9333

   ### Apache Hop version?
   
   2.20.0
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Other
   
   ### What happened?
   
   The Rules executor transform (`plugins/transforms/drools`) compiles its DRL 
again for every input row. `RulesExecutorData.execute()` calls 
`kieHelper.getKieContainer().newKieSession()` on each row 
(`RulesExecutorData.java:142`). `KieHelper.getKieContainer()` is not a getter: 
each call parses the DRL, compiles it with ECJ and builds a new `KieContainer`. 
On top of that, `initializeRules()` calls `kieHelper.verify()`, which does one 
more full build that nothing uses afterwards.
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Transforms


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

Reply via email to