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

Query: Add support for TPC #27961

Merged
merged 1 commit into from
May 6, 2022
Merged

Query: Add support for TPC #27961

merged 1 commit into from
May 6, 2022

Conversation

smitpatel
Copy link
Contributor

Part of #3170

@smitpatel smitpatel requested a review from a team May 6, 2022 01:16
select1._projection.Select(p =>
new ProjectionExpression(new ConcreteColumnExpression(p, tableReferenceExpression), p.Alias)));
subSelectExpressions.Enqueue(selectExpression);
count -= 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

this can go below 0, we need to reset the count after we perform each full pass of "unionization"

@maumar
Copy link
Contributor

maumar commented May 6, 2022

general observation: given the (current) complex logic in building the union structure, we should add some tests with deep inheritance hierarchies. No need for complex queries on those just make sure that DbSet<Foo>().ToList() generates correct sql,

This can be done is a separate pr.

@smitpatel smitpatel merged commit dd7c329 into main May 6, 2022
@smitpatel smitpatel deleted the smit/tpcimp branch May 6, 2022 21:34
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.

3 participants