@mastra/clickhouse 0.3.4-alpha.2 → 0.3.4-alpha.4

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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/clickhouse@0.3.4-alpha.2 build /home/runner/work/mastra/mastra/stores/clickhouse
2
+ > @mastra/clickhouse@0.3.4-alpha.4 build /home/runner/work/mastra/mastra/stores/clickhouse
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 9371ms
9
+ TSC ⚡️ Build success in 8049ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/clickhouse/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/clickhouse/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 12077ms
16
+ DTS ⚡️ Build success in 11067ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- ESM dist/index.js 27.82 KB
21
- ESM ⚡️ Build success in 1030ms
22
- CJS dist/index.cjs 28.07 KB
23
- CJS ⚡️ Build success in 1030ms
20
+ ESM dist/index.js 27.76 KB
21
+ ESM ⚡️ Build success in 898ms
22
+ CJS dist/index.cjs 28.00 KB
23
+ CJS ⚡️ Build success in 898ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @mastra/clickhouse
2
2
 
3
+ ## 0.3.4-alpha.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3e9c131]
8
+ - @mastra/core@0.9.4-alpha.4
9
+
10
+ ## 0.3.4-alpha.3
11
+
12
+ ### Patch Changes
13
+
14
+ - 302a9f0: fix: do not partition clickhouse trace table
15
+ - Updated dependencies [396be50]
16
+ - Updated dependencies [c3bd795]
17
+ - Updated dependencies [da082f8]
18
+ - Updated dependencies [a5810ce]
19
+ - @mastra/core@0.9.4-alpha.3
20
+
3
21
  ## 0.3.4-alpha.2
4
22
 
5
23
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -237,7 +237,6 @@ var ClickhouseStore = class extends storage.MastraStorage {
237
237
  ${["id String"].concat(columns)}
238
238
  )
239
239
  ENGINE = ${TABLE_ENGINES[tableName]}
240
- PARTITION BY "createdAt"
241
240
  PRIMARY KEY (createdAt, run_id, workflow_name)
242
241
  ORDER BY (createdAt, run_id, workflow_name)
243
242
  ${rowTtl ? `TTL toDateTime(${rowTtl.ttlKey ?? "createdAt"}) + INTERVAL ${rowTtl.interval} ${rowTtl.unit}` : ""}
@@ -247,7 +246,6 @@ var ClickhouseStore = class extends storage.MastraStorage {
247
246
  ${columns}
248
247
  )
249
248
  ENGINE = ${TABLE_ENGINES[tableName]}
250
- PARTITION BY "createdAt"
251
249
  PRIMARY KEY (createdAt, ${tableName === storage.TABLE_EVALS ? "run_id" : "id"})
252
250
  ORDER BY (createdAt, ${tableName === storage.TABLE_EVALS ? "run_id" : "id"})
253
251
  ${this.ttl?.[tableName]?.row ? `TTL toDateTime(createdAt) + INTERVAL ${this.ttl[tableName].row.interval} ${this.ttl[tableName].row.unit}` : ""}
package/dist/index.js CHANGED
@@ -235,7 +235,6 @@ var ClickhouseStore = class extends MastraStorage {
235
235
  ${["id String"].concat(columns)}
236
236
  )
237
237
  ENGINE = ${TABLE_ENGINES[tableName]}
238
- PARTITION BY "createdAt"
239
238
  PRIMARY KEY (createdAt, run_id, workflow_name)
240
239
  ORDER BY (createdAt, run_id, workflow_name)
241
240
  ${rowTtl ? `TTL toDateTime(${rowTtl.ttlKey ?? "createdAt"}) + INTERVAL ${rowTtl.interval} ${rowTtl.unit}` : ""}
@@ -245,7 +244,6 @@ var ClickhouseStore = class extends MastraStorage {
245
244
  ${columns}
246
245
  )
247
246
  ENGINE = ${TABLE_ENGINES[tableName]}
248
- PARTITION BY "createdAt"
249
247
  PRIMARY KEY (createdAt, ${tableName === TABLE_EVALS ? "run_id" : "id"})
250
248
  ORDER BY (createdAt, ${tableName === TABLE_EVALS ? "run_id" : "id"})
251
249
  ${this.ttl?.[tableName]?.row ? `TTL toDateTime(createdAt) + INTERVAL ${this.ttl[tableName].row.interval} ${this.ttl[tableName].row.unit}` : ""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/clickhouse",
3
- "version": "0.3.4-alpha.2",
3
+ "version": "0.3.4-alpha.4",
4
4
  "description": "Clickhouse provider for Mastra - includes db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "@clickhouse/client": "^1.11.0",
24
- "@mastra/core": "^0.9.4-alpha.2"
24
+ "@mastra/core": "^0.9.4-alpha.4"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@microsoft/api-extractor": "^7.52.5",
@@ -337,7 +337,6 @@ export class ClickhouseStore extends MastraStorage {
337
337
  ${['id String'].concat(columns)}
338
338
  )
339
339
  ENGINE = ${TABLE_ENGINES[tableName]}
340
- PARTITION BY "createdAt"
341
340
  PRIMARY KEY (createdAt, run_id, workflow_name)
342
341
  ORDER BY (createdAt, run_id, workflow_name)
343
342
  ${rowTtl ? `TTL toDateTime(${rowTtl.ttlKey ?? 'createdAt'}) + INTERVAL ${rowTtl.interval} ${rowTtl.unit}` : ''}
@@ -348,7 +347,6 @@ export class ClickhouseStore extends MastraStorage {
348
347
  ${columns}
349
348
  )
350
349
  ENGINE = ${TABLE_ENGINES[tableName]}
351
- PARTITION BY "createdAt"
352
350
  PRIMARY KEY (createdAt, ${tableName === TABLE_EVALS ? 'run_id' : 'id'})
353
351
  ORDER BY (createdAt, ${tableName === TABLE_EVALS ? 'run_id' : 'id'})
354
352
  ${this.ttl?.[tableName]?.row ? `TTL toDateTime(createdAt) + INTERVAL ${this.ttl[tableName].row.interval} ${this.ttl[tableName].row.unit}` : ''}