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

Apply fix from #34729 to Cosmos SqlExpressionFactory to keep it in sync #34964

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

ChrisJollyAU
Copy link
Contributor

From discussion in #34729

Add that fix to the Cosmos SqlExpressionFactory to keep in sync with the relational version

Note that related tests for Cosmos still fail due to #34963

@roji Actually not sure if this is entirely needed. From the other issue in relational databases, left.Type is an object because it leaves the unary convert (with Type of object) around. Cosmos strips the convert out and just leaves the operand which generally already has a Type and Type mapping.

@maumar maumar merged commit 5c2afbb into dotnet:main Feb 7, 2025
7 checks passed
@maumar
Copy link
Contributor

maumar commented Feb 7, 2025

Thank you for the contribution! @ChrisJollyAU

@ChrisJollyAU ChrisJollyAU deleted the 34618cosmos branch February 7, 2025 18:12
@ChrisJollyAU
Copy link
Contributor Author

@maumar See also #35000. I think I already used this as part of that PR. That then fixes the tests mentioned in this that don't work (plus others)

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

Successfully merging this pull request may close these issues.

3 participants