xiangfu0 opened a new pull request, #13146:
URL: https://github.com/apache/pinot/pull/13146
- Support `WITHIN GROUP` Clause in MultiStage Engine
-- Ensure there is an EXCHANGE node below AggregateNode
-- Sort data in intermediate stage
- Support `ListAgg` agg function
- Support passing `Distinct` flag to `ListAgg` implementation
Sample query:
```
SELECT
Origin, Dest,
LISTAGG(distinct Carrier, ', ') WITHIN GROUP (ORDER BY Carrier)
FROM
airlineStats
GROUP BY
Dest, Origin
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]