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

Join of SP with view or table may fail with 'No current record for fetch operation' [CORE2155] #2586

Closed
firebird-issue-importer opened this issue Oct 28, 2008 · 8 comments

Comments

@firebird-issue-importer

Submitted by: @pcisar

Is duplicated by CORE6361

Votes: 3

The optimizer always (if possible) tries to start a join order with a procedure. If SP depends on some other streams via input parameters, this error happens.

The workaround is trivial, force the join order via a left join. For example:

select * from A_VIEW A left join A_SP(A.VAL1, A.VAL2) on 1=1

Commits: 523120f

====== Test Details ======

See also: CORE4344

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 28, 2008

Modified by: @pcisar

assignee: Dmitry Yemanov [ dimitr ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 28, 2008

Modified by: @pcisar

Version: 2.5 Alpha 1 [ 10224 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 12, 2009

Modified by: @dyemanov

Fix Version: 3.0.0 [ 10048 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 19, 2009

Modified by: @dyemanov

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 3.0.0 [ 10048 ] =>

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Aug 28, 2010

Modified by: @dyemanov

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 28, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: See also: CORE4344

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 28, 2015

Modified by: @pcisar

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

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jul 10, 2020

Modified by: @dyemanov

Link: This issue is duplicated by CORE6361 [ CORE6361 ]

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