refactor(go): remove duplicate raw fields json

This commit is contained in:
lingniu
2026-07-02 19:47:32 +08:00
parent 0bbe87e6fc
commit 29cd044a57
7 changed files with 40 additions and 77 deletions

View File

@@ -36,8 +36,8 @@
- 删除:确认线上无直接读表后,再删除 TDengine stable 和子表。
2. `raw_frames.fields_json``raw_frames.parsed_json``vehicle_locations` 重复。
- 目标raw 只保留完整 `parsed_json`,核心查询字段进入 `vehicle_locations`
- 兼容:先让 raw 查询返回不依赖 `fields_json`
- 状态:新建 raw schema 和 raw 写入已停止使用 `fields_json`
- 兼容raw 查询只选择公共列,不依赖 `fields_json`;旧表保留该列也不影响查询
- 删除:等历史查询和前端不再展示 `fields_json` 后删除列。
3. `vehicle_daily_metric``vehicle_key``vin` 同时存在。