Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for CROSS APPLY and OUTER APPLY generation #1238

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

Draft
niekschoemaker wants to merge 3 commits into FirebirdSQL:master
base: master
Choose a base branch
Loading
from niekschoemaker:add-support-for-lateral-joins

Conversation

Copy link

@niekschoemaker niekschoemaker commented Sep 26, 2025

Shamelessly copied from the postgres sql provider, that's why I added the copyright notice above it, no need to reinvent the wheel as they already solved it.

Implement VisitCrossApply and VisitOuterApply methods to translate CROSS APPLY and OUTER APPLY constructs for Firebird using lateral joins. Adapted logic from Npgsql EF Core provider.

Related to issue #1165

Implement `VisitCrossApply` and `VisitOuterApply` methods to translate CROSS APPLY and OUTER APPLY constructs for Firebird using lateral joins. Adapted logic from Npgsql EF Core provider.
Copy link
Member

There's a lot of tests that result in CROSS APPLY/OUTER APPLY that are ignored now, these need to be enabled. You can start by searching for NotSupportedOnFirebirdFact/NotSupportedOnFirebirdTheory.

- Extension method resolution changed causing the wrong Reverse method to be used, casting it to Enumerable resolves this.
Copy link
Author

There's a lot of tests that result in CROSS APPLY/OUTER APPLY that are ignored now, these need to be enabled. You can start by searching for NotSupportedOnFirebirdFact/NotSupportedOnFirebirdTheory.

Just making sure, I'm going through all disabled tests at the moment, and if I spot things which are marked as unsupported by efcore, but which are supported now, should those be enabled too?

Copy link
Member

if I spot things which are marked as unsupported by efcore, but which are supported now, should those be enabled too?

Yes. But create separate PR.

@niekschoemaker niekschoemaker marked this pull request as draft September 30, 2025 11:34
@niekschoemaker niekschoemaker marked this pull request as ready for review September 30, 2025 13:12
@niekschoemaker niekschoemaker marked this pull request as draft September 30, 2025 13:33
@niekschoemaker niekschoemaker force-pushed the add-support-for-lateral-joins branch 3 times, most recently from 0c30e81 to a1b7428 Compare September 30, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /