We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc66d6 commit f302793Copy full SHA for f302793
src/catalog.rs
@@ -323,7 +323,7 @@ impl RustWrappedPySchemaProvider {
323
}
324
325
if py_table.hasattr("__datafusion_table_provider__")? {
326
- let capsule = provider.getattr("__datafusion_table_provider__")?.call0()?;
+ let capsule = py_table.getattr("__datafusion_table_provider__")?.call0()?;
327
let capsule = capsule.downcast::<PyCapsule>().map_err(py_datafusion_err)?;
328
validate_pycapsule(capsule, "datafusion_table_provider")?;
329
0 commit comments