Skip to content

Fix missing field partitioned_by_file_group in serialization#22365

Merged
adriangb merged 2 commits into
apache:mainfrom
pydantic:marc/fix-missing-field-pbf-group
May 22, 2026
Merged

Fix missing field partitioned_by_file_group in serialization#22365
adriangb merged 2 commits into
apache:mainfrom
pydantic:marc/fix-missing-field-pbf-group

Conversation

@marc-pydantic
Copy link
Copy Markdown
Contributor

I'm not super versed in the serialization machinery involved here, please review carefully.

Which issue does this PR close?

Rationale for this change

The partitioned_by_file_group field was introduced in #21351 and #21342 but not added to the protobuf schema, breaking datafusion-distributed.

What changes are included in this PR?

  • Add optional bool partitioned_by_file_group = 14 to FileScanExecConf in datafusion.proto
  • Serialize the field in to_proto.rs
  • Deserialize the field in from_proto.rs
  • Regenerate prost/pbjson code

Are these changes tested?

Yes, added roundtrip_parquet_exec_partitioned_by_file_group test.

Are there any user-facing changes?

No

@github-actions github-actions Bot added the proto Related to proto crate label May 19, 2026
@adriangb adriangb force-pushed the marc/fix-missing-field-pbf-group branch from 8b89211 to 6dec7ef Compare May 22, 2026 12:50
Copy link
Copy Markdown
Contributor

@adriangb adriangb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@adriangb adriangb enabled auto-merge May 22, 2026 12:51
@adriangb adriangb added this pull request to the merge queue May 22, 2026
Merged via the queue into apache:main with commit cbebc6f May 22, 2026
35 checks passed
@adriangb adriangb deleted the marc/fix-missing-field-pbf-group branch May 22, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proto Related to proto crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

partitioned_by_file_group not serialized in FileScanExecConf protobuf breaks datafusion-distributed

2 participants