-
Notifications
You must be signed in to change notification settings - Fork 352
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
Fix ArgumentException regression in ProjectPlanCompiler #2624
Fix ArgumentException regression in ProjectPlanCompiler #2624
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test/EndToEndTests/Tests/Client/AsynchronousTests/AsynchronousQueryTests.cs
Show resolved
Hide resolved
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Issues
This pull request fixes #2617 .
Description
This was a regression caused by changes made in #2506, we fixed a similar issue in #2535.
In #2506 I added the
MaterializerContext
as a parameter to many existing methods, including methods in theProjectionPlanCompiler
. The problem is, theProjectionPlanCompiler
generates many method calls using reflection, and argument mismatch errors can only be caught at runtime. I went through all cases where the plan compiler generates method calls with reflection to ensure the materializer context argument is passed where needed. Hopefully I haven't missed any more cases this time.Checklist (Uncheck if it is not completed)
Additional work necessary
If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.