[ 
https://issues.apache.org/jira/browse/CALCITE-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397593#comment-16397593
 ] 

Julian Hyde commented on CALCITE-2201:
--------------------------------------

Since they are temporary, non-static, internal rule instances it is sufficient 
to create a RelBuilderFactory that just returns the same RelBuilder. Are there 
any external reasons to pass a RelBuilderFactory rather than RelBuilder? I 
don't think so.

> Allow passing custom RelBuilder into RelDecorrelator and 
> RelStructuredTypeFlattener
> -----------------------------------------------------------------------------------
>
>                 Key: CALCITE-2201
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2201
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Volodymyr Vysotskyi
>            Assignee: Julian Hyde
>            Priority: Major
>
> When {{RelDecorrelator.decorrelateQuery()}} method is called, 
> {{RelDecorrelator}} instance with {{RelFactories.LOGICAL_BUILDER}} is 
> created. We should modify this method to allow usage of custom {{RelBuilder}}.
> Also, {{RelStructuredTypeFlattener}} class should be modified in a similar 
> way.



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

Reply via email to