vvysotskyi commented on code in PR #2652:
URL: https://github.com/apache/drill/pull/2652#discussion_r979593075
##########
exec/java-exec/src/main/java/org/apache/drill/exec/store/plan/rel/PluginAggregateRel.java:
##########
@@ -51,7 +51,7 @@ public Aggregate copy(RelTraitSet traitSet, RelNode input,
ImmutableBitSet group
@Override
public RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery
mq) {
- return super.computeSelfCost(planner, mq).multiplyBy(0.1);
+ return super.computeLogicalAggCost(planner, mq).multiplyBy(0.1);
Review Comment:
Yes, they represent part of the pushed-down query, so it is possible to find
out the most optimal query for both Drill and actual storage where the query is
pushed down.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]