-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
refactor: Remove scan id #23697
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
refactor: Remove scan id #23697
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #23697 +/- ##
=======================================
Coverage 81.29% 81.30%
=======================================
Files 1643 1643
Lines 223133 223143 +10
Branches 2837 2837
=======================================
+ Hits 181407 181435 +28
+ Misses 41027 41010 -17
+ Partials 699 698 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Could we add an assertion / panic if the ID already exists in the map? |
Do you mean to compensate for #23674? I will add that until it's fixed, even though I would prefer not to do that (it's adding code that compensates for impl details of |
Actually I don't think I should add that check, it would be quite involved. The scan would probably get inserted first, so I would also have to check for collisions on cache and partitioned sink insertion. I am working on a fix for the unsoundness, so it should be resolved soon. Is that acceptable? |
It shouldn't be involved - before |
I added the checks for duplicate ids. |
This PR removes the scan ID. We rely on caches to ensure that common subplans are executed only once.