delta-harness: OpenHouse Iceberg behavioral test harness + guide - #682
Draft
mkuchenbecker wants to merge 2 commits into
Draft
delta-harness: OpenHouse Iceberg behavioral test harness + guide#682mkuchenbecker wants to merge 2 commits into
mkuchenbecker wants to merge 2 commits into
Conversation
Adds a self-contained Scala behavioral test harness that characterizes OpenHouse + Apache Iceberg table behavior end-to-end. The harness crosses a large matrix of table layouts (partitioning, MoR/CoW, ordered writes, nested types) with DDL, DML, maintenance, branching/WAP, streaming, and negative-path operations, asserting deltas against observed pre-state so each case holds under any layout. It runs locally against a real embedded OpenHouse catalog (harness/openhouse/Env.scala boots OpenHouseLocalServer + the OpenHouse Spark catalog; see run-openhouse.sh and HARNESS-GUIDE.md). The scenario and framework sources are also structured as a publishable Gradle library module (openhouse-spark-delta-harness_2.12) that excludes the embedded-only Env so downstream environments can supply their own adapter. Genuine product or upstream bugs are tagged in Plan.knownBugs with a prose explanation and skipped rather than silently passed, so the suite stays green while documenting the defect. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds TESTING-MATRIX.md, a living reference that explains the harness as a cross product of independent axes (operation family, data file format, partitioning, write mode, schema, preparation lineage, and reference routing). Documents how a case id reads, the CoreTable/NestedTypesTable/TypesTable schemas, the table layouts, the preparation lineages, and each operation family including the DDL sub-families. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
What
Adds
delta-harness, a self-contained Scala behavioral test harness that characterizes OpenHouse + Apache Iceberg table behavior end-to-end. It crosses a large matrix of table layouts (partitioning, MoR/CoW, ordered writes, nested types) with DDL, DML, maintenance, branching/WAP, streaming, and negative-path operations. Each case asserts deltas against the observed pre-state, so it holds under any layout.How it runs
harness/openhouse/Env.scalabootsOpenHouseLocalServerplus the OpenHouse Spark catalog. Seerun-openhouse.shandHARNESS-GUIDE.md.openhouse-spark-delta-harness_2.12) that excludes the embedded-onlyEnv, so a downstream environment can supply its own adapter and run the same matrix against a real cluster.TESTING-MATRIX.mddocuments the matrix as a cross product of axes (operation family, data file format, partitioning, write mode, schema, preparation lineage, and reference routing).Known bugs
Genuine product or upstream bugs are tagged in
Plan.knownBugswith a prose explanation and skipped rather than silently passed, so the suite stays green while documenting the defect.Status
Draft / work in progress. The library module compiles against
main. Full local-run verification (embedded server) and CI wiring are still in progress.Notes
Depends on
com.linkedin.iceberg:iceberg-spark-runtime-3.5_2.12(LinkedIn's published Iceberg fork), matching the rest of the OpenHouse Spark integration.Testing Done
main(:integrations:spark:openhouse-spark-delta-harness_2.12:compileScala)🤖 Generated with GitHub Copilot CLI