Can someone please review https://github.com/apache/calcite/pull/3209. It has fixes for https://issues.apache.org/jira/browse/CALCITE-4334 (LITERAL_AGG) and https://issues.apache.org/jira/browse/CALCITE-5697 (RelBuilder.convert).
I would especially like feedback on the strategy of avoiding a spurious Project on top of an Aggregate just to project a constant value. This change is a step towards https://issues.apache.org/jira/browse/CALCITE-4496 (measures) and https://issues.apache.org/jira/browse/CALCITE-5692 (AT operator). These are major changes to SQL semantics. If someone would like to work with me on those I would very much appreciate it. Julian
