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
Bugs with LIST(DISTINCT ...) [CORE1260] #1683
Comments
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 12103 ] => Firebird [ 15571 ] |
Modified by: @pavel-zotovQA Status: No test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted by: Alexander Tyutik (tut)
Duplicates CORE1227
Duplicates CORE1253
Is related to QA147
I found 2 probblems with new function LIST:
1) Function add unnecessary spaces at the end of each word when DISTINCT keyword used. Compare next 2 queries:
SELECT LIST(TEXT)
FROM (
SELECT 'bla-bla-bla' FROM RDB$DATABASE
UNION ALL
SELECT 'kuku' FROM RDB$DATABASE
UNION ALL
SELECT 'bla-bla-bla' FROM RDB$DATABASE
) (TEXT)
SELECT LIST(DISTINCT TEXT)
FROM (
SELECT 'bla-bla-bla' FROM RDB$DATABASE
UNION ALL
SELECT 'kuku' FROM RDB$DATABASE
UNION ALL
SELECT 'bla-bla-bla' FROM RDB$DATABASE
) (TEXT)
2) block size exceeds implementation restriction:
SELECT LIST(TEXT), LIST(DISTINCT TEXT)
FROM (
SELECT 'bla-bla-bla' FROM RDB$DATABASE
UNION ALL
SELECT 'kuku' FROM RDB$DATABASE
UNION ALL
SELECT 'bla-bla-bla' FROM RDB$DATABASE
) (TEXT)
The text was updated successfully, but these errors were encountered: