mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-28 08:06:16 +00:00
feat: bump the bundled DuckDB engine to 1.5.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c11e52402b
commit
fca73de0cb
+4
-4
@@ -471,8 +471,8 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "duckdb"
|
||||
version = "1.10505.0"
|
||||
source = "git+https://github.com/windmill-labs/duckdb-rs?rev=7190adfcf58624e7e9a7a2a1000bac18fed64c19#7190adfcf58624e7e9a7a2a1000bac18fed64c19"
|
||||
version = "1.10506.0"
|
||||
source = "git+https://github.com/windmill-labs/duckdb-rs?rev=91e1ac9e03e03666509cccc2c14b13f13bb030cc#91e1ac9e03e03666509cccc2c14b13f13bb030cc"
|
||||
dependencies = [
|
||||
"arrow",
|
||||
"cast",
|
||||
@@ -813,8 +813,8 @@ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
||||
|
||||
[[package]]
|
||||
name = "libduckdb-sys"
|
||||
version = "1.10505.0"
|
||||
source = "git+https://github.com/windmill-labs/duckdb-rs?rev=7190adfcf58624e7e9a7a2a1000bac18fed64c19#7190adfcf58624e7e9a7a2a1000bac18fed64c19"
|
||||
version = "1.10506.0"
|
||||
source = "git+https://github.com/windmill-labs/duckdb-rs?rev=91e1ac9e03e03666509cccc2c14b13f13bb030cc#91e1ac9e03e03666509cccc2c14b13f13bb030cc"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"diffy",
|
||||
|
||||
@@ -11,10 +11,10 @@ chrono = "0.4.41"
|
||||
# identical DECIMAL. Building one by hand would mean reimplementing that
|
||||
# f64 → (mantissa, scale) inference.
|
||||
#
|
||||
# Not crates.io: a fork of duckdb-rs 1.10505.0 carrying two patches to the bundled engine —
|
||||
# Not crates.io: a fork of duckdb-rs 1.10506.0 carrying two patches to the bundled engine —
|
||||
# see docs/duckdb-isolation.md for why, and for the exit path back to the crates.io crate.
|
||||
# Pinned by rev, not branch, so `cargo update` cannot move the engine under us.
|
||||
duckdb = { git = "https://github.com/windmill-labs/duckdb-rs", rev = "7190adfcf58624e7e9a7a2a1000bac18fed64c19", features = [
|
||||
duckdb = { git = "https://github.com/windmill-labs/duckdb-rs", rev = "91e1ac9e03e03666509cccc2c14b13f13bb030cc", features = [
|
||||
"bundled",
|
||||
"rust_decimal",
|
||||
] }
|
||||
|
||||
@@ -122,7 +122,7 @@ worker that never set it would point the reader at a knob that does not exist.
|
||||
|
||||
`backend/windmill-duckdb-ffi-internal` depends on
|
||||
[`windmill-labs/duckdb-rs`](https://github.com/windmill-labs/duckdb-rs), branch
|
||||
`windmill/duckdb-1.5.5`, pinned by rev. That fork is duckdb-rs 1.10505.0 (DuckDB 1.5.5)
|
||||
`windmill/duckdb-1.5.6`, pinned by rev. That fork is duckdb-rs 1.10506.0 (DuckDB 1.5.6)
|
||||
plus the windmill commits; `duckdb.tar.gz` is left byte-identical to upstream's and
|
||||
`crates/libduckdb-sys/windmill/0*.patch` are applied to the extracted sources at build
|
||||
time, in order, so `git diff` against `duckdb/duckdb-rs` shows the whole delta as text.
|
||||
@@ -180,7 +180,7 @@ An unpatched engine compiles, links and passes every existing test. Three things
|
||||
|
||||
## Upstream
|
||||
|
||||
Both patches are written against `duckdb/duckdb` `v1.5.5` in the shape upstream takes
|
||||
Both patches are written against `duckdb/duckdb` `v1.5.6` in the shape upstream takes
|
||||
changes. Besides the engine sources they carry `src/common/settings.json` (the settings
|
||||
generator's input, regenerated with `scripts/generate_settings.py` and formatted with
|
||||
clang-format 11.0.1), two sqllogictests under `test/sql/settings/`, and one line in
|
||||
@@ -190,14 +190,14 @@ irreversible one has to join the exclusion list `disabled_filesystems` and
|
||||
`git am`:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/duckdb/duckdb.git && cd duckdb && git checkout v1.5.5
|
||||
git clone https://github.com/duckdb/duckdb.git && cd duckdb && git checkout v1.5.6
|
||||
git am .../crates/libduckdb-sys/windmill/0*.patch
|
||||
GEN=ninja make && ./build/release/test/unittest "test/sql/settings/lock_temp_directory*"
|
||||
```
|
||||
|
||||
`0001` is filed as
|
||||
**[duckdb/duckdb#24694](https://github.com/duckdb/duckdb/pull/24694)**, against `main`
|
||||
rather than `v1.5.5`. Filing was a human decision on purpose: their `CONTRIBUTING.md` asks
|
||||
rather than `v1.5.6`. Filing was a human decision on purpose: their `CONTRIBUTING.md` asks
|
||||
contributors not to submit LLM-generated pull requests, to discuss the change on GitHub
|
||||
first, and to run CI on a fork before opening one.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user