R0.3 · Running on SQL Server #45

Open
opened 2026-11-02 21:18:08 -06:00 by edgar · 1 comment
Member

Goal: Each change to the project is tested on the production engine.

Description: dbt build against the SQL Server test container (docs/testing.md). Done when: the trivial model and the R0.2 macros run on SQL Server.

Context: DA-08; docs/testing.md
Depends on: R0.2 (#44), DEC-2 (#106)
Approval: infrastructure (rule 7)
Part of: R0 (#42)

Source: plans/dbt-and-models/tasks.md, entry R0.3.

**Goal:** Each change to the project is tested on the production engine. **Description:** `dbt build` against the SQL Server test container (`docs/testing.md`). Done when: the trivial model and the R0.2 macros run on SQL Server. **Context:** DA-08; `docs/testing.md` **Depends on:** R0.2 (#44), DEC-2 (#106) **Approval:** infrastructure (rule 7) **Part of:** R0 (#42) Source: `plans/dbt-and-models/tasks.md`, entry R0.3.
edgar added this to the R0 milestone 2026-11-02 21:18:08 -06:00
edgar added a new dependency 2026-11-02 21:18:41 -06:00
edgar added a new dependency 2026-11-02 21:18:41 -06:00
edgar added a new dependency 2026-11-02 21:18:41 -06:00
Author
Member

Done on branch refactor/kit-exit (ISSSTELEON, WebApi, models, WebApp, indicadores_kit): dbt build runs on SQL Server 2016 SP3 Express (13.0.6300.2, Windows Server 2019 VM, Modern_Spanish_CI_AS, level 130): CaCu 7/7, CaMa 5/5, and every measure answers the same as on SQLite (14/14). Three compatibility fixes in ISSSTELEON@f7faabf and WebApi@c430a5b: dbt's sources in the target's schema, one type per CASE branch of the timeline value, and stratum values added to cat_estrato_valor (SQLite didn't enforce that foreign key). The VM and the checks are scripted in WorkingNarrative's e2e/sqlserver2016/; audit in plans/kit-exit/sqlserver-2016-audit.md.

Done on branch `refactor/kit-exit` (ISSSTELEON, WebApi, models, WebApp, indicadores_kit): `dbt build` runs on SQL Server 2016 SP3 Express (13.0.6300.2, Windows Server 2019 VM, `Modern_Spanish_CI_AS`, level 130): CaCu 7/7, CaMa 5/5, and every measure answers the same as on SQLite (14/14). Three compatibility fixes in [`ISSSTELEON@f7faabf`](http://10.0.10.41:3000/ISSSTELEON/ISSSTELEON/commit/f7faabf699374d133aa1dd5117422014b41cbddd) and [`WebApi@c430a5b`](http://10.0.10.41:3000/ISSSTELEON/WebApi/commit/c430a5bd1110f0fb40db358c6b5878dfce8cdbc8): dbt's sources in the target's schema, one type per `CASE` branch of the timeline value, and stratum values added to `cat_estrato_valor` (SQLite didn't enforce that foreign key). The VM and the checks are scripted in WorkingNarrative's `e2e/sqlserver2016/`; audit in `plans/kit-exit/sqlserver-2016-audit.md`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
#42 R0 · dbt project in the tree
ISSSTELEON/WorkingNarrative
Depends on
Reference: ISSSTELEON/WorkingNarrative#45