@@ -204,6 +204,34 @@ url = "2.5.7"
204204uuid = " 1.23"
205205zstd = { version = " 0.13" , default-features = false }
206206
207+ # Override arrow / parquet to the `adaptive-strategy-swap` branch on
208+ # pydantic's fork of arrow-rs, which adds the `swap_strategy` API on
209+ # `ParquetPushDecoder` that the in-decoder adaptive filter scheduling
210+ # depends on.
211+ #
212+ # The full set of arrow-rs workspace crates is listed so transitive
213+ # deps (e.g. `arrow-cast` pulled in via `arrow`) resolve to the patched
214+ # version and we don't link two copies into one binary.
215+ #
216+ # Branch: https://github.com/pydantic/arrow-rs/tree/adaptive-strategy-swap
217+ [patch .crates-io ]
218+ arrow = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
219+ arrow-arith = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
220+ arrow-array = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
221+ arrow-buffer = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
222+ arrow-cast = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
223+ arrow-csv = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
224+ arrow-data = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
225+ arrow-flight = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
226+ arrow-ipc = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
227+ arrow-json = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
228+ arrow-ord = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
229+ arrow-row = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
230+ arrow-schema = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
231+ arrow-select = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
232+ arrow-string = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
233+ parquet = { git = " https://github.com/pydantic/arrow-rs.git" , branch = " adaptive-strategy-swap" }
234+
207235[workspace .lints .clippy ]
208236# Detects large stack-allocated futures that may cause stack overflow crashes (see threshold in clippy.toml)
209237large_futures = " warn"
0 commit comments