You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Status of every DuckLake SQL-surface capability in the hoglake DuckDB
client. DONE = implemented and tested against the live dev stack;
PARTIAL = implemented with named limits; WIRE GAP = blocked on
the hoglake REST contract (see DESIGN.md server findings); N/A =
deliberately not carried over (the fleet-liability list); TODO =
client work not yet done. Last checked against openapi/hoglake.yaml
1.4.8-dev; re-sweep the WIRE GAP rows on each server release.
Attach / catalog
Capability
Status
Notes
ATTACH
DONE
ATTACH 'hoglake:<catalog>' (ENDPOINT ...); SET hoglake_default_endpoint fallback; CREATE_IF_NOT_EXISTS + DATA_PATH; auth via TOKEN or TOKEN_URL + CLIENT_ID + CLIENT_SECRET (+ AUDIENCE)
SNAPSHOT_VERSION / SNAPSHOT_TIME attach pins
DONE
forced read-only, as ducklake
Secrets (TYPE ducklake)
TODO
endpoint+token secret type; no secret type is registered (auth is ATTACH options only)
Multi-catalog attach
DONE
independent catalogs per ATTACH
DETACH / re-attach
DONE
Identifier case semantics
DONE
DuckDB CI identifiers over the case-sensitive server: listing-based resolution for tables and columns, case-preserving creates, CI duplicate conflicts on CREATE and on ALTER targets (add/rename column, rename table; self case-change legal), ambiguity errors for case-colliding server-side tables, columns, and namespaces with listings surviving. Fixture-created colliding TABLE and NAMESPACE pairs (hoglake_case.test) AND a colliding-COLUMN table (hoglake_wire_hardening.test: targeted error, order-independent, listings survive)
parquet via PhysicalCopyToFile (field ids, rotation), footer-shipping commit, OCC retry loop under one idempotency_key per commit (a lost ack replays the receipt), incarnation guard. Type coverage: every wire type round-trips write-then-read in hoglake_types.test (unicode, int64 > 2^53, boolean/date/time/timestamp/timestamptz/decimal/uuid/blob, NOT NULL on VARCHAR)
Partitioned INSERT
PARTIAL
identity transforms only; identity wire encodings for boolean/int/long/string/date/timestamp are byte-verified against pyhoglake's wire_string cross-client (verify_partition_wire.py, incl. fractional-second timestamps); float/double/decimal/uuid/binary identity partitions and bucket/year/month/day/hour transforms throw NotImplemented (transforms + murmur3 port is the follow-up)
DELETE
DONE
puffin DV merge + superseding registration; multi-statement transactions merge per data_file_id (one live DV per file per commit); same-transaction scans mask buffered deletes (hoglake_txn.test); duplicate-path registrations get per-copy position attribution via the rowid base (rowid predicates grow only the matching copy's DV) and inconsistent/out-of-range external metadata refuses typed (hoglake_wire_hardening.test); conflict = re-run (no blind retry)
UPDATE
DONE
delete + insert; updated rows get NEW row ids (wire gap: FileRegistration cannot register explicit-row-id files)
Wire/user-input hardening
DONE
no wire- or user-supplied value can reach an InternalException (= DuckDB instance invalidation): parse-time range validation for every numeric wire field, decimal params validated with the table named, typed errors for negative SNAPSHOT_VERSION / AT VERSION / batch / bucket counts, unrepresentable tables skipped from listings with remembered targeted errors (hoglake_wire_hardening.test)
DML after own INSERT/UPDATE
DONE (refused)
DELETE/UPDATE on a table this transaction already appended rows to is refused (uncommitted inserts are invisible to scans; a partial-overlap predicate would commit sequentially-wrong data with a plausible count — R3-6). DELETE-then-DELETE/UPDATE stay legal (hoglake_txn.test)
DDL vs buffered writes (both orders)
DONE
eager DDL on a table with uncommitted writes is refused, and the mirror order too: DELETE/UPDATE after an ALTER of the same table (or with buffered appends to an altered table) is refused before it can self-conflict at commit; ALTER-then-INSERT commits (blind); created/altered tables read at the post-DDL snapshot (hoglake_txn.test, DESIGN.md "Transactions and eager DDL")
MERGE INTO
TODO
lowers to the same primitives; not wired
INSERT ... RETURNING / ON CONFLICT
TODO
refused with clear errors
NOT NULL enforcement
DONE
client-side from written null counts
sort_on_insert
TODO
needs PhysicalOrder in the insert plan from the live sort spec
Read-your-own-writes in a transaction
TODO
uncommitted inserts invisible to own scans (ducklake has transaction-local files)
source chosen by the catalog's explicit_row_ids flag (both mismatch directions refused typed; hoglake_wire_hardening.test); positional path tested (stable across DVs) AND the explicit _hog_row_id (2147483646) branch tested DISCRIMINATINGLY: points_sorted is compacted under a sort order that permutes row order, so positional-fallback arithmetic yields different rowids than the physical column — hoglake_compacted_read.test asserts the explicit values (the plain points assertion alone could not catch a fallback regression: its merge is order-preserving and zero-based)
identity transforms, filter constant-folded per partition value; binary partition wire values base64-decoded (pyhoglake encoding; tested on a fixture-written binary partition); non-live-spec files never pruned
File-level min/max (zone-map) pruning
TODO
server serves bounds via /scan?include=column_stats&stats_fields=; the extension does not request them yet
Global column stats for the optimizer
WIRE GAP
no global stats endpoint
Encryption keys
N/A
Time travel / CDC
Capability
Status
Notes
AT (VERSION => n) / AT (TIMESTAMP => t)
DONE
per-lookup entries at the historical schema; genuinely-historical reads tested (fixture-exported snapshot ids: V1 shows 3 of head's 5 rows; a pre-ADD-COLUMN read shows the 1-column schema)
Attach-level pins
DONE
SNAPSHOT_VERSION and SNAPSHOT_TIME both tested, including the pin FORCING read-only without an explicit flag (INSERT refused; READ_WRITE+pin refused at attach) and explicit-UTC-offset timestamps parsed with instant semantics on both the AT() and SNAPSHOT_TIME paths; a SNAPSHOT_TIME pin resolves once per transaction and hoglake_current_snapshot returns its resolved ID
/changes covers append ranges + DV diffs (insertions + deletions); no update pre/post images on the wire; client function not yet written
ducklake_list_files
TODO
trivial over /files
Consumer offsets (no ducklake analogue)
TODO
wire exists; natural companion to a changes function
Maintenance / options
Capability
Status
Notes
merge_adjacent_files
DONE (server-side passthrough)
hoglake_compact(cat, batch) — POST /maintenance/compact; refused on read-only attaches. Real compaction exercised: the fixture force-compacts points via this endpoint and the suite reads the output (hoglake_compacted_read.test)
expire_snapshots
PARTIAL (server-side passthrough)
hoglake_expire(cat, batch); shape-tested only (no retention configured on the dev catalog, so nothing ever expires in tests)
hoglake_verify(cat) existed until hoglake #261 removed the server's verify subsystem (twelve unbounded full-table checks in one transaction). A paged, resumable scrubber will get a new passthrough