[ https://issues.apache.org/jira/browse/CALCITE-3062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839943#comment-16839943 ]
Chunwei Lei commented on CALCITE-3062: -------------------------------------- I am not pretty sure what I worry about makes sense. So let us see what others think about it.;) > Do not populate provenanceMap if not used > ----------------------------------------- > > Key: CALCITE-3062 > URL: https://issues.apache.org/jira/browse/CALCITE-3062 > Project: Calcite > Issue Type: Improvement > Components: core > Reporter: Laurent Goujon > Assignee: Laurent Goujon > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > {{VolcanoPlanner}}'s field {{provenanceMap}} tracks the provenance of each > node being added to the planner, but the information is only used when the > log level of the planner of the debug, so when planner is not running in > debug mode, this data goes to waste and used memory unnecessary. > The planner should be changed so that the information is only captured if > used later. -- This message was sent by Atlassian JIRA (v7.6.3#76005)