diff --git a/docs/source/rust/quickstart.rst b/docs/source/rust/quickstart.rst index c9cccb0914..bc3cff1818 100644 --- a/docs/source/rust/quickstart.rst +++ b/docs/source/rust/quickstart.rst @@ -32,6 +32,20 @@ Add a dependency on ``adbc_core`` and ``adbc_datafusion``: cargo add adbc_core adbc_datafusion +.. note:: If you get a compiler error (E0308, mismatched types) and a note about + multiple versions of the arrow crates in the dependency graph when you + run ``cargo build``, you can downgrade crate versions so you only have + one version of the arrow crates in your workspace: + + .. code-block:: shell + + cargo update -p arrow-array@57.0.0 -p arrow-schema@57.0.0 --precise 56.2.0 + + Note the exact versions in the command above may need to be changed. + Use ``cargo tree`` to find the versions affecting your workspace. See + the `Version Incompatibility Hazards `__ + in the Cargo documentation for more information. + Loading DataFusion ==================