-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add (de)serialization for ExtraOperatorInfo #17563
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
Add (de)serialization for ExtraOperatorInfo #17563
Conversation
Thanks for the PR! CI is quite overworked right now, could you perhaps verify locally that CI passes prior to un-drafting (https://github.com/NiclasHaderer/duckdb/tree/nh/serialization)? Once CI passes this is good to go from my side. |
I have just checked that "Test deserialized plans from file" works. All other tests should be fine, I think |
Unfortunately not :) can you have another look? |
Is this good to go? |
Yes, thanks |
Add (de)serialization for ExtraOperatorInfo (duckdb/duckdb#17563)
Add (de)serialization for ExtraOperatorInfo (duckdb/duckdb#17563)
Add (de)serialization for ExtraOperatorInfo (duckdb/duckdb#17563)
Add (de)serialization for ExtraOperatorInfo (duckdb/duckdb#17563)
Takes over from #17518
In the sample pushdown, the SampleOptions are added to the extra_infos of the LogicalGet, but go missing when serializing the operator. This PR fixes this by adding serialization and deserialization for ExtraOperatorInfo. I hope that nodes.json is the right place to define the serialization for this type.
Furthermore, I changed the constructor of ExtraOperatorInfo to be a move constructor because it is moving a unique_ptr.