Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: drop redundant observation project_id index on Clickhouse (#4084)

Steffen Schmitzff3bfe75ec60
diff --git a/packages/shared/clickhouse/migrations/0004_drop_observations_index.down.sql b/packages/shared/clickhouse/migrations/0004_drop_observations_index.down.sql
new file mode 100644
index 0000000000..5e36747336
--- /dev/null
+++ b/packages/shared/clickhouse/migrations/0004_drop_observations_index.down.sql
@@ -0,0 +1 @@
+ALTER TABLE observations ADD INDEX IF NOT EXISTS idx_project_id project_id TYPE bloom_filter() GRANULARITY 1;
\ No newline at end of file
diff --git a/packages/shared/clickhouse/migrations/0004_drop_observations_index.up.sql b/packages/shared/clickhouse/migrations/0004_drop_observations_index.up.sql
new file mode 100644
index 0000000000..1c008a4afc
--- /dev/null
+++ b/packages/shared/clickhouse/migrations/0004_drop_observations_index.up.sql
@@ -0,0 +1 @@
+ALTER TABLE observations DROP INDEX IF EXISTS idx_project_id;
\ No newline at end of file