Class GroupByRules

java.lang.Object
org.apache.druid.sql.calcite.rule.GroupByRules

public class GroupByRules extends Object
  • Method Details

    • translateAggregateCall

      @Nullable public static Aggregation translateAggregateCall(PlannerContext plannerContext, RowSignature rowSignature, @Nullable VirtualColumnRegistry virtualColumnRegistry, org.apache.calcite.rex.RexBuilder rexBuilder, InputAccessor inputAccessor, List<Aggregation> existingAggregations, String name, org.apache.calcite.rel.core.AggregateCall call, boolean finalizeAggregations)
      Translate an AggregateCall to Druid equivalents.
      Returns:
      translated aggregation, or null if translation failed.