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

Incorrect projected ColumnExpression when using SqlQuery #34518

Open
roji opened this issue Aug 23, 2024 · 0 comments · May be fixed by #34519
Open

Incorrect projected ColumnExpression when using SqlQuery #34518

roji opened this issue Aug 23, 2024 · 0 comments · May be fixed by #34519

Comments

@roji
Copy link
Member

roji commented Aug 23, 2024

When translating SqlQueryRootExpression, the resulting SelectExpression's ColumnExpression (in _projectionMappings) has Type e.g. IQueryable<string> instead of string - this is an incorrect tree representation.

This triggered #33272, which was worked around by @cincuranet in #33580, but without addressing the actual root cause (which is an invalid tree). This surfaced again EFCore.PG where the workaround wasn't yet applied.

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

Successfully merging a pull request may close this issue.

1 participant