Skip to content

datafusion-examples should only use the datafusion crate #25578

Description

@nuno-faria

datafusion-examples currently uses subcrates like datafusion-expr:

datafusion-expr = { workspace = true }
datafusion-physical-expr-adapter = { workspace = true }
datafusion-proto = { workspace = true, features = ["parquet"] }
datafusion-sql = { workspace = true }

Since the datafusion crate already exports most these, it should be preferred in the examples. Here's @alamb original reasoning: #14305

The fix is easy to automate. However, we should also add a CI check to prevent these subcrates to be unnecessarily added in the future.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions