This is the Iceberg spike (#286) — deferred to its own session per CLAUDE.md. Let me get grounded on the relevant seams and constraints before proposing how to run it.
Assistant
I've got the full picture on #286. Here's where it stands:
What it is: A spike (not the full build) to decide DataQ's Apache Iceberg read path. It's on the v1.1 Week 2 milestone (due 2026-07-17), P3, and was deliberately deferred to its own session because it needs a pyiceberg dependency eval, a new ADR, and it brushes the unsettled two-connection model (ADR 0015 — which is still unwritten, status "when reconciliation build starts").
The concrete spike shape (from your 2026-07-05 comment) has 3 acceptance criteria:
Iceberg v2 table written to harness ADLS via PyIceberg (local, no new compute) → readable as a Snowflake iceberg table (external volume + object-store catalog) → DataQ suite runs green against it
The constraint that matters: this is a live-infra spike, and both the Snowflake trial and Azure subscription wind down ~2026-07-25 (per your wind-down memory; harness compute is currently stopped). So the Snowflake/Databricks legs have a hard clock. The good news: the PyIceberg→ADLS write leg is "local, no new compute" and ADLS storage persists even with harness compute stopped — so the dependency eval and read-path decision can start now regardless.
Before I dive in, one scoping decision — how far do you want to take this session:
Assistant
Excellent question — that's actually the crux of the whole spike, and it may collapse most of the scope. Let me verify against the actual runner code rather than assert it.
Assistant
Verified against the runner code — here's the precise answer to your question, because it actually reframes the whole spike.
Reading Iceberg through an engine = zero new DataQ code
Both existing runners talk SQL to the engine, never to the file format:
Snowflake (snowflake.py:214-218): add_table_asset(table_name=table, schema_name=schema) → GX pushes SQL down to the warehouse. Snowflake resolves the identifier; whether it's a native FDN table or an Iceberg table created via CATALOG_SOURCE=OBJECT_STORE is invisible to the connector, the DSN, GX, and DataQ. It's just a table name. Same for run_monitors (scalar SQL, :239-250) and the profiler.
Unity Catalog (unity_catalog.py:151): pd.read_sql_table(table, engine, schema=schema) against the SQL Warehouse. A Databricks Foreign Catalog / UniForm-Iceberg table is addressed as catalog.schema.table — identical call.
So if the user registers their Iceberg table in Snowflake or Databricks, they just point a suite target at it today. No IcebergConnectionAdapter, no IcebergCheckRunner, no new ADR. It reuses the existing Snowflake/UC connection wholesale.
What #286 is actually deciding
The only path that's different — and the only thing that justifies the new adapter+runner in the issue — is reading Iceberg natively via pyiceberg directly from object storage (ADLS/S3), with no query engine in the loop. That's the "format next to csv/parquet vs engine-level" fork in your AC #1. It'd look exactly like FlatFileCheckRunner: pyiceberg loads a snapshot → pandas DataFrame → gx_runner.run_expectations.
Engine-level (SF / UC)
Native pyiceberg
New DataQ code
none — works now
new adapter + runner + UI + ADR
Needs a query warehouse running
yes (SF/DBX compute cost)
no — reads files directly
Assistant
Right question again — let me read the flat-file runner so I answer precisely, because the difference is the whole reason Iceberg needs its own runner rather than reusing the parquet path.
Assistant
Yes — meaningfully different, and this is the part that determines whether native Iceberg is a real build or a trivial extension. It is not trivial.
Flat-file today reads one parquet file
flatfile.py:118: pd.read_parquet(raw) on a single downloaded blob. The batch-resolution machinery (:202-242) even exists precisely to pick one file path (orders_2026-06-01.parquet) out of a prefix. The whole model is "one object → one DataFrame."
An Iceberg table is a table, not a file
It's a directory tree: a metadata pointer (metadata.json) → manifest list → manifest files → many parquet data files across snapshots and partitions. You cannot read_parquet it. If you naively globbed and concatenated every .parquet under the prefix, you'd get wrong answers on all four of these:
Iceberg mechanic
What breaks if you treat it as flat parquet
Snapshots
Old/expired snapshots' data files still sit in storage → you'd double-count stale rows. Only the current snapshot's manifest lists the live files.
Delete files (v2)
v2 positional/equality delete files logically remove rows. Raw parquet ignores them → you validate rows that no longer exist in the table.
Schema evolution
Iceberg reconciles schema by field-ID (add/drop/rename/reorder). Different data files carry different physical schemas; raw reads give you per-file schema, not the table's current logical schema.
Hidden partitioning
Data is spread across partition layouts the metadata tracks; assembling it correctly needs the manifest.
pyiceberg does exactly this assembly: catalog.load_table(...).scan().to_pandas() reads the metadata, resolves the current snapshot, applies deletes, reconciles schema-by-ID, and hands you the correct DataFrame.
So where it lands
Output shape — identical to FlatFileCheckRunner: DataFrame → gx_runner.run_expectations. The runner body is thin, just like UC.
User
Leave the Snowflake/UC part.
Currently for parquet files we are adding ADLS/S3 as connection, how will it change if we add iceberg capability? and how the csv, parquet, and other flat file retrival will look like? will all the parquet be routed to iceberg engine?
Assistant
Good — this is the connection-model question, which is the other half of the ADR. Let me ground it in how connections and runner dispatch actually work today.
Assistant
Grounded in the dispatch code now. Here's exactly how it changes — and the key answer up front: no, parquet does not get rerouted to Iceberg. Routing is by connection.type, decided when the connection is created, not by file extension.
How runner selection works today
registry.py:135-144 dispatches purely on conn_type:
Within flat-file, csv-vs-parquet is chosen by the path extension (format_from_path): .csv→read_csv, .parquet/.pq→read_parquet, anything else → ValueError. One object in, one DataFrame out.
Adding Iceberg = a new connection type, parallel to the others
Iceberg becomes its own registry entry — exactly how unity_catalog is a distinct type even though it also sits on cloud storage underneath. Nothing about adls_gen2/s3 changes:
csv / parquet retrieval: identical to today. An adls_gen2 or s3 connection with a target path orders_2026-06-01.parquet still goes single-object → read_parquet. No change, no rerouting.
A plain .parquet object is never treated as Iceberg. The two are addressed differently: a flat-file target is an ; an Iceberg target is a (, or a metadata location). The user picks which at connection-creation time by choosing the type. There's no extension-sniffing collision — a file and an Iceberg table's internal parquet data files are never pointed at the same way. (You'd never hand an Iceberg check ; you hand it the table.)
User
Yes write an ADR, mention why we choose iceberg v2, why we are not checking Snoflake Iceberg tables or Databricks foreign catalog. And for Iceberg connection lets go with option A. [example scenario - there might be a situation where user added an ADLS path which has both flat file and iceberg tables, but later user choose to delete the flat file connection and only going to be use the ADLS for iceberg table going forward. In that case, it would be a cleaner approach and we also have a cascade delete on the foreign key. So that scenario might be also in play].
One question will pyiceberg be able to read delta-uniform?
Assistant
Let me answer the Delta-UniForm question, and read the ADR conventions so the new one matches the repo.
Assistant
I have the ADR conventions. Let me verify the Delta-UniForm specifics against current docs before baking them into a durable ADR.
Assistant
Confirmed against Databricks docs — I'll answer the UniForm question, then write the ADR.
Delta UniForm + pyiceberg — yes, read-only, via the Iceberg REST catalog. When you enable "Iceberg reads" (UniForm) on a Delta table, Databricks asynchronously generates Iceberg metadata over the same parquet data files (no data rewrite). An Iceberg client reads it through Unity Catalog's Iceberg REST Catalog (IRC), which the docs list as giving "read-only access to Delta Lake tables with Apache Iceberg reads enabled (UniForm)." Since pyiceberg ships a RestCatalog, pyiceberg can read Delta UniForm tables — which is a nice bonus: the same native path reaches Delta tables, not just Iceberg-native ones, without a Databricks warehouse running. Three caveats worth recording:
Async metadata lag — the Iceberg snapshot trails the latest Delta commit (converted_delta_version/converted_delta_timestamp track how far); you may read a slightly stale snapshot.
No deletion vectors — UniForm and Delta deletion vectors are mutually exclusive, so this stays inside clean v2 territory.
Now the ADR:
Assistant
Now the index entry:
Assistant
Done. Here's what landed:
docs/adr/0030-iceberg-native-read-path.md — new ADR, plus the index row in docs/adr/README.md. It records everything you asked for:
Why v2, not v3 — v2 is GA and read everywhere (Snowflake GA, Spark/Databricks, pyiceberg mature, Delta UniForm emits v2); v3's deletion-vectors/row-lineage are new and unevenly supported, so v3 goes behind a capability gate later.
Why we're not testing Snowflake iceberg tables / Databricks foreign catalog — the SQL runners are format-transparent by construction (proven from add_table_asset/read_sql_table pushing SQL down, not by experiment); standing up an external volume / foreign catalog would only re-confirm what the code guarantees, at real live-infra cost during the wind-down. Engine-level read is documented as the free, zero-code, supported-today path.
Native pyiceberg is the only real new build — thin IcebergCheckRunner (scan → DataFrame → gx_runner), and why an Iceberg table can't reuse the flat-file parquet read (snapshots / v2 deletes / schema-by-ID).
Option A (self-contained iceberg connection) — with your independent-lifecycle scenario written into the rationale: register an ADLS path for flat files + Iceberg, later delete the flat-file connection and keep the storage for Iceberg only → clean because the iceberg connection owns its own credential and the cascade-delete (ADR 0020) only touches the flat-file connection's own suites/checks. Option B (two-connection ref) recorded as the ADR-0015 evolution.
Delta UniForm — captured as a bonus of the native path (reads Delta tables read-only via the UC Iceberg REST catalog), with the three caveats: v2-only, no deletion vectors, async metadata lag.
The ADR is marked Accepted (spike; native impl deferred) — it settles the decision but doesn't build the runner.
Still open on #286's ACs (not done this turn, per your "just the ADR" scope):
AC "a check runs green against an Iceberg table in the chosen shape" → the low-cost local proof: pyiceberg dep/CVE eval + write a v2 table to ADLS + scan().to_pandas() round-trip through gx_runner. Backs the ADR's "native path is viable" claim with evidence.
File the follow-up implementation issue(s) for the native runner + connection form, and post the spike-findings comment to #286.
Want me to do the local pyiceberg proof next, or post the findings + file follow-ups and close the spike out? (And say the word if you'd like me to commit the ADR — I've left it unstaged.)
User
do the local pyiceberg proof next + file follow-ups and close the spike out.
Assistant
Let me skip formal todos and just work through it. First, check the GX pin and available env for the proof.
Assistant
GX 1.17.2 + pyarrow 24 in the dataq env. I'll build an isolated venv for the proof so I don't touch the project env. First, check what gx_runner pulls in, so I can import it standalone in the proof:
Assistant
gx_runner only needs GX + base (pydantic). Let me see run_expectations's signature so the proof calls it exactly as the runners do:
Assistant
Noted the Deciders edit. Now the proof. Writing the script:
Assistant
The import warnings are expected (pyiceberg isn't installed yet). Now build the isolated venv and run the proof:
Assistant
pyiceberg 0.11.1 resolved cleanly alongside the repo's pinned pyarrow 24.0.0 and GX 1.17.2 — no version conflict (a key dependency-eval finding). Now run the proof:
Assistant
order_id was declared required in Iceberg but pyarrow inferred it nullable — pyiceberg's schema check rejects the mismatch. I'll pin an explicit non-nullable pyarrow schema for the appends:
Assistant
The formatter reflowed the file. Let me read the affected region:
Assistant
Proof is green. It demonstrates exactly the three things a naive parquet read would get wrong: only the current snapshot (no double-count), the delete applied (order_id=2 gone → [1,3,4,5]), and schema-by-ID reconciliation (added channel column reads null for pre-evolution rows) — then a green DataQ suite through the real gx_runner.
Now file the follow-ups and post findings. Let me check the milestone/label conventions:
Assistant
Milestone 4 (v1.1 Backlog) is the home for deferred follow-ups. Filing the native-build issue and a v3-revisit tracker:
Assistant
Now post the spike findings to #286 and close it:
Assistant
Spike closed. Now update the progress tracker to reflect the closed spike + new ADR + follow-ups:
Assistant
The hook flags snapshot-count consistency. Let me get the real open-issue count and update the header note + count:
Assistant
Now the W2 section header and the in-week follow-up note (lines 150/152):
Assistant
Let me check whether the cycle epic #597 tracks #286 in a checklist:
Assistant
Everything's done. Here's the close-out summary.
#286 Iceberg spike — DONE, closed
Local pyiceberg proof — green (isolated scratchpad venv, no cloud, no query engine, project env untouched):
Real format-version 2 Iceberg table via a local SQL catalog + filesystem warehouse.
Deliberately exercised the three things a naive parquet-glob gets wrong — pyiceberg handled all three: two appends → current snapshot only (no double-count); DELETE order_id=2 → scan omits it ([1,3,4,5]); schema evolution (add channel) → reconciled by field-ID, null for pre-evolution rows.
The resulting frame ran through the real repo codegx_runner.run_expectations (same shape as FlatFileCheckRunner/UnityCatalogCheckRunner) → 3/3 checks green.
Dependency finding:pyiceberg==0.11.1 resolves cleanly with the repo's pinned pyarrow==24.0.0 + great-expectations==1.17.2 — no conflict.
This is a docs-only change set (no code touched), sitting unstaged on main. Per the working agreements I haven't committed — want me to branch (docs/adr-0030-iceberg-spike) and commit the ADR + progress + README together, or leave it for you to review first?
User
when we are using catalog.load_table(...).scan().to_pandas() we are using pyarrow as engine, right?
Assistant
Yes — for .to_pandas(), PyArrow is the read/compute engine. Worth being precise about the layering, because it also confirms the ADR's "no query engine" claim isn't contradicted:
What each layer does in load_table().scan().to_pandas()
Step
Who does it
load_table()
Catalog resolves the current metadata.json → table metadata
.scan()
pyiceberg planning — evaluates the snapshot's manifests to pick which data files + delete files to read, prunes by partition/row filter. Pure Python + the Rust pyiceberg-core for manifest/delete evaluation. No data read yet.
.to_arrow()
PyArrow reads the selected parquet data files (pyarrow.dataset), applies residual filters, applies positional/equality deletes, projects to the current schema → an Arrow table
.to_pandas()
= to_arrow().to_pandas() — Arrow→pandas is just a zero-ish-copy container conversion; pandas is not the engine
So the actual columnar work — reading parquet, applying deletes, schema projection — is PyArrow. That's exactly why the proof installed pyiceberg[pyarrow] and why pyarrow-24 compatibility mattered.
Important: PyArrow ≠ a "query engine" in the ADR's sense
The ADR's "no query engine in the loop" means no remote warehouse service (Snowflake / Databricks SQL Warehouse) resolving the table and running SQL. PyArrow is an in-process library running inside the DataQ worker, reading files directly from object storage — the same class of thing as pandas.read_parquet (which itself uses pyarrow under the hood). So the claim holds: the native path has no external engine; it just uses PyArrow locally as the read backend. Consistent with FlatFileCheckRunner, which also leans on pyarrow.
Two consequences worth noting
Pluggable backend. PyArrow is the default materializer, but pyiceberg also offers .to_polars(), .to_daft(), and .to_arrow_batch_reader(). If we ever need out-of-core reads, that's the swap point — behind the same IcebergCheckRunner seam.
Memory ceiling..to_pandas() materializes the whole table in memory (PyArrow → pandas), exactly like the flat-file/UC DataFrame paths — the same scale ceiling the ADR flagged under G-b (scale-aware execution). The batch-reader is the escape hatch when that build comes.
So: PyArrow yes, as the local read engine — not a remote query engine, and not the same thing as the Snowflake/Databricks path.
User
okay in #716 keep an option b/w .to_arrow_batch_reader() and .to_arrow() and mention not directly use scan().to_pandas [or is it nor correct approach?]
Also move #716 to week 3.
Assistant
Good refinement — and yes, it's the correct approach. Quick judgment before I make the edits:
Is avoiding bare scan().to_pandas() correct? Yes, for two concrete reasons:
dtype fidelity..to_pandas() is a convenience shortcut for .to_arrow().to_pandas() with default (numpy) dtypes — which silently loses Arrow nullability/types. FlatFileCheckRunner deliberately reads parquet with dtype_backend="pyarrow" (flatfile.py:118), so going through .to_arrow() explicitly and mapping to Arrow-backed pandas dtypes keeps Iceberg's GX behavior consistent with the flat-file runner (integer nullability, null handling).
It's the materialization seam..to_arrow() (full) vs .to_arrow_batch_reader() (streamed) is exactly where you choose whole-table vs out-of-core.
One caveat to bake in: GX's expectation path needs the whole frame in memory (row-count/uniqueness are exact — can't stream), so for expectation checks the batch reader still ends up materializing everything; its real payoff is the monitor path (freshness/volume = scalar aggregates, streamable) and sampled profiling. I'll write it that way.
Let me update #716 and move it to Week 3:
Assistant
#716 updated and now on v1.1 Week 3. I left #717 (v3 revisit) in Backlog since it's a "when the ecosystem converges" tracker, not week-scheduled — say the word if you want it moved too.
One coherence fix: the ADR's Decision still illustrates the shape as scan().to_pandas(), which now contradicts #716's "never the bare .to_pandas()" guidance. Let me align the ADR so the two docs don't drift:
Assistant
Done. Summary of this round:
#716 — added a Read-materialization note and updated the runner checklist item. It now specifies:
.to_arrow() → Arrow-backed pandas (matching FlatFileCheckRunner's dtype_backend="pyarrow") for the expectation-check path — GX needs the full frame, so it materializes the whole table.
.to_arrow_batch_reader() for the streamable monitor/aggregate path (freshness/volume scalars) and sampled profiling — the memory escape hatch for G-b.
Never the bare scan().to_pandas() convenience call (drops Arrow dtypes, hides the materialization seam).
Moved to v1.1 Week 3.
ADR 0030 — aligned the Decision bullet and the memory-ceiling consequence with that same guidance, so the ADR and #716 don't drift.
#717 (v3 revisit) — left in Backlog as a convergence tracker (not moved).
Your call on whether it's actually incorrect to use .to_pandas(): it's not wrong, it just works — but it's the inferior default (numpy dtypes, no batch seam), so treating it as "don't use directly" is the right engineering call, exactly as you framed it.
Docs still unstaged (ADR 0030 + README index + progress.md). Want me to branch and commit the doc set now, or leave it for review?
User
branch, commit and merge the doc set
Assistant
Clean three-file doc set. Branching, committing, and pushing:
Assistant
Pushed clean. Now open the PR (with milestone per repo convention) and squash-merge:
Assistant
PR #718 created. Enabling squash auto-merge (main requires CI green) and deleting the branch on merge:
Assistant
Auto-merge is enabled; CI is running (Bandit + GitGuardian already green, the rest pending). It'll squash-merge automatically once the required checks pass. The hook's "PR merged" note is premature — it fired on the merge command, but --auto queues the merge behind CI rather than merging immediately. Let me confirm the queue state:
Assistant
Auto-merge (SQUASH) is correctly queued — BLOCKED just means it's waiting on the required checks, which is expected for a fresh PR. It'll merge itself on green. Let me watch it to completion rather than leave it hanging:
Assistant
I've queued a background watcher on the PR. Here's where things stand:
Done:
Branch docs/adr-0030-iceberg-spike created, doc set committed (ADR 0030 + README index + progress.md), pushed.
Squash auto-merge enabled with branch auto-delete — it will merge the moment required CI goes green (Bandit + GitGuardian already passed; backend/frontend lint+tests, E2E, CodeQL, secret-scan, dep-audits still running).
The background watcher polls until it merges (or flags any failed check), and I'll report back when it lands. No action needed from you — it's a docs-only change, so I expect a clean green merge. If any check fails I'll surface it and fix rather than leave it stuck.
Assistant
Merged cleanly — no failed checks. Let me sync local main and confirm the branch is gone:
Assistant
✅ Merged and cleaned up. Squash-commit 2483ec17 is on main, local synced, feature branch deleted (both remote via --delete-branch and local).
#286 Iceberg spike — fully closed out
Item
State
ADR 0030
On main — decision recorded (engine-level free/zero-code · native pyiceberg v2 the only new build · self-contained iceberg connection Option A · v2 baseline / v3 deferred · reads Delta UniForm)
Native pyiceberg proof
Green end-to-end — snapshot/delete/schema-evolution correctly resolved → 3/3 GX checks via real gx_runner; pyiceberg 0.11.1 ✓ pyarrow 24 / GX 1.17.2
#286
Closed (findings comment posted)
#716
Filed — native runner + iceberg connection, with the .to_arrow() / .to_arrow_batch_reader() materialization guidance → v1.1 Week 3
#717
Filed — Iceberg v3 revisit → Backlog
Epic #597
Checklist ticked for #286
PR #718
Squash-merged, CI all green, branch deleted
The only remaining Iceberg work is now the deferred build in #716 (Week 3) and the v3 tracker in #717 — nothing outstanding from this session.
User
can we close out week 2 now?
Check if everything is closed (all tracking doc items / open PR / open Issue / milestone items, etc.)
Assistant
Let me audit the full Week 2 close-out state — milestone, open PRs, open issues, and the tracking docs.
Assistant
W2 milestone: 0 open, 95 closed; zero open PRs repo-wide. Let me verify the exit-gate issues are all closed, check the epic checklist, and the doc sections:
Assistant
All 12 exit-gate issues CLOSED, milestone still open. Let me inspect the epic's W2 checklist structure and the progress.md/CLAUDE.md W2 sections:
Assistant
Everything checks out: W2 milestone 0 open/95 closed, no open PRs, all 12 exit-gate issues closed, epic #597 W2 checklist all ticked. Let me confirm the 4 in-week follow-ups closed, then close the milestone and advance the docs:
Assistant
Everything's closed — all 12 exit-gate issues, all 5 in-week follow-ups (incl. #286), all 95 milestone items, zero open PRs. W2 is genuinely complete. Closing the milestone and advancing the docs:
Assistant
Milestone closed. Now update the progress.md W2 header to mark it complete:
Assistant
The epic checklist is already fully ticked. Let me reconcile the snapshot counts and advance CLAUDE.md §13. First check current counts and the snapshot table:
Assistant
Counts are consistent (54 issues / 0 PRs already match). Let me update the snapshot lead to reflect the milestone closure:
Assistant
Now advance CLAUDE.md §13 — the headline milestone moves from W2 to W3, and the #286-deferred note updates:
Assistant
All close-out actions verified. Let me commit the doc updates (same branch→PR→merge flow):
Assistant
Close-out PR #719 queued to squash-merge on green (docs already updated in the PR itself). Watching it to completion:
Assistant
Week 2 close-out — audit complete ✅
I verified every close-out surface and everything is clean:
Actions taken: closed the W2 milestone, updated both tracking docs, and opened the close-out PR #719 (queued to squash-merge on green — a background watcher will confirm it lands).
Nothing outstanding for W2. The only Iceberg work remaining is downstream by design — #716 (native build) now sits on W3, #717 (v3 revisit) in Backlog.
Next up: v1.1 Week 3 — Azure wind-down + local-first posture (due 2026-07-25, 10 open issues). Heads-up per your wind-down memory: W3 is the deliberate Azure teardown (#590) + local-first posture (#591), and it's now the milestone that carries the pulled-forward #716 Iceberg native build. I'll report back when #719 merges.
Assistant
✅ Week 2 is officially closed out. PR #719 merged clean (commit 2872c53d), CI green, local synced, branch deleted.
Exit gate MET 14/14 · milestone 0 open / 95 closed
All exit-gate issues + all 5 in-week follow-ups closed
Zero open PRs, zero open issues on the milestone
Epic #597 W2 checklist fully ticked
Both tracking docs (progress.md + CLAUDE.md §13) advanced to reflect W2 closed / W3 current
Nothing is left hanging from this session. The two merges that landed:
2483ec17 — ADR 0030 (Iceberg spike outcome)
2872c53d — W2 milestone close-out
Now current: v1.1 Week 3 — Azure wind-down + local-first posture (due 2026-07-25, 10 open issues), which carries the pulled-forward #716 Iceberg native build. Ready whenever you want to start it.
User
Hey, #720 mentioned - Closes #197, #199, #204, #229, #236, #326, but except #197 others are still open, can you check
Assistant
That's the classic GitHub gotcha: the Closes keyword only applies to the first issue in a comma list — Closes #197, #199, #204 auto-closes only #197; the rest need their own keyword (closes #199, closes #204, …). So they were left open. Let me verify #720 actually addressed them before closing:
Assistant
PR #720 is merged and titled to cover all six. Let me quickly confirm the diff actually implemented each helper before I close them — I don't want to close issues that weren't really addressed:
Assistant
All six were genuinely implemented by #720 — the helpers exist on main (useAsyncAction.ts, useConfirmDelete.ts + utils/errors.ts, AsyncBody.tsx, connectionOptionLabel in api/connections.ts, and the RunNowPanel.tsx guard removal). They just didn't auto-close due to the keyword gotcha. Closing the five stragglers with a pointer to the merge:
Assistant
All five closed. Quick check on which milestone they sat on, so the tracking stays honest:
Assistant
All five were real W3 Theme-10 items (correctly implemented by #720) — now closed. Two things worth noting:
Root cause confirmed: #720's body used Closes #197, #199, #204, #229, #236, #326. GitHub only honors the keyword on the first number, so only #197 auto-closed. The fix for next time is Closes #197, closes #199, closes #204, … (repeat the keyword) — I'll keep that in mind on future multi-close PRs.
Tracker drift: progress.md's snapshot says 52 open but ground truth is now 47 — the narrative already claims #720 closed all six (now finally true), so only the number is stale.
Let me reconcile that one number in the tracker:
Assistant
Count fixed. Let me check the cycle epic #597 for these items and tick any that are listed, then commit the doc fix:
Assistant
The epic has a bundled checklist row for exactly these — all now closed (six via #720, #237 obsolete). Ticking it:
Assistant
Epic ticked. Now branch, commit, and merge the one-line tracker fix:
Assistant
Done — the fix is queued to squash-merge on green (background watcher b8ic5klym will confirm). This PR is the progress.md reconciliation, so no further doc update is needed.
Summary
Your catch was right, and it was the classic Closes #a, #b, #c keyword gotcha — GitHub only auto-closed #197 (the first item); #199, #204, #229, #236, #326 stayed open despite #720 actually implementing all of them.
Resolved:
Verified all five were genuinely delivered by #720 (helpers present on main: useAsyncAction, useConfirmDelete + utils/errors, AsyncBody, connectionOptionLabel, RunNowPanel guard removal) — not closing anything that wasn't done.
Closed all five with a comment pointing at the #720 merge and explaining the non-auto-close.
For next time: on multi-issue PRs, repeat the keyword — Closes #197, closes #199, closes #204, … — or one per line. Bare comma lists silently leave all-but-the-first open.
I'll report back when #723 lands.
Assistant
✅ Merged (commit 45c5e6a8), CI green, main synced, branch cleaned.
Final state — all consistent:
Open issues: 47 (matches the reconciled progress.md snapshot)
Open PRs: 0
#199, #204, #229, #236, #326 → all CLOSED (were the #720 stragglers)
Epic #597 frontend-cleanup batch row → ticked
The #720 keyword-gotcha is fully cleaned up and the tracker is back in sync with GitHub. Nothing left open from this thread.
Snapshot metadata (freshness / schema-drift from history)
only what the engine exposes as SQL
direct — the differentiator
Two-connection model (catalog cred + storage cred)
N/A (engine holds both)
this is where ADR 0015 bites
Bottom line: the engine-level read is free and already done — so the spike's entire value is deciding whether the native pyiceberg path is worth building. The differentiators are: no warehouse compute needed, and direct access to snapshot/schema history (the natural feed for the reserved freshness/schema_drift monitor kinds).
That also means the live Snowflake external-volume leg is really just proving the engine path costs us nothing (a confidence check), while the pyiceberg→ADLS write leg is the one that informs the real build decision.
Given that — how do you want to proceed?
Read seam — genuinely new: pyiceberg catalog + snapshot scan, not a blob download. And it needs two things the flat-file connection doesn't have: a catalog pointer (where the metadata lives — a static ADLS metadata path, or a REST/Glue/Hive/Unity catalog) and, separately, storage credentials to fetch the data files. That is the "two-connection model" (ADR 0015) biting — catalog credential ≠ storage credential.
Net of your three questions
The picture is now conclusive enough to decide the spike:
Engine-level (Snowflake iceberg table / Databricks foreign catalog) — zero new code, works today, but costs warehouse compute and only exposes what the engine surfaces as SQL.
Native pyiceberg — a real new build: new IcebergConnectionAdapter (catalog + storage dual-credential), new IcebergCheckRunner (pyiceberg scan → DataFrame → GX), UI, and an ADR. Its payoff is no-warehouse reads + direct snapshot/schema history (the natural feed for the reserved freshness/schema_drift monitor kinds).
My recommendation: this session, write the ADR that records exactly the above (engine-level is free and available now; native pyiceberg is the only new build, deferred behind ADR 0015 + the freshness/schema-drift kinds), and optionally do the low-cost local pyiceberg viability proof (dep/CVE eval + write a v2 table to ADLS + scan().to_pandas() round-trip) so the ADR's "native path is viable" claim is evidence-backed rather than asserted. The live Snowflake external-volume leg adds little decision value — it only confirms what the code already guarantees.
Want me to proceed that way — ADR + the local pyiceberg proof — or would you rather I also run the live engine-level confirm while the Snowflake window is open?
object path
table
namespace.table
.parquet
.../data/00000-abc.parquet
Iceberg's own read goes through pyiceberg (catalog → current snapshot → apply deletes → schema-by-ID → DataFrame), as we established — then the same gx_runner as everyone else.
The one genuinely new wrinkle: the storage credential
This is where the ADR earns its keep. Every existing connection holds onesecret_ref. An Iceberg connection needs two things: a catalog pointer (where the metadata lives) and storage credentials (to fetch the data files) — and that storage may be the same ADLS container the user already registered as an adls_gen2 connection. Two ways to model it:
A. Self-contained iceberg connection
B. Two-connection reference
Shape
Config carries catalog config + its own storage credential
iceberg connection carries catalog config + a reference to an existing adls_gen2/s3 connection for storage
Fits current code?
Yes — one config + one secret_ref, drops straight into build_check_runner with zero new plumbing
No — the model has no connection→connection FK; runner builders take a single config/secret. New machinery.
Cost
Duplicates the storage credential if they already have that ADLS/S3 connection
Cleaner credential reuse; but this is the pending "two-connection model" ADR 0015 is gated on
Option A ships inside the existing seam. Option B is the cleaner end-state but introduces a "connection that references another connection" concept the codebase doesn't have yet — which is precisely why the issue links it to ADR 0015.
So the connection-model answer: adding Iceberg doesn't touch the ADLS/S3 connection or the csv/parquet path at all — it adds a siblingiceberg type. The only real design decision is whether that new type carries its own storage credential (A, ship-now) or references an existing storage connection (B, needs ADR 0015). My recommendation for the ADR: new iceberg type, Option A for the first cut (self-contained, works within the seam), and record Option B as the two-connection evolution once ADR 0015 is settled.
Want me to write the ADR capturing all of this (engine-level free today · native pyiceberg is the only new build · new iceberg type, Option A first / Option B under ADR 0015 · v2 baseline, v3 deferred), and optionally do the local pyiceberg write→scan proof to back the "viable" claim?