You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Danny Chan (JIRA)" <ji...@apache.org> on 2019/07/13 02:21:00 UTC
[jira] [Assigned] (CALCITE-3196) In Frameworks, add
BasePrepareAction (a functional interface) and deprecate PrepareAction
[ https://issues.apache.org/jira/browse/CALCITE-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danny Chan reassigned CALCITE-3196:
-----------------------------------
Assignee: Danny Chan
> In Frameworks, add BasePrepareAction (a functional interface) and deprecate PrepareAction
> -----------------------------------------------------------------------------------------
>
> Key: CALCITE-3196
> URL: https://issues.apache.org/jira/browse/CALCITE-3196
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Danny Chan
> Priority: Major
>
> In {{Frameworks}}, add {{interface BasePrepareAction}} (a functional interface) and deprecate {{abstract class PrepareAction}}. Because {{PrepareAction}} has a field ({{FrameworkConfig config}}), it cannot be implemented using a lambda. It is simpler and clearer to pass {{config}} as an argument to all methods where it is needed.
> {{PrepareAction}} was introduced in CALCITE-247.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)