[ https://issues.apache.org/jira/browse/CALCITE-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394285#comment-16394285 ]
Volodymyr Vysotskyi commented on CALCITE-2201: ---------------------------------------------- [~julianhyde], I agree with you that the most of these {{RelOptUtil.createProject}} methods do the same thing, so I made them deprecated and replaced their usage. Just still used existing method {{RelOptUtil.createProject(RelNode, List<? extends RexNode>, List<String>, boolean, RelBuilder)}} since it does greater things than just {{RelBuilder.project()}}. > 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)