🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(events-table): add bloom filter indexes on user_id and session_id (#12120)
Steffen Schmitz60b079a91080
diff --git a/packages/shared/clickhouse/scripts/dev-tables.sh b/packages/shared/clickhouse/scripts/dev-tables.shindex ba80245cb5..254cd84980 100644--- a/packages/shared/clickhouse/scripts/dev-tables.sh+++ b/packages/shared/clickhouse/scripts/dev-tables.sh@@ -400,7 +400,8 @@ CREATE TABLE IF NOT EXISTS events_full-- IndexesINDEX idx_span_id span_id TYPE bloom_filter(0.01) GRANULARITY 1,INDEX idx_trace_id trace_id TYPE bloom_filter(0.01) GRANULARITY 1,- INDEX idx_type type TYPE set(50) GRANULARITY 1,+ INDEX idx_user_id user_id TYPE bloom_filter(0.01) GRANULARITY 1,+ INDEX idx_session_id session_id TYPE bloom_filter(0.01) GRANULARITY 1,INDEX idx_created_at created_at TYPE minmax GRANULARITY 1,INDEX idx_updated_at updated_at TYPE minmax GRANULARITY 1,@@ -532,7 +533,8 @@ CREATE TABLE IF NOT EXISTS events_core-- IndexesINDEX idx_span_id span_id TYPE bloom_filter(0.01) GRANULARITY 1,INDEX idx_trace_id trace_id TYPE bloom_filter(0.01) GRANULARITY 1,- INDEX idx_type type TYPE set(50) GRANULARITY 1,+ INDEX idx_user_id user_id TYPE bloom_filter(0.01) GRANULARITY 1,+ INDEX idx_session_id session_id TYPE bloom_filter(0.01) GRANULARITY 1,INDEX idx_created_at created_at TYPE minmax GRANULARITY 1,INDEX idx_updated_at updated_at TYPE minmax GRANULARITY 1)