Skip to content

Back-port FOCUS 1.4 columns from older export versions during ingestion #2217

Description

@flanakin

Context

Follow-up from PR #2126 (FOCUS 1.4 ingestion). The FOCUS 1.4 schema introduces several columns that older FOCUS export versions do not carry. In IngestionSetup_v1_4.kql, Costs_transform_v1_4() currently leaves these null/empty when ingesting older exports, because no source-data mapping exists yet. FOCUS 1.4 requires these to be populated where derivable.

Gaps to back-port

Tracked from PR #2126 review threads:

  • CommitmentProgramEligibilityDetails (thread 3309107501) — likely needs the CommitmentDiscountEligibility open dataset to generate.
  • ContractCommitment* per-row columns (thread 3309131626) — flatten from contract-commitment source where available.
  • InvoiceDetailId (thread 3309133481) — derive/link from invoice source.

Scope

Research the source-data mappings and implement the back-fill in the _v1_4() transforms (and equivalent hub functions). Until then, these columns remain null when ingesting pre-1.4 exports — a known gap.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Triage 🔍Untriaged issue needs to be reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions