You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/06/03 11:10:46 UTC

[GitHub] [nifi] FrederikP edited a comment on issue #3500: NIFI-6322: Reuse evaluator stored in CompiledExpression when creating a query.

FrederikP edited a comment on issue #3500: NIFI-6322: Reuse evaluator stored in CompiledExpression when creating a query.
URL: https://github.com/apache/nifi/pull/3500#issuecomment-498210524
 
 
   I added some test cases covering the issues with selecting and reducing functions in 2ffd167.
   
   In e1bc939 I then added reset functions to the corresponding evaluators allowing reusage of the whole evaluator tree in prepared queries. All tests are green with those changes.
   It's different than what you have done in #3277. Haven't really worked through that PR in detail yet, but I wanted to understand the underlying issue, so I spent some time on the latest commits. Feel free to let me know what you think.
   
   If my changes aren't needed it's probably a good idea to merge the test cases from 2ffd167 as they cover some branches that weren't covered before.
   
   Edit: I took a closer look at #3277 and I think the main difference with my proposed changes is that with my changes the tree of evaluators doesn't have to be rebuilt even if it contains selecting/reducing functions and with the changes in #3277 it does.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services