@mastra/clickhouse 1.19.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 +7 -7
package/dist/index.js
CHANGED
|
@@ -3256,7 +3256,10 @@ CREATE TABLE IF NOT EXISTS ${TABLE_DELETION_REQUESTS} (
|
|
|
3256
3256
|
requestedBy String DEFAULT '',
|
|
3257
3257
|
lastAppliedAt DateTime64(3) DEFAULT 0,
|
|
3258
3258
|
purgeVerifiedAt DateTime64(3) DEFAULT 0,
|
|
3259
|
-
updatedAt DateTime64(3)
|
|
3259
|
+
updatedAt DateTime64(3),
|
|
3260
|
+
-- Bloom-filter skip index so has(predicateValues, id) mutation guards
|
|
3261
|
+
-- can skip granules instead of scanning every request in a tenant scope.
|
|
3262
|
+
INDEX idx_predicateValues predicateValues TYPE bloom_filter(0.01) GRANULARITY 2
|
|
3260
3263
|
)
|
|
3261
3264
|
ENGINE = ReplacingMergeTree(updatedAt)
|
|
3262
3265
|
ORDER BY (organizationId, resourceId, requestId)
|
|
@@ -3484,7 +3487,8 @@ const ALL_MIGRATIONS = [
|
|
|
3484
3487
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_experimentId", "experimentId"),
|
|
3485
3488
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_runId", "runId"),
|
|
3486
3489
|
addBloomIndex(TABLE_METRIC_EVENTS, "idx_sessionId", "sessionId"),
|
|
3487
|
-
addBloomIndex(TABLE_METRIC_EVENTS, "idx_requestId", "requestId")
|
|
3490
|
+
addBloomIndex(TABLE_METRIC_EVENTS, "idx_requestId", "requestId"),
|
|
3491
|
+
addBloomIndex(TABLE_DELETION_REQUESTS, "idx_predicateValues", "predicateValues")
|
|
3488
3492
|
];
|
|
3489
3493
|
const ALL_TABLE_NAMES = [
|
|
3490
3494
|
TABLE_SPAN_EVENTS,
|