@mastra/clickhouse 0.3.4-alpha.2 → 0.3.4-alpha.3
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +11 -0
- package/dist/index.cjs +0 -2
- package/dist/index.js +0 -2
- package/package.json +2 -2
- package/src/storage/index.ts +0 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/clickhouse@0.3.4-alpha.
|
|
2
|
+
> @mastra/clickhouse@0.3.4-alpha.3 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
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 8327ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/clickhouse/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
15
15
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/clickhouse/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 10321ms
|
|
17
17
|
[34mCLI[39m Cleaning output folder
|
|
18
18
|
[34mESM[39m Build start
|
|
19
19
|
[34mCJS[39m Build start
|
|
20
|
-
[32mESM[39m [1mdist/index.js [22m[32m27.
|
|
21
|
-
[32mESM[39m ⚡️ Build success in
|
|
22
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m28.
|
|
23
|
-
[32mCJS[39m ⚡️ Build success in
|
|
20
|
+
[32mESM[39m [1mdist/index.js [22m[32m27.76 KB[39m
|
|
21
|
+
[32mESM[39m ⚡️ Build success in 937ms
|
|
22
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m28.00 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 937ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/clickhouse
|
|
2
2
|
|
|
3
|
+
## 0.3.4-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 302a9f0: fix: do not partition clickhouse trace table
|
|
8
|
+
- Updated dependencies [396be50]
|
|
9
|
+
- Updated dependencies [c3bd795]
|
|
10
|
+
- Updated dependencies [da082f8]
|
|
11
|
+
- Updated dependencies [a5810ce]
|
|
12
|
+
- @mastra/core@0.9.4-alpha.3
|
|
13
|
+
|
|
3
14
|
## 0.3.4-alpha.2
|
|
4
15
|
|
|
5
16
|
### 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.
|
|
3
|
+
"version": "0.3.4-alpha.3",
|
|
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.
|
|
24
|
+
"@mastra/core": "^0.9.4-alpha.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@microsoft/api-extractor": "^7.52.5",
|
package/src/storage/index.ts
CHANGED
|
@@ -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}` : ''}
|