@mastra/clickhouse 1.19.0-alpha.0 → 1.19.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/observability/v-next/ddl.d.ts +1 -1
- package/dist/storage/domains/observability/v-next/ddl.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-clickhouse
|
|
|
3
3
|
description: Documentation for @mastra/clickhouse. Use when working with @mastra/clickhouse APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/clickhouse"
|
|
6
|
-
version: "1.19.
|
|
6
|
+
version: "1.19.1-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/dist/index.cjs
CHANGED
|
@@ -3279,7 +3279,10 @@ CREATE TABLE IF NOT EXISTS ${TABLE_DELETION_REQUESTS} (
|
|
|
3279
3279
|
requestedBy String DEFAULT '',
|
|
3280
3280
|
lastAppliedAt DateTime64(3) DEFAULT 0,
|
|
3281
3281
|
purgeVerifiedAt DateTime64(3) DEFAULT 0,
|
|
3282
|
-
updatedAt DateTime64(3)
|
|
3282
|
+
updatedAt DateTime64(3),
|
|
3283
|
+
-- Bloom-filter skip index so has(predicateValues, id) mutation guards
|
|
3284
|
+
-- can skip granules instead of scanning every request in a tenant scope.
|
|
3285
|
+
INDEX idx_predicateValues predicateValues TYPE bloom_filter(0.01) GRANULARITY 2
|
|
3283
3286
|
)
|
|
3284
3287
|
ENGINE = ReplacingMergeTree(updatedAt)
|
|
3285
3288
|
ORDER BY (organizationId, resourceId, requestId)
|
|
@@ -3507,7 +3510,8 @@ const ALL_MIGRATIONS = [
|
|
|
3507
3510
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_experimentId", "experimentId"),
|
|
3508
3511
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_runId", "runId"),
|
|
3509
3512
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_sessionId", "sessionId"),
|
|
3510
|
-
addBloomIndex(TABLE_METRIC_EVENTS, "idx_requestId", "requestId")
|
|
3513
|
+
addBloomIndex(TABLE_METRIC_EVENTS, "idx_requestId", "requestId"),
|
|
3514
|
+
addBloomIndex(TABLE_DELETION_REQUESTS, "idx_predicateValues", "predicateValues")
|
|
3511
3515
|
];
|
|
3512
3516
|
const ALL_TABLE_NAMES = [
|
|
3513
3517
|
TABLE_SPAN_EVENTS,
|