FDoKE commented on PR #2693: URL: https://github.com/apache/calcite/pull/2693#issuecomment-1094928840
If you mind me, i'll drop related error here. query (some_aggregate something like string_agg) `select some_aggregate(id, ',') WITHIN GROUP(ORDER BY id) as agg, somecol as id GROUP BY somecol` when one column have exact same alias as aggregate `order by` column name this causes incorrect **ordinal** usage in ORDER BY (it produces ordinal=4 which has no use inside aggregate function) -- 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]
