Skip to content

Commit 9a7244e

Browse files
committed
Commit copilot suggestions
1 parent 9749c3c commit 9a7244e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/user-guide/upgrade-guides.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ DataFusion 52.0.0
2424
This version includes a major update to the :ref:`ffi` due to upgrades
2525
to the `Foreign Function Interface <https://doc.rust-lang.org/nomicon/ffi.html>`_.
2626
Users who contribute their own ``CatalogProvider``, ``SchemaProvider``,
27-
``TableProvider`` or ``TableFunction``` via FFI must now provide access to a
27+
``TableProvider`` or ``TableFunction`` via FFI must now provide access to a
2828
``LogicalExtensionCodec`` and a ``TaskContextProvider``. The most convenient
2929
way to provide these is from the ``datafusion-python`` ``SessionContext`` Python
3030
object. The ``SessionContext`` now has a method to export a
3131
``FFI_LogicalExtensionCodec``, which can satisfy this new requirement.
3232

3333
A complete example can be found in the `FFI example <https://github.com/apache/datafusion-python/tree/main/examples/datafusion-ffi-example>`_.
34-
The constructor for your provider needs to take an an input the ``SessionContext``
34+
The constructor for your provider needs to take as an input the ``SessionContext``
3535
python object. Instead of calling ``FFI_CatalogProvider::new`` you can use the
3636
added method ``FFI_CatalogProvider::new_with_ffi_codec`` as follows:
3737

@@ -95,12 +95,12 @@ using the specific datafusion project crates.
9595

9696
For example, instead of including expressions like:
9797

98-
.. code-block: rust
98+
.. code-block:: rust
9999
100100
use datafusion::catalog::MemTable;
101101
102102
Instead you can now write:
103103

104-
.. code-block: rust
104+
.. code-block:: rust
105105
106106
use datafusion_catalog::MemTable;

0 commit comments

Comments
 (0)