Choose between facade and leaf crates
mainWhen integrating these providers, you have two options for crate selection:
Leaf Crates (e.g.,
datafusion-table-providers-postgres,datafusion-table-providers-duckdb):- Use these if you only need a single backend.
- They enable
federationby default (opt out withdefault-features = false). - SQLite leaf crates default to the
bundledrusqlitefeature.
Facade Crate (
datafusion-table-providers):- Use this to access multiple providers via feature flags.
- It maintains the same module paths and provider feature names (e.g.,
duckdb,postgres,sqlite). - Enabling a provider feature pulls in the corresponding leaf crate with its defaults (including federation).