Skip to content
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

GROUP BY concatenation with empty string [CORE2215] #2643

Closed
firebird-automations opened this issue Nov 28, 2008 · 9 comments
Closed

GROUP BY concatenation with empty string [CORE2215] #2643

firebird-automations opened this issue Nov 28, 2008 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Alex Bekhtin (afgm)

Is related to QA272

CREATE TABLE ATTRIBUTES_DICTIONARY (
ID INTEGER NOT NULL,
NAME VARCHAR(256)
);

select http://ATR.name, count(*) from ATTRIBUTES_DICTIONARY ATR group by 1 order by 2 desc
RESULT: OK

select ATR.name||'TEXT', count(*) from ATTRIBUTES_DICTIONARY ATR group by 1 order by 2 desc
RESULT: OK

select ATR.name||'', count(*) from ATTRIBUTES_DICTIONARY ATR group by 1 order by 2 desc
ERROR: cannot sort on a field that does not exist.

select ATR.name||'', count(*) from ATTRIBUTES_DICTIONARY ATR group by ATR.name||'' order by count(*) desc
ERROR: cannot sort on a field that does not exist.

Commits: b2112b9 da73861

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Fixed... Bug affects a snapshot between 2.5 alpha1 and beta1.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Version: 1.5.6 [ 10225 ]

Version: 2.1.3 [ 10302 ]

Version: 2.5 Beta 2 [ 10300 ]

Version: 2.1.2 [ 10270 ]

Version: 2.0.5 [ 10222 ]

Version: 2.1.1 [ 10223 ]

Version: 2.5 Alpha 1 [ 10224 ]

Version: 2.0.4 [ 10211 ]

Version: 2.1.0 [ 10041 ]

Version: 1.5.5 [ 10220 ]

Version: 2.0.3 [ 10200 ]

Version: 2.0.2 [ 10130 ]

Version: 2.0.1 [ 10090 ]

Version: 1.5.4 [ 10100 ]

Version: 2.0.0 [ 10091 ]

Fix Version: 2.1.4 [ 10361 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA272 [ QA272 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

QA test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment