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

Make CREATE VIEW infer column names for views involving a GROUP BY clause or derived table [CORE2424] #2840

Closed
firebird-automations opened this issue Apr 13, 2009 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Cosmin Apreutesei (cosmin_ap2)

Is related to CORE1402
Is related to QA320

Currently, CREATE VIEW forces me to specify column names when I select grouped fields. I see the field names are inferred correctly for subselects though.

Commits: 1b5a289 a1b1c23

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Please provide an example.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue is related to CORE1402 [ CORE1402 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Cosmin Apreutesei (cosmin_ap2)

create view V as select d.rdb$relation_id from rdb$database d group by d.rdb$relation_id

Invalid command.
must specify column name for view select expression.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Another case:
recreate view V as select a from (select 1 a from rdb$database);

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

summary: Make CREATE VIEW infer column names for views involving a GROUP BY clause => Make CREATE VIEW infer column names for views involving a GROUP BY clause or derived table

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC1 [ 10300 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA320 [ QA320 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pmakowski

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

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

QA Status: No test => Done successfully

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

2 participants