feat(etl): 优化录音数据选择并新增引擎歌曲记录写入
- 调整批处理大小为3以适应新需求 - 扩展fetch_platform_records查询字段,增加录音优先级排序机制 - 新增select_primary_record方法以选出最优录音记录 - 修改runner确保每首歌只写入一个主要引擎录音关联 - 新增upsert_yinyan_song_records接口,实现引擎歌曲记录的批量写入和替换 - 添加对应单元测试覆盖录音选择逻辑和写入功能
Showing
7 changed files
with
291 additions
and
7 deletions
tests/test_reader.py
0 → 100644
tests/test_runner.py
0 → 100644
-
Please register or sign in to post a comment