New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: Group by fails if subselect-column is involved [CORE4084] #4412
Comments
Modified by: @asfernandesassignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Alpha 1 [ 10331 ] |
Commented by: Sean Leyne (seanleyne) This is a 3.0 regression |
Modified by: Sean Leyne (seanleyne)summary: Group by fails if subselect-column is involved => Regression: Group by fails if subselect-column is involved |
Commented by: @asfernandes Sean, every bug targeting only 3.0 is obviously a regression (in relation to < 3.0). And almost every bug related to existing functionality is a regression in relation to some version, or it's a bug related to a new feature. I fail to see how this adds information to the 3.0 tickets. |
Commented by: Thomas Beckmann (thbeckmann) Hi Adriano, I just did a download of the nightly build, which tells me, version is "WI-T3.0.0.30367 Firebird 3.0 Unstable" - and that still contains the bug. Will the fix come later? |
Commented by: @dyemanov You were slightly faster than our snapshot build farm :-) Now the today's version is there, buildno is 30370. |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Thomas Beckmann (thbeckmann)
The following statement works as expected in FB2.5 but fails in 3.0, returning "SQL error code = -104. Invalid expression in the select list (not contained in either an aggregate function or the GROUP BY clause)."
select
iif(D is null, 10, 0) + SYS as SYS,
count(*)
from (select
(select d.RDB$RELATION_ID from RDB$DATABASE d) as D,
coalesce(r.RDB$SYSTEM_FLAG, 0) as SYS
from RDB$RELATIONS r)
group by 1
Commits: 2b52e34 FirebirdSQL/fbt-repository@a45a188
The text was updated successfully, but these errors were encountered: