-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ExecuteUpdate with cross apply produces invalid SQL #28823
Comments
Currently we generate 5 kind of "join" like table sources. Each of them have different kind of effect on results. (also there could be more if someone extends TableExpressionBase)
For the Update statement, if we end up omitting very first table then we need to lift the next table into the "FROM" clause. FROM clause doesn't allow everything all joins allow.
Only Inner/Cross join are safe. (We don't know about custom ones which providers can handle). |
On PG, test Update_with_cross_apply_set_constant produces the following SQL:
This fails with the following, since c.ContactName references an outer column:
Originally discussed in npgsql/efcore.pg#2475 (comment)
The text was updated successfully, but these errors were encountered: