Just read the paper. I see that the task is closed, I am able to parse queries with MEASURE. Is there examples or documentation that I can use? Looking for ones that include AGGREGATE, i.e. aggregate on top of the measure definition.
Thanks, Vignesh. On Tue, Jul 2, 2024 at 7:39 AM Cancai Cai <[email protected]> wrote: > It looks cool. I am reading this paper, but I am not sure if I have the > ability to review this PR. > > Maybe I can understand this paper in combination with PR. > > Best wishes, > Cancai Cai > > Julian Hyde <[email protected]> 于2024年7月1日周一 04:30写道: > > > I've added a pull request that supports the AS MEASURE construct so > > that you can define measures in a subquery or view (and then use them > > in an enclosing query). > > > > Can people please review https://github.com/apache/calcite/pull/3837. > > > > Not everything works yet (I describe future changes in > > https://issues.apache.org/jira/browse/CALCITE-4496) but a lot of > > things do. I would be especially interested in a discussion of how to > > implement the rewrites for measures - by means of planner rules, > > metadata (RelMdMeasure), or some combination. > > > > You can find the theory in our paper, > > https://dl.acm.org/doi/pdf/10.1145/3626246.3653374. > > > > Julian > > >
