You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/07/02 00:14:00 UTC

[jira] [Created] (CALCITE-3166) Make RelBuilder configurable

Julian Hyde created CALCITE-3166:
------------------------------------

             Summary: Make RelBuilder configurable
                 Key: CALCITE-3166
                 URL: https://issues.apache.org/jira/browse/CALCITE-3166
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde


Make {{RelBuilder}} configurable, so that particular optimizations can easily be turned off.

I propose to add a class {{RelBuilder.Config}}, which is immutable and has a public final field for each configuration property; also a class {{RelBuilder.ConfigBuilder}} to create a config.

{{RelBuilder.create(FrameworkConfig frameworkConfig)}} will get a config by calling {{frameworkConfig.getContext().unwrap(RelBuilder.Config.class)}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)