amaliujia commented on a change in pull request #1669: [CALCITE-3590] Support
SQL hints for Aggregate
URL: https://github.com/apache/calcite/pull/1669#discussion_r359136677
##########
File path: core/src/main/java/org/apache/calcite/rel/core/Aggregate.java
##########
@@ -199,9 +227,9 @@ private boolean isPredicate(RelNode input, int index) {
* Creates an Aggregate by parsing serialized output.
*/
protected Aggregate(RelInput input) {
- this(input.getCluster(), input.getTraitSet(), input.getInput(),
- input.getBitSet("group"), input.getBitSetList("groups"),
- input.getAggregateCalls("aggs"));
+ this(input.getCluster(), input.getTraitSet(), new ArrayList<>(),
Review comment:
no worries. It's just a `nit`. Thanks for this contribution and quickly
review. I can build hot key hint on top of it now.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services