This is an automated email from the ASF dual-hosted git repository.
timsaucer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new 876646d6 docs: clarify DataFusion 52 FFI session-parameter requirement
for provider hooks (#1439)
876646d6 is described below
commit 876646d67771261cfd9a57c721bece0d95b9740c
Author: Kevin Liu <[email protected]>
AuthorDate: Fri Mar 27 06:08:57 2026 -0700
docs: clarify DataFusion 52 FFI session-parameter requirement for provider
hooks (#1439)
* mention new session arg
* flow better
* smaller change
---
docs/source/user-guide/upgrade-guides.rst | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/source/user-guide/upgrade-guides.rst
b/docs/source/user-guide/upgrade-guides.rst
index e3d7c2d8..2ac7f770 100644
--- a/docs/source/user-guide/upgrade-guides.rst
+++ b/docs/source/user-guide/upgrade-guides.rst
@@ -52,8 +52,10 @@ parameter, which is a Python object that can be used to
extract the
``FFI_LogicalExtensionCodec`` that is necessary.
A complete example can be found in the `FFI example
<https://github.com/apache/datafusion-python/tree/main/examples/datafusion-ffi-example>`_.
-Your methods need to be updated to take an additional parameter like in this
-example.
+Your FFI hook methods — ``__datafusion_catalog_provider__``,
+``__datafusion_schema_provider__``, ``__datafusion_table_provider__``, and
+``__datafusion_table_function__`` — need to be updated to accept an additional
+``session: Bound<PyAny>`` parameter, as shown in this example.
.. code-block:: rust
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]