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

Chunwei Lei commented on CALCITE-2895:
--------------------------------------

I have created a pull request: https://github.com/apache/calcite/pull/1088.

> Some arguments are undocumented in constructor of LogicalAggregate
> ------------------------------------------------------------------
>
>                 Key: CALCITE-2895
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2895
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Chunwei Lei
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are some undocumented arguments in constructor of LogicalAggregate, 
> including traitSet and indicator.
> {code:java}
>   /**
>    * Creates a LogicalAggregate.
>    *
>    * <p>Use {@link #create} unless you know what you're doing.
>    *
>    * @param cluster  Cluster that this relational expression belongs to
>    * @param child    input relational expression
>    * @param groupSet Bit set of grouping fields
>    * @param groupSets Grouping sets, or null to use just {@code groupSet}
>    * @param aggCalls Array of aggregates to compute, not null
>    */
>   public LogicalAggregate(
>       RelOptCluster cluster,
>       RelTraitSet traitSet,
>       RelNode child,
>       boolean indicator,
>       ImmutableBitSet groupSet,
>       List<ImmutableBitSet> groupSets,
>       List<AggregateCall> aggCalls) {
>     super(cluster, traitSet, child, indicator, groupSet, groupSets, aggCalls);
>   }
> {code}



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

Reply via email to