[
https://issues.apache.org/jira/browse/CALCITE-7221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L updated CALCITE-7221:
-------------------------------
Description:
The {{HepPlanner.getVertexParents()}} method is currently private.
It has the following signature:
{code:java}
List<HepRelVertex> HepPlanner.getVertexParents(HepRelVertex)
{code}
in which HepRelVertex is already public.
Exposing it avoids implementors redoing it in a way which is at least
redundant, if not less efficient.
My use case, which doesn't appear very exotic, is to crawl up a given plan from
the scans. I'm sure there are others.
was:
**
The {{HepPlanner.getVertexParents()}} method is currently private.
It has the following signature:
{code:java}
List<HepRelVertex> HepPlanner.getVertexParents(HepRelVertex)
{code}
in which HepRelVertex is already public.
Exposing it avoids implementors redoing it in a way which is at least
redundant, if not less efficient.
My use case, which doesn't appear very exotic, is to crawl up a given plan from
the scans. I'm sure there are others.
> Give access to HepPlanner.getVertexParents() to subclasses
> ----------------------------------------------------------
>
> Key: CALCITE-7221
> URL: https://issues.apache.org/jira/browse/CALCITE-7221
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.40.0
> Environment: The {{HepPlanner.getVertexParents()}} method is
> currently private.
> It has the following signature:
> {code}
> List<HepRelVertex> HepPlanner.getVertexParents(HepRelVertex)
> {code}
> in which HepRelVertex is already public.
> Exposing it avoids implementors redoing it in a way which is at least
> redundant, if not less efficient.
> My use case, which doesn't appear very exotic, is to crawl up a given plan
> from the scans. I'm sure there are others.
> Reporter: Claude Brisson
> Priority: Major
> Labels: pull-request-available
>
> The {{HepPlanner.getVertexParents()}} method is currently private.
> It has the following signature:
> {code:java}
> List<HepRelVertex> HepPlanner.getVertexParents(HepRelVertex)
> {code}
> in which HepRelVertex is already public.
> Exposing it avoids implementors redoing it in a way which is at least
> redundant, if not less efficient.
> My use case, which doesn't appear very exotic, is to crawl up a given plan
> from the scans. I'm sure there are others.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)