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/05/10 22:43:37 UTC

[GitHub] [calcite] laurentgo opened a new pull request #1207: [CALCITE-3062] Do not populate provenanceMap if not debug

laurentgo opened a new pull request #1207: [CALCITE-3062] Do not populate provenanceMap if not debug
URL: https://github.com/apache/calcite/pull/1207
 
 
   VolcanoPlanner.provenanceMap captures provenance of all rel nodes added
   to the planner but the information is only printed out if planner log
   level is debug or finer.  As the map can get quite big with complex
   queries, the memory usage can increase significantly.
   
   Detect if planner log level is debug when creating a new volcano planner
   and use a blackhole map so that the map is not populated by default.

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