You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/10/30 07:35:00 UTC

[GitHub] [calcite] hsyuan opened a new pull request #1547: [CALCITE-3460] Poor performance in RexReplacer for large queries

hsyuan opened a new pull request #1547: [CALCITE-3460] Poor performance in RexReplacer for large queries
URL: https://github.com/apache/calcite/pull/1547
 
 
   We have queries that have tens of thousands of RexCalls.
   reducibleExps.indexOf(call) is an (O) operation, which takes 50% of the running
   time, causing the query runs for ever until timed out.  In RexShuttle,
   ImmutableList iterator creation in visitList takes another 5~7% of running
   time, and it is creating millions of temporary iterator object, not only time
   consuming, but also memory consuming.

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