Skip to content

Equivalence harness: DB2 SQL support #4507

Closed

Description

@squid-protocol

tests/tools/equivalence_db2.py already runs DB2 cases, but no table rows are generated (PR #4492's limits list). Generate rows from DDL/DCLGEN (column types, NOT NULL, keys, foreign keys), including NULLs, boundary values and missing or duplicate keys. Compare result sets, SQLCODEs and table state after the run.

Done when (each language): (1) the original runs in the harness (or its outputs are captured on z/OS via #4050); (2) inputs are generated from the language's declared data structures, like #3804 does for COBOL; (3) outputs are compared field by field and reported through #4493; (4) one real case proves, with coverage measured and a mutation run on the replacement. If (1) is impossible locally, say so and depend on #4050 instead of faking a runner.

Remaining slices (as of 2026-10-18)

Done so far: 3 merged PRs (#4577, #5305, #5393).

Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.

Activity

  1. added
    enhancement
    testing
    legacy-modernization
    on Oct 5, 2026
  2. added
    scope:core
    era:2
    on Oct 16, 2026
  3. added
    needs:db2
    on Oct 18, 2026
  4. 48 remaining items

  5. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    #6031 merged: a partial slice of [c:2b495ce4] "GenApp lg* (LGACDB01, LGAPDB01, ...) on generated multi-table rows with FKs. (1-2 PRs)"; left: LGIPOL01 (hand seed.sql), LGACUS01, LGUCUS01, LGICUS01 front ends still on DDL / hand-written rows (promoter-bot)

  6. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    #6039 merged: a partial slice of [c:2b495ce4] "GenApp lg* (LGACDB01, LGAPDB01, ...) on generated multi-table rows with FKs. (1-2 PRs)"; left: LGACUS01 and LGUCUS01 customer front ends (with their VSAM data) on generated CUSTOMER rows (promoter-bot)

  7. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 4507-20261022T1937Z (host melek) ended without a PR. plan approved (shared regenerated table only); resumed as 4507-20261022T1940Z

  8. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    #6082 merged: a partial slice of [c:e095a6ab] "Triage cbsa-updacc-generated survivors (97 of 133 caught) and COBTUPDT's 4 uncovered branches (line 84 never false; EVALUATE no-match at 151, 177, 207). (1 PR)"; left: UPDACC case-gap re-run and the -904 fault need a det-translated UPDACC (promoter-bot)

  9. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 4507-20261022T2357Z (host melek) ended without a PR. plan approved; overlap is shared doc only

  10. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    All slices in the checklist have merged (last: #6101, UPDACC fault case). Acceptance met: burned Db2 cases run on generated rows with SQLCODEs and table state compared, coverage measured, mutation run done (#6058, #6101). Remaining SQL fault arms for cbsa-inqacc-generated / cbsa-updcust and the cbsa-updacc hand-case harness gaps are sibling gaps noted in #6101's class table.

  11. added 2 commits that reference this issue on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:melekenhancementera:2legacy-modernizationneeds:db2needs:dockerscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions