Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As of CALCITE-4496, a non-aggregate query can use measures in its SELECT clause; this change would further allow a non-aggregate query to use measures in its ORDER BY clause.
An example such query:
WITH empm AS (SELECT *, avg(sal) AS MEASURE avgSal FROM emp) SELECT avgSal, deptno FROM empm ORDER BY avgSal DESC LIMIT 3;
Attachments
Issue Links
- is related to
-
CALCITE-4496 Measure columns ("SELECT ... AS MEASURE")
- Closed
- links to