julianhyde opened a new pull request, #3907:
URL: https://github.com/apache/calcite/pull/3907
As of [CALCITE-4496], a non-aggregate query can use measures in its `SELECT`
clause; this change further allows a non-aggregate query to use measures in its
`ORDER BY` clause. Example:
```
WITH empm AS
(SELECT *, avg(sal) AS MEASURE avgSal FROM emp)
SELECT avgSal, deptno
FROM empm
ORDER BY avgSal DESC LIMIT 3;
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]