Skip to content
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

Require Debug for TableProvider, TableProviderFactory and PartitionStream #12557

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Sep 20, 2024

Which issue does this PR close?

Part of #12555

Rationale for this change

I would like DataFusion to be easiser to configure and use, and having Debug impls for
common structs would be a big help.

What changes are included in this PR?

  1. Require Debug for TableProvider, TableProviderFactoryandPartitionStream`
  2. Derive them for all required structures

Are these changes tested?

Yes, by CI and compiler

Are there any user-facing changes?

Technically this is an API change as it also adds the requirement for Debug to anything that implements TableProvider, ``TableProviderFactory or PartitionStream

@alamb alamb added the api change Changes the API exposed to users of the crate label Sep 20, 2024
@github-actions github-actions bot added physical-expr Physical Expressions core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) catalog Related to the catalog crate labels Sep 20, 2024
@alamb
Copy link
Contributor Author

alamb commented Sep 20, 2024

Thank you @phillipleblanc

@alamb alamb changed the title Require Debug for TableProvider, TableProviderFactory and PartitionStream` Require Debug for TableProvider, TableProviderFactory and PartitionStream Sep 20, 2024
Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

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

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate catalog Related to the catalog crate core Core DataFusion crate physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants