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:
[email protected]


With regards,
Apache Git Services

Reply via email to