You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by hy...@apache.org on 2020/07/15 19:25:41 UTC
[calcite] branch master updated: [CALCITE-4124] Stop invalidating
metadata cache in VolcanoRuleCall
This is an automated email from the ASF dual-hosted git repository.
hyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 88d4de0 [CALCITE-4124] Stop invalidating metadata cache in VolcanoRuleCall
88d4de0 is described below
commit 88d4de0f800b84ae10a7a5be8a6c96eeb30eedf7
Author: Haisheng Yuan <h....@alibaba-inc.com>
AuthorDate: Wed Jul 15 11:12:02 2020 -0500
[CALCITE-4124] Stop invalidating metadata cache in VolcanoRuleCall
After CALCITE-2018, we don't need to invalidate metadata cache when a new
RelNode is generated during rule transformation.
---
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java b/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java
index bbc32b5..d4f3f03 100644
--- a/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java
+++ b/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoRuleCall.java
@@ -147,7 +147,6 @@ public class VolcanoRuleCall extends RelOptRuleCall {
// The subset is not used, but we need it, just for debugging
//noinspection unused
RelSubset subset = volcanoPlanner.ensureRegistered(rel, rels[0]);
- rels[0].getCluster().invalidateMetadataQuery();
if (volcanoPlanner.getListener() != null) {
RelOptListener.RuleProductionEvent event =