Skip to content

Sync EF Core to 7.0.0-preview.5.22260.3#2369

Merged
roji merged 2 commits intonpgsql:mainfrom
roji:Sync
May 23, 2022
Merged

Sync EF Core to 7.0.0-preview.5.22260.3#2369
roji merged 2 commits intonpgsql:mainfrom
roji:Sync

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented May 16, 2022

And fix nested set operations with leftmost nulls

Fixes #2366


namespace Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal;

public class NpgsqlSetOperationTypeResolutionCompensatingExpressionVisitor : ExpressionVisitor
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smitpatel this is the visitor which fixes the PG set operation thing (#2366). As it's a bit tricky it would be great if you could take a look (but only if you have time).

}
}

#pragma warning disable EF1001
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smitpatel as discussed offline, am merging with this temporary hack which accesses TpcTablesExpression - will clean this up later based on what you decide.

@roji
Copy link
Copy Markdown
Member Author

roji commented May 23, 2022

@smitpatel FYI merging this for now with the code accessing the internal TpcTablesExpression - we can clean this up later whenever you have time to look at it from the EF side.

@roji roji merged commit 46782f0 into npgsql:main May 23, 2022
@roji roji deleted the Sync branch May 23, 2022 07:58
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.

Error with nested set operation and leftmost nulls

1 participant