Issues

Select view

Select search mode

 
48 of 48

Incorrect QoQ results when ordering aggregate selecft

Fixed

Description

Adding ORDER BY to aggregate QOQ select without GROUP BY where the ordered column is not part of the select list causes the result to group on the additional column instead of getting a single row back.

Ex:

See:

Environment

None

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 18 July 2024 at 19:06
Updated 12 August 2024 at 06:02
Resolved 12 August 2024 at 06:02

Activity

Show:

Pothys - MitrahSoft12 August 2024 at 06:02

I've checked this ticket with the Lucee fixed version 6.2.0.41-SNAPSHOT, and the issue is now resolved. The ordering of the aggregate QOQ works correctly.

Michael Offner9 August 2024 at 13:49

merged PR

Zac Spitzer19 July 2024 at 10:03

PRs failing to to the docker creds problem, thanks for the PR, you need to add some docker login creds to your repo

(help wanted, if you have any idea how to solve!)

there was a typo in the test case, i have fixed it

running the PR locally, all tests pass

Brad Wood18 July 2024 at 19:14

Flag notifications