You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b51390
Browse filesBrowse the repository at this point in the historyBrowse files
* Add developer instructions to speed up build processes
* Remove pyarrow dep from datafusion. Add in PyScalarValue wrapper and rename DataFusionError to PyDataFusionError to be less confusing
* Removed unnecessary cloning of scalar value when going from rust to python. Also removed the rust unit tests copied over from upstream repo that were failing due to apache#941 in pyo3
* Change return types to PyDataFusionError to simplify code
* Update exception handling to fix build errors in recent rust toolchains
Copy file name to clipboardExpand all lines: docs/source/contributor-guide/introduction.rst
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,3 +95,56 @@ To update dependencies, run
95
95
.. code-block:: shell
96
96
97
97
uv sync --dev --no-install-package datafusion
98
+
99
+
Improving Build Speed
100
+
---------------------
101
+
102
+
The `pyo3 <https://github.com/PyO3/pyo3>`_ dependency of this project contains a ``build.rs`` file which
103
+
can cause it to rebuild frequently. You can prevent this from happening by defining a ``PYO3_CONFIG_FILE``
104
+
environment variable that points to a file with your build configuration. Whenever your build configuration
105
+
changes, such as during some major version updates, you will need to regenerate this file. This variable
106
+
should point to a fully resolved path on your build machine.
107
+
108
+
To generate this file, use the following command:
109
+
110
+
.. code-block:: shell
111
+
112
+
PYO3_PRINT_CONFIG=1 cargo build
113
+
114
+
This will generate some output that looks like the following. You will want to copy these contents intro
115
+
a file. If you place this file in your project directory with filename ``.pyo3_build_config`` it will
0 commit comments