apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.33k stars 1.2k forks source link

fix docs of register_table to match implementation #13438

Closed adriangb closed 6 days ago

adriangb commented 6 days ago

I'm not sure that changing the implementation is possible at this point. We could call deregister_table but I fear that's not atomic. So we'd have to change the implementation of SchemaProvider, a breaking change.

adriangb commented 6 days ago

See https://github.com/pydantic/datafusion/blob/1af1b49d6afa4be61e8c32a0510e97c85301e747/datafusion/catalog/src/schema.rs#L56-L60