Skip to content

Conversation

mach-kernel
Copy link
Contributor

@mach-kernel mach-kernel commented Oct 8, 2025

Which issue does this PR close?

n/a

Rationale for this change

When serializing DataSourceExec plans with a FileScanConfig, any metadata that is decorated to the schema is expected to be there after ser/de

What changes are included in this PR?

  • Schema metadata is explicitly handled in to_proto/from_proto
  • A test is added that fails on main

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the proto Related to proto crate label Oct 8, 2025
Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

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

Thank you @mach-kernel , fmt needs to be fixed

Copy link
Contributor

@milenkovicm milenkovicm left a comment

Choose a reason for hiding this comment

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

thanks @mach-kernel one minor comment

@milenkovicm
Copy link
Contributor

one other question for you @mach-kernel as you posted this in ballista group, do you need this to get to ballista 50? if so maybe we could back-port to datafusion 50.2 if @xudong963 agrees

@mach-kernel
Copy link
Contributor Author

one other question for you @mach-kernel as you posted this in ballista group, do you need this to get to ballista 50? if so maybe we could back-port to datafusion 50.2 if @xudong963 agrees

We can wait -- though thank you for asking @milenkovicm!

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.

3 participants