mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 21:24:16 +08:00
手动创建的扩展配置拉取 THS 概念接口时, concepts 列为 List(String), 声明为 string 后 cast_df_to_schema 直接 cast(pl.Utf8) 抛 「cannot cast List type (inner: String, to: String)」。 cast_df_to_schema 检测到源列是 List 且目标为 Utf8 时, 先把元素 转字符串再以分号拼接 (与 _flatten_concept_rows 一致), 然后再 cast。 保护任意返回数组字段的配置, 不再依赖预设 id 走 flatten 分支。