Skip to content

Embed the Haybarn 2.0 engine in the example worker - #12

Merged
rustyconover merged 1 commit into
mainfrom
haybarn-2.0-engine
Oct 29, 2026
Merged

rustyconover merged 1 commit into
mainfrom
haybarn-2.0-engine

Conversation

@rustyconover

@rustyconover rustyconover commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Moves the example worker's embedded engine (ExpressionFilterEvaluator, which evaluates pushed expression filters) from farm.query.haybarn:haybarn_jdbc:1.5.4-rc1 to 2.0.0-rc8 (Haybarn 2.0 / DuckDB 2.0 engine). That is the only JDBC reference in the repo; the published vgi core stays engine-free. The CLAUDE.md note is updated to match.

rc8 note: the Haybarn engine is at rc9, but haybarn_jdbc has not been re-released at rc9. 2.0.0-rc8 is the latest on Maven Central.

Adaptations: none needed. The 2.0 client keeps the farm.query.haybarn package, the jdbc:haybarn: URL and DuckDBConnection.registerArrowStream. INSTALL spatial FROM core resolves for v2.0.0. The rc8 jar ships linux amd64/arm64, macOS arm64 and windows amd64 natives. Platform change: 1.5.4-rc1 shipped osx_universal, so Intel macOS can no longer run the example worker's expression-filter evaluator on rc8. The published vgi core is unaffected.

Tested on EC2 Linux arm64, Temurin JDK 25.0.5:

  • ./gradlew test :vgi:javadoc :vgi-example-worker:installDist: 805 tests, 0 failures, 14 skipped. That matches the 1.5.4-rc1 baseline exactly. The installed worker bundles haybarn_jdbc-2.0.0-rc8.jar.
  • ci/run-integration.sh (launch lane), using a native runner built on the host from CI's pinned VGI_REF (7b1e1fb, Clang): 334 cases and 12521 assertions executed, 33 skipped. That is identical to main's launch lane. expression_filter.test passes; the 1 require spatial skip is a runner-side skip, the same as on main.
  • PR CI (amd64): Unit tests, Hosted protocols, Build worker and integration launch/shm/http all pass, with counts identical to main (334/333/330 cases).
  • smoke test of the rc8 jar: version() = v2.0.0 2dc3a8066b, spatial install/load, && and list_contains.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rustyconover
rustyconover merged commit 5f1823c into main Oct 29, 2026
12 checks passed
@rustyconover
rustyconover deleted the haybarn-2.0-engine branch October 29, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant