| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| data/jvs-dw | ||
| prisma | ||
| sql | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .swcrc | ||
| Dockerfile | ||
| jest.config.cjs | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json |
复盘(用户纠正):王振中'就诊2次'根因不在算法,在宿主数据违约: - 契约:该数仓所有时间 = 北京时间(naive)。PAC 一律按北京解析 → 存 UTC(PAC 内部恒 UTC)。 - 但 fact_appointment_out.in_time 被宿主存成 ClickHouse DateTime(UTC 瞬时,03:09 UTC=北京11:09), 而非北京裸串。序列化丢 tz 标记 → PAC normalizeDatetime 当北京串又 −8 → UTC 19:09(慢8h)。 - 这是【宿主违约】(该列应北京 naive,却给了 UTC DateTime),宿主该改。 - PAC 不为错误数据在算法层塞时区兼容(本末倒置)。UTC 日去重本身没问题:正常诊所时段 (北京08-24点=UTC00-16点)不跨 UTC 日,只有本例 in_time 被双转成凌晨才误跨日。 → 算法恢复 UTC-pure;in_time 双转/契约违约记入 dw-data-source-issues.md,交宿主修。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| data/jvs-dw | Loading commit data... | |
| prisma | Loading commit data... | |
| sql | Loading commit data... | |
| src | Loading commit data... | |
| tests | Loading commit data... | |
| .dockerignore | Loading commit data... | |
| .env.example | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .swcrc | Loading commit data... | |
| Dockerfile | Loading commit data... | |
| jest.config.cjs | Loading commit data... | |
| nest-cli.json | Loading commit data... | |
| package.json | Loading commit data... | |
| tsconfig.build.json | Loading commit data... | |
| tsconfig.json | Loading commit data... |