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-issue-importer opened this issue Apr 13, 2009 · 10 comments

Comments

@firebird-issue-importer

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 13, 2009

Commented by: Sean Leyne (seanleyne)

Please provide an example.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 13, 2009

Modified by: @dyemanov

Link: This issue is related to CORE1402 [ CORE1402 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 15, 2009

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 22, 2009

Commented by: @asfernandes

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 22, 2009

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 22, 2009

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC1 [ 10300 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 23, 2011

Modified by: @pcisar

Link: This issue is related to QA320 [ QA320 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 23, 2011

Modified by: @pmakowski

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 4, 2016

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants