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

Bugs with LIST(DISTINCT ...) [CORE1260] #1683

Closed
firebird-automations opened this issue May 15, 2007 · 8 comments
Closed

Bugs with LIST(DISTINCT ...) [CORE1260] #1683

firebird-automations opened this issue May 15, 2007 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

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)

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Duplicates CORE1227 and CORE1253.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue duplicates CORE1227 [ CORE1227 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue duplicates CORE1253 [ CORE1253 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA147 [ QA147 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12103 ] => Firebird [ 15571 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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

No branches or pull requests

1 participant