Skip to content

Conversation

niekschoemaker
Copy link

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

@niekschoemaker niekschoemaker force-pushed the add-support-for-lateral-joins branch from bb97998 to b5d272a Compare September 26, 2025 14:10
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.
@niekschoemaker niekschoemaker force-pushed the add-support-for-lateral-joins branch from b5d272a to d7af605 Compare September 26, 2025 14:14
@cincuranet
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.
@niekschoemaker
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?

@cincuranet
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.

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

Successfully merging this pull request may close these issues.

2 participants