mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
* feat(rust): embed migration folders with a shared migrate! macro Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(rust): enable syn proc-macro feature for litellm-migrate-macros Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(rust): reject signed versions and symlinks in migrate! Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Yujong Lee <yujong@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
864 B
864 B
- Keep OTLP decoding, trace schema, row encoding and named query selection here. Generic ClickHouse connections and HTTP execution belong in
litellm-storage-clickhouse - Keep this crate independent of Python; PyO3 conversion and public Python exceptions belong in
python-bridge - Keep the SQL migrations here as the only ClickHouse schema definition, as
migrations/NNNN_description.sqlfiles embedded bylitellm_migrate::migrate!; adding a file is the only step - Use typed query parameters and a dedicated SELECT-only reader with server-side limits
- Keep
config/reader.xmlgrants on the database the schema is created in (CLICKHOUSE_DATABASE, defaultlitellm) - Bound insert time and encoded bytes; make retry deduplication behavior explicit for supported ClickHouse versions
- Test storage behavior through the crate's public API against ClickHouse