Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
In HepPlanner, when a transformation happens, it will clear metadata cache for the parent of the discarded node[1]. But it doesn't clear the metadata cache for the ancestors of the parent. For example, assume we get a logical plan like
A
\
B
\
C
, if we clear the metadata cache for C after applying a rule, we should also clear the metadata cache for A and B since metadata of A and B derive from C.
Attachments
Issue Links
- relates to
-
CALCITE-5679 HepPlanner#buildFinalPlan: do not clear metadata cache if RelNode has not changed
- Closed
- links to