fix(ingest): consult SQL 还原朴素(CSV 双源等价)— concat 移到 transforms.derive
- 违反了 manifest 纪律(SQL 只做朴素导出,形态改造归 transforms):consult_external_id 的 concat 从 SQL 移到 transforms.derive(I 段),SQL 回归 SELECT 列 + WHERE 过滤。 - organization_id IN(过滤无关诊所)+ cohort patient 过滤 保留(合法 WHERE,导出本就按诊所过滤)。 - 审计其他表:均朴素(SELECT 列+WHERE);image_finding_rows 是文档记录的已知例外(影像AI pivot,CH 限制)。 - 重摄验证:5993 facts/0 failed,subject_id 与 concat 版一致。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment