Can I get a review for https://github.com/apache/calcite/pull/2965 /
https://issues.apache.org/jira/browse/CALCITE-5105?

It's the first change in what is - in my opinion - a major extension
to SQL, namely being able to define expressions in queries and views
and have those expressions 'expand' in the context where they are
used. It's something that BI tools and multidimensional databases do,
but it is not allowed by the conventional rules of SQL.

This change is fairly modest, adding a MEASURE type so that we can
represent measures internally. I believe that I have added sufficient
switches so that people who don't want these extensions in their SQL
dialect don't get them.

A later case, https://issues.apache.org/jira/browse/CALCITE-4496, will
allow you to define measures as part of a query and have them inlined
when you use them in an enclosing query. That case is quite a long way
from completion.

Julian

Reply via email to