← Back to Pull requests

Issue #5524 : Document the lake table transforms on the Hop engine #8859

Closed
unknown closed this pull request without merging on Oct 13, 2026 10:59 UTC
View on GitHub
unknown unknown commented on Oct 11, 2026 08:27 UTC
Author

PR 4 of 4 for #5524. With #8802 and #8819 merged, Lake table input and Lake table output run on the Hop engine as well as on the native Spark engine. This PR updates the docs and names to match and adds a local engine integration test. No code changes.

Docs

  • Lake table input and Lake table output lose "Spark" from their names (display names and doc titles). The pages explain how the transforms work on each engine:

  • - on the Hop engine: Iceberg only, through Hop VFS; PATH and TABLE tables (hadoop and rest catalogs); deletes; type mapping; time zones; parallel copies;
    - for output: one commit per pipeline run, nothing committed when the pipeline fails, and the save modes;
    - concurrent writers on PATH tables: safe on a local file system with hard links. HDFS, object stores such as S3, and local file systems without hard links need one writer at a time, or a REST catalog.
  • Spark Catalog becomes Lakehouse catalog, since both engines use it. The metadata key stays spark-catalog, so existing catalogs keep working. The page lists what the Hop engine reads from a catalog definition, and says Spark-style keys are accepted, so one definition serves both engines.

  • Lake table merge and Lake table maintenance still run on Spark only and keep their names.
  • Integration test

    integration-tests/iceberg/main-0004-local-input-output.hwf runs the same scenario as the existing Spark round trip (0001), but on the local engine:

  • write a PATH table with Lake table output;

  • read it back with Lake table input;

  • check the rows with a unit test.
  • Testing

  • I built a client from this branch, which is the current main plus the docs, and ran ./integration-tests/scripts/run-tests.sh iceberg. All 4 pass: 0001-input-output, 0002-overwrite-timetravel and 0003-merge on Spark 4.1.3 (local[2]), and the new 0004-local-input-output on the local engine.

  • hop-tech-lakehouse: 91 tests pass. This PR changes no code; the message bundles only get the new display names.

  • apache-rat:check is clean.
  • I used an AI coding assistant while writing this change (noted in the commit with Generated-by); I reviewed and tested all of it.

    addresses #5524. This completes the planned four PRs for Iceberg on the Hop engine; Delta Lake reads on the Hop engine (#3941) can follow as a separate proposal.

  • I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
  • 🤖 Generated with Claude Code

    Diff: 321 lines (+240 / -81) across 4 files Reviewer: kotwal-itpro Review duration: 3031m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 321 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.345
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8859"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.9% (MEDIUM) · Higher = larger blast radius
    41.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.6% · Safe to merge
    16.6%
    Repository