8000 Add (de)serialization for ExtraOperatorInfo by NiclasHaderer · Pull Request #17563 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 5 commits into from
May 20, 2025

Conversation

NiclasHaderer
Copy link
Contributor

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.

@NiclasHaderer NiclasHaderer marked this pull request as draft May 20, 2025 10:56
@Mytherin
Copy link
Collaborator
Mytherin commented May 20, 2025

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.

@NiclasHaderer NiclasHaderer marked this pull request as ready for review May 20, 2025 11:58
@NiclasHaderer
Copy link
Contributor Author

I have just checked that "Test deserialized plans from file" works. All other tests should be fine, I think

@Mytherin
Copy link
Collaborator
Mytherin commented May 20, 2025

Unfortunately not :) can you have another look?

@duckdb-draftbot duckdb-draftbot marked this pull request as draft May 20, 2025 13:08
@NiclasHaderer NiclasHaderer marked this pull request as ready for review May 20, 2025 13:35
@NiclasHaderer NiclasHaderer marked this pull request as draft May 20, 2025 13:35
@NiclasHaderer NiclasHaderer marked this pull request as ready for review May 20, 2025 13:35
@NiclasHaderer
Copy link
Contributor Author

Is this good to go?

@Mytherin Mytherin merged commit 4e57d13 into duckdb:v1.3-ossivalis May 20, 2025
56 of 98 checks passed
@Mytherin
Copy link
Collaborator

Yes, thanks

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0