Skip to content

clink v0.6.0

Choose a tag to compare

@orhaugh orhaugh released this 31 Jul 12:34
· 457 commits to main since this release

Two engine improvements to the SQL-native AI surface, both surfaced by driving it
with a real downstream consumer. No REST API or state-format breaks; plugin ABI
unchanged (v1).

  • Metadata pre-filter on VECTOR_SEARCH. A trailing
    filter_eq='query_col:corpus_col,...' option scopes each query to the corpus
    rows whose named columns equal the query's (a null query value imposes no
    constraint). It is a genuine per-query pre-filter - the operator scores only the
    matching corpus subset - so restricting a similarity search by metadata (a
    document's system, tenant, and so on) does not lose recall the way post-filtering
    a top-k would.
  • clink replay reconstructs linked-impl operators. The replay command now
    registers the linked impls the same way clink run does, so a captured job that
    uses an impl operator (VECTOR_SEARCH, ML_PREDICT, a connector) replays and
    --verifys with no plugin - any job clink can run, it can replay.

Full notes: CHANGELOG.md.

Consume a release without a compiler

Every release carries a prebuilt Linux x86_64 SDK:

curl -fsSLO https://github.com/orhaugh/clink/releases/download/v0.6.0/clink-v0.6.0-linux-x86_64-ubuntu24.04.tar.gz
tar xzf clink-v0.6.0-linux-x86_64-ubuntu24.04.tar.gz
./clink-v0.6.0-linux-x86_64-ubuntu24.04/bin/clink run pipeline.sql

A relocatable prefix - the clink CLI and clink_node daemon, static libraries,
headers, and the CMake package, with the pinned Arrow bundled and $ORIGIN
rpaths - built at an Ubuntu 24.04 glibc floor. Point CMAKE_PREFIX_PATH at it and
find_package(clink) resolves. Scope is the dependency-free impl set (SQL,
file/Parquet, RocksDB state, HTTP, TLS, WebSocket, Avro, vector search); anything
needing an external client library or object-store SDK is a from-source build.