[
https://issues.apache.org/jira/browse/CALCITE-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde updated CALCITE-5090:
---------------------------------
Summary: Allow class CalciteMetaImpl to be sub-classed (was: Avatica:
make it possible to inherit from CalciteMetaImpl )
> Allow class CalciteMetaImpl to be sub-classed
> ----------------------------------------------
>
> Key: CALCITE-5090
> URL: https://issues.apache.org/jira/browse/CALCITE-5090
> Project: Calcite
> Issue Type: Wish
> Reporter: Marieke Gueye
> Priority: Minor
>
> We want to be able to change Avatica's planner, for that, we need to be able
> to sub-class {{CalciteMetaImpl}}. That is not possible at the moment because
> the constructor of {{CalciteMetaImpl}} takes a parameter of type
> {{CalciteConnectionImpl}} as an argument and {{class CalciteConnectionImpl}}
> is package private.
> The solution could be to add a constructor with a parameter of type
> {{CalciteConnection}}. At runtime the argument would still be an instance of
> {{CalciteConnectionImpl}}, and the constructor can downcast it.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)