Github user vvysotskyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1198#discussion_r178371341
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillReduceAggregatesRule.java
 ---
    @@ -218,7 +218,8 @@ private void reduceAggs(
             RelOptUtil.createProject(
                 newAggRel,
                 projList,
    -            oldAggRel.getRowType().getFieldNames());
    +            oldAggRel.getRowType().getFieldNames(),
    +            DrillRelFactories.LOGICAL_BUILDER);
    --- End diff --
    
    In the second commit it was fixed and used relBuilderFactory to create 
builder and project. 


---

Reply via email to