Repository navigation
build(duckdb): move the engine to DuckDB 2.0.1 (#1168) - #1171
Merged
Merged
Conversation
DuckFleet now runs DuckDB 2.0.1 (athvin/duck-fleet#150). #1128's adoption condition is the same released engine on both sides, so ER moves from 2.0.0 (=1.20000.1) to 2.0.1 (=1.20001.0). - arrow stays 60; duckdb-rs 1.20001.0 pulls the same major. - Release label in .cargo/config.toml moves to v2.0.1, patch 1. The 2.0.1 vendored pragma_version.cpp is already stamped, so the override now agrees with the source rather than correcting it. - All seven baked extensions exist at extensions.duckdb.org/v2.0.1 for linux_amd64, linux_arm64 and osx_arm64. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
force-pushed
the
issue/1168-duckdb-2-0-1
branch
from
November 23, 2026 15:25
869cccd to
cfff40d
Compare
athvin
temporarily deployed
to
marketing-preview
November 23, 2026 16:00 — with
GitHub Actions
Inactive
This was referenced Nov 23, 2026
athvin
added a commit
that referenced
this pull request
Nov 29, 2026
…r, with an independent Splink twin (#1206) (#1421) GOLDENS MOVED, and why. The 50k scale golden had failed every night since DuckDB 2.0.1 (#1171). Bisected: it passes at 964f14b and fails at dba8b69 with CI's exact numbers. All 32 drifted predictions pair 'xolomiès' with 'colomiès' and move by 1.3022 bits, which is the surname's jaro_winkler >=0.92 vs >=0.88 gap. DuckDB 2.0 counts Unicode characters where 1.x counted bytes (0.926 -> 0.917). The new value is correct, and the EM m drift follows from the same pairs. The old oracle was Splink 5.0.0 on DuckDB 1.5.5. Python has no DuckDB 2.x, so it cannot be regenerated on the new engine. Instead: - fixtures/golden/gen_historical_50k_golden.py is the generator, reconstructed and verified: it reproduces the committed Splink golden exactly (prior, every m/u, every prediction to 1e-8, every cluster). That needs EM with term frequencies off. - historical_50k_ascii is its --ascii output: every text column folded to ASCII, where bytes and characters coincide. dedupe-core on DuckDB 2.0.1 matches it exactly. That proves Unicode handling is the ONLY divergence from Splink. - historical_50k is re-baselined from this engine by an #[ignore] regenerate test, so it keeps guarding the 237 non-ASCII rows. Its MANIFEST records the provenance. The final clustering is unchanged: 0 of 50,578 cluster assignments differ from the Splink oracle. The test is parameterised over the two cases; all four pass. er-matching's goldens reference records the episode. Co-authored-by: bmoore813 <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1168
What
Moves ER's bundled engine from DuckDB 2.0.0 (
duckdb =1.20000.1) to 2.0.1 (=1.20001.0).rust/.cargo/config.tomlbecomesv2.0.1/ patch1.crate-map.mdpin is regenerated.Why
#1128's DuckFleet adoption condition is the same released engine on both sides. DuckFleet moved to 2.0.1 in athvin/duck-fleet#150. This is step 1 of #1134's replan.
Proof
make check: exit 0. 1130 passed / 0 failed, including 98 golden tests unchanged andthe_engine_reports_a_released_versiononv2.0.1.make check-e2e(DuckLake + Postgres): exit 0. 473 passed / 0 failed / 3 ignored.BAKED_EXTENSIONSreturn 200 atextensions.duckdb.org/v2.0.1/for linux_amd64, linux_arm64 and osx_arm64. The image bake is proven on merge byimages.Risk & rollback
AUTOMATIC_MIGRATION), so lakes written by 2.0.0 remain readable.v2.0.1/, and the bake rebuilds it.git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:d1e3b2dc-3174-4091-9c30-c08fc4820306onMac· 2026-11-23T16:30:47Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not:
dba8b69f. rust 45211599196, frontend 45211599271, infra 45211599466 and devcontainer 45211599195 are all success.imagesbuilt, or correctly never ran because nothing that goes intoan image changed: images 45211599404 success. er-api rebuilt with the v2.0.1 extension bake.
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: verified 2026-11-23 after SSO refresh: dev
ci/web-api-green-55b8644b5d-kh675and prodapp/web-api-blue-84f48dd5cb-g7jv9both runer-api@sha256:b6ed9097…, ECR-tagged802127db, and theirer-servercontainer emitted"message":"er-server listening","addr":"0.0.0.0:8000"(dev 21:50:56Z, prod 19:36:00Z). The dispatcher in both runs the same digest.802127dbcontains this merge (git merge-base --is-ancestor). Earlier evidence: deploy 45215985434 hasDEPLOY_SHA dba8b69f, the new colour's process answereder-api-preview /readyz -> 200in both ci (dev) and app (prod) before cutover, and traffic is verified on the new colour. A pod log line could not be read because the local SSO token expired (Token has expired and refresh failed).deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: deploy is green. drift and kind were already red on
03792063(2026-11-22 and 2026-11-23, before this merge), the known kind-probe red. Not this change.Donethrough the automation rather than byhand, and the issue closed: DuckFleet: move ER to DuckDB 2.0.1 for engine parity #1168 CLOSED by
PullRequest, and the card isDone.(a skill, a reference, memory) — or nothing new was learned:
rust/.cargo/config.tomlnow records that the 2.0.1 tarball is pre-stamped, so the override is redundant but must agree with the pin.Specific to this change
Context — plan, discoveries, measurements, files
Plan
duckdb =1.20001.0(libduckdb-sys follows). arrow stays 60, the same major duckdb-rs 1.20001.0 pulls.rust/.cargo/config.toml→v2.0.1/ patch1.crate-map.md, which quotes the pin.make check, which coversthe_engine_reports_a_released_version, the extension tests and the goldens.make check-e2e(DuckLake + Postgres).imageson merge, and the deploy verified (/readyz200 from the new process; a log line is blocked by the expired SSO token).Discoveries
build_bundled_cc.rsonly refactors the autoregister helper and adds an opt-inbundled-icufeature, which ER doesn't enable.pragma_version.cppis already stampedv2.0.1/8d78114e90, so the CXXFLAGS override is now redundant. It's kept, set to agree with the pin.BAKED_EXTENSIONSreturn 200 atextensions.duckdb.org/v2.0.1/{linux_amd64,linux_arm64,osx_arm64}/.778dbe02runs the same engine:=1.20001.0, DuckLake catalog 1.0.Measurements
Files