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

Vineet Garg commented on CALCITE-2991:
--------------------------------------

[~hyuan] I am not sure if I understand what you said.
{quote}I would prefer to do the simplification of removing constant grouping 
keys before running into optimization
{quote}
This improvement is not removing grouping keys. Grouping keys although constant 
couldn't really be removed because that would change the semantics.

> getMaxRowCount should return rowcount 1 for an aggregate with constant keys
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-2991
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2991
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Aggregate with constant keys are guaranteed to produce at most one row



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

Reply via email to