@clickhouse/client-web 1.6.0 → 1.7.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/README.md +2 -0
- package/dist/client.js +1 -2
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/result_set.js +43 -20
- package/dist/result_set.js.map +1 -1
- package/dist/utils/stream.js +2 -3
- package/dist/utils/stream.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
<img src="https://sonarcloud.io/api/project_badges/measure?project=ClickHouse_clickhouse-js&metric=alert_status">
|
|
20
20
|
|
|
21
21
|
<img src="https://sonarcloud.io/api/project_badges/measure?project=ClickHouse_clickhouse-js&metric=coverage">
|
|
22
|
+
|
|
23
|
+
<img src="https://api.scorecard.dev/projects/github.com/ClickHouse/clickhouse-js/badge">
|
|
22
24
|
</p>
|
|
23
25
|
|
|
24
26
|
## About
|
package/dist/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createClient =
|
|
3
|
+
exports.createClient = createClient;
|
|
4
4
|
const client_common_1 = require("@clickhouse/client-common");
|
|
5
5
|
const config_1 = require("./config");
|
|
6
6
|
class WebClickHouseClientImpl extends client_common_1.ClickHouseClient {
|
|
@@ -15,5 +15,4 @@ function createClient(config) {
|
|
|
15
15
|
...(config || {}),
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.createClient = createClient;
|
|
19
18
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../packages/client-web/src/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../packages/client-web/src/client.ts"],"names":[],"mappings":";;AAoDA,oCAOC;AAhDD,6DAA4D;AAE5D,qCAAkC;AA8BlC,MAAM,uBAAwB,SAAQ,gCAAgC;IACpE,0CAA0C;IAC1C,KAAK,CACH,MAAqC;QAErC,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAA+B,CAAA;IAC1D,CAAC;CACF;AAED,SAAgB,YAAY,CAC1B,MAAyC;IAEzC,OAAO,IAAI,uBAAuB,CAAC;QACjC,IAAI,EAAE,gBAAO;QACb,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC;KAClB,CAAC,CAAA;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export { createClient } from './client';
|
|
|
3
3
|
export { type WebClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from './config';
|
|
4
4
|
export { ResultSet } from './result_set';
|
|
5
5
|
/** Re-export @clickhouse/client-common types */
|
|
6
|
-
export { type BaseClickHouseClientConfigOptions, type BaseQueryParams, type QueryParams, type ExecParams, type InsertParams, type InsertValues, type CommandParams, type CommandResult, type ExecResult, type InsertResult, type DataFormat, type RawDataFormat, type JSONDataFormat, type StreamableDataFormat, type StreamableJSONDataFormat, type SingleDocumentJSONFormat, type Logger, type LogParams, type ErrorLogParams, type WarnLogParams, type ClickHouseSettings, type MergeTreeSettings, type Row, type ResponseJSON, type InputJSON, type InputJSONObjectEachRow, type BaseResultSet, type PingResult, ClickHouseError, ClickHouseLogLevel, SettingsMap, SupportedJSONFormats, SupportedRawFormats, StreamableFormats, StreamableJSONFormats, SingleDocumentJSONFormats, RecordsJSONFormats, } from '@clickhouse/client-common';
|
|
6
|
+
export { type BaseClickHouseClientConfigOptions, type BaseQueryParams, type QueryParams, type ExecParams, type InsertParams, type InsertValues, type CommandParams, type CommandResult, type ExecResult, type InsertResult, type DataFormat, type RawDataFormat, type JSONDataFormat, type StreamableDataFormat, type StreamableJSONDataFormat, type SingleDocumentJSONFormat, type Logger, type LogParams, type ErrorLogParams, type WarnLogParams, type ClickHouseSettings, type MergeTreeSettings, type Row, type ResponseJSON, type InputJSON, type InputJSONObjectEachRow, type BaseResultSet, type PingResult, ClickHouseError, ClickHouseLogLevel, SettingsMap, SupportedJSONFormats, SupportedRawFormats, StreamableFormats, StreamableJSONFormats, SingleDocumentJSONFormats, RecordsJSONFormats, type SimpleColumnType, type ParsedColumnSimple, type ParsedColumnEnum, type ParsedColumnFixedString, type ParsedColumnNullable, type ParsedColumnDecimal, type ParsedColumnDateTime, type ParsedColumnDateTime64, type ParsedColumnArray, type ParsedColumnTuple, type ParsedColumnMap, type ParsedColumnType, parseColumnType, SimpleColumnTypes, type ProgressRow, isProgressRow, type RowOrProgress, } from '@clickhouse/client-common';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SettingsMap = exports.ClickHouseLogLevel = exports.ClickHouseError = exports.ResultSet = exports.createClient = void 0;
|
|
3
|
+
exports.isProgressRow = exports.SimpleColumnTypes = exports.parseColumnType = exports.SettingsMap = exports.ClickHouseLogLevel = exports.ClickHouseError = exports.ResultSet = exports.createClient = void 0;
|
|
4
4
|
var client_1 = require("./client");
|
|
5
5
|
Object.defineProperty(exports, "createClient", { enumerable: true, get: function () { return client_1.createClient; } });
|
|
6
6
|
var result_set_1 = require("./result_set");
|
|
@@ -10,4 +10,7 @@ var client_common_1 = require("@clickhouse/client-common");
|
|
|
10
10
|
Object.defineProperty(exports, "ClickHouseError", { enumerable: true, get: function () { return client_common_1.ClickHouseError; } });
|
|
11
11
|
Object.defineProperty(exports, "ClickHouseLogLevel", { enumerable: true, get: function () { return client_common_1.ClickHouseLogLevel; } });
|
|
12
12
|
Object.defineProperty(exports, "SettingsMap", { enumerable: true, get: function () { return client_common_1.SettingsMap; } });
|
|
13
|
+
Object.defineProperty(exports, "parseColumnType", { enumerable: true, get: function () { return client_common_1.parseColumnType; } });
|
|
14
|
+
Object.defineProperty(exports, "SimpleColumnTypes", { enumerable: true, get: function () { return client_common_1.SimpleColumnTypes; } });
|
|
15
|
+
Object.defineProperty(exports, "isProgressRow", { enumerable: true, get: function () { return client_common_1.isProgressRow; } });
|
|
13
16
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/client-web/src/index.ts"],"names":[],"mappings":";;;AAIA,mCAAuC;AAA9B,sGAAA,YAAY,OAAA;AAErB,2CAAwC;AAA/B,uGAAA,SAAS,OAAA;AAElB,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/client-web/src/index.ts"],"names":[],"mappings":";;;AAIA,mCAAuC;AAA9B,sGAAA,YAAY,OAAA;AAErB,2CAAwC;AAA/B,uGAAA,SAAS,OAAA;AAElB,gDAAgD;AAChD,2DAuDkC;AA1BhC,gHAAA,eAAe,OAAA;AACf,mHAAA,kBAAkB,OAAA;AAClB,4GAAA,WAAW,OAAA;AAmBX,gHAAA,eAAe,OAAA;AACf,kHAAA,iBAAiB,OAAA;AAEjB,8GAAA,aAAa,OAAA"}
|
package/dist/result_set.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResultSet = void 0;
|
|
4
4
|
const client_common_1 = require("@clickhouse/client-common");
|
|
5
|
-
const client_common_2 = require("@clickhouse/client-common");
|
|
6
5
|
const utils_1 = require("./utils");
|
|
6
|
+
const NEWLINE = 0x0a;
|
|
7
7
|
class ResultSet {
|
|
8
8
|
constructor(_stream, format, query_id, _response_headers) {
|
|
9
9
|
Object.defineProperty(this, "_stream", {
|
|
@@ -73,8 +73,9 @@ class ResultSet {
|
|
|
73
73
|
/** See {@link BaseResultSet.stream} */
|
|
74
74
|
stream() {
|
|
75
75
|
this.markAsConsumed();
|
|
76
|
-
(0,
|
|
77
|
-
let
|
|
76
|
+
(0, client_common_1.validateStreamFormat)(this.format);
|
|
77
|
+
let incompleteChunks = [];
|
|
78
|
+
let totalIncompleteLength = 0;
|
|
78
79
|
const decoder = new TextDecoder('utf-8');
|
|
79
80
|
const transform = new TransformStream({
|
|
80
81
|
start() {
|
|
@@ -84,31 +85,53 @@ class ResultSet {
|
|
|
84
85
|
if (chunk === null) {
|
|
85
86
|
controller.terminate();
|
|
86
87
|
}
|
|
87
|
-
decodedChunk += decoder.decode(chunk);
|
|
88
88
|
const rows = [];
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
let idx;
|
|
90
|
+
let lastIdx = 0;
|
|
91
|
+
do {
|
|
92
|
+
// an unescaped newline character denotes the end of a row
|
|
93
|
+
idx = chunk.indexOf(NEWLINE, lastIdx);
|
|
94
|
+
// there is no complete row in the rest of the current chunk
|
|
95
|
+
if (idx === -1) {
|
|
96
|
+
// to be processed during the next transform iteration
|
|
97
|
+
const incompleteChunk = chunk.slice(lastIdx);
|
|
98
|
+
incompleteChunks.push(incompleteChunk);
|
|
99
|
+
totalIncompleteLength += incompleteChunk.length;
|
|
100
|
+
// send the extracted rows to the consumer, if any
|
|
101
|
+
if (rows.length > 0) {
|
|
102
|
+
controller.enqueue(rows);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
let text;
|
|
107
|
+
if (incompleteChunks.length > 0) {
|
|
108
|
+
const completeRowBytes = new Uint8Array(totalIncompleteLength + idx);
|
|
109
|
+
// using the incomplete chunks from the previous iterations
|
|
110
|
+
let offset = 0;
|
|
111
|
+
incompleteChunks.forEach((incompleteChunk) => {
|
|
112
|
+
completeRowBytes.set(incompleteChunk, offset);
|
|
113
|
+
offset += incompleteChunk.length;
|
|
114
|
+
});
|
|
115
|
+
// finalize the row with the current chunk slice that ends with a newline
|
|
116
|
+
const finalChunk = chunk.slice(0, idx);
|
|
117
|
+
completeRowBytes.set(finalChunk, offset);
|
|
118
|
+
// reset the incomplete chunks
|
|
119
|
+
incompleteChunks = [];
|
|
120
|
+
totalIncompleteLength = 0;
|
|
121
|
+
text = decoder.decode(completeRowBytes);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
text = decoder.decode(chunk.slice(lastIdx, idx));
|
|
125
|
+
}
|
|
95
126
|
rows.push({
|
|
96
127
|
text,
|
|
97
128
|
json() {
|
|
98
129
|
return JSON.parse(text);
|
|
99
130
|
},
|
|
100
131
|
});
|
|
132
|
+
lastIdx = idx + 1; // skipping newline character
|
|
101
133
|
}
|
|
102
|
-
|
|
103
|
-
if (rows.length) {
|
|
104
|
-
controller.enqueue(rows);
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
flush() {
|
|
111
|
-
decodedChunk = '';
|
|
134
|
+
} while (idx !== -1);
|
|
112
135
|
},
|
|
113
136
|
});
|
|
114
137
|
const pipeline = this._stream.pipeThrough(transform, {
|
package/dist/result_set.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result_set.js","sourceRoot":"","sources":["../../../packages/client-web/src/result_set.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"result_set.js","sourceRoot":"","sources":["../../../packages/client-web/src/result_set.ts"],"names":[],"mappings":";;;AAQA,6DAIkC;AAClC,mCAAmC;AAEnC,MAAM,OAAO,GAAG,IAAa,CAAA;AAE7B,MAAa,SAAS;IAMpB,YACU,OAAuB,EACd,MAAc,EACf,QAAgB,EAChC,iBAAmC;QAHnC;;;;mBAAQ,OAAO;WAAgB;QAC/B;;;;mBAAiB,MAAM;WAAQ;QAC/B;;;;mBAAgB,QAAQ;WAAQ;QANlB;;;;;WAAiC;QACzC;;;;mBAAoB,KA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QACT,IAAI,CAAC,cAAc,EAAE,CAAA;QACrB,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAA;IAC7B,CAAC;IAEO,cAAc;QACpB,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;QAC/C,CAAC;QACD,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAA;IAC/B,CAAC;CACF;AAzID,8BAyIC;AAED,MAAM,4BAA4B,GAAG,kCAAkC,CAAA"}
|
package/dist/utils/stream.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isStream = isStream;
|
|
4
|
+
exports.getAsText = getAsText;
|
|
4
5
|
function isStream(obj) {
|
|
5
6
|
return (obj !== null && obj !== undefined && typeof obj.pipeThrough === 'function');
|
|
6
7
|
}
|
|
7
|
-
exports.isStream = isStream;
|
|
8
8
|
async function getAsText(stream) {
|
|
9
9
|
let result = '';
|
|
10
10
|
let isDone = false;
|
|
@@ -19,5 +19,4 @@ async function getAsText(stream) {
|
|
|
19
19
|
result += textDecoder.decode();
|
|
20
20
|
return result;
|
|
21
21
|
}
|
|
22
|
-
exports.getAsText = getAsText;
|
|
23
22
|
//# sourceMappingURL=stream.js.map
|
package/dist/utils/stream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../../packages/client-web/src/utils/stream.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../../packages/client-web/src/utils/stream.ts"],"names":[],"mappings":";;AAAA,4BAIC;AAED,8BAgBC;AAtBD,SAAgB,QAAQ,CAAC,GAAQ;IAC/B,OAAO,CACL,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,OAAO,GAAG,CAAC,WAAW,KAAK,UAAU,CAC3E,CAAA;AACH,CAAC;AAEM,KAAK,UAAU,SAAS,CAAC,MAAsB;IACpD,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,MAAM,GAAG,KAAK,CAAA;IAElB,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAA;IACrC,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAA;IAEjC,OAAO,CAAC,MAAM,EAAE,CAAC;QACf,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAA;QAC3C,MAAM,IAAI,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;QACrD,MAAM,GAAG,IAAI,CAAA;IACf,CAAC;IAED,QAAQ;IACR,MAAM,IAAI,WAAW,CAAC,MAAM,EAAE,CAAA;IAC9B,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.7.0";
|
|
2
2
|
export default _default;
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@clickhouse/client-web",
|
|
3
3
|
"description": "Official JS client for ClickHouse DB - Web API implementation",
|
|
4
4
|
"homepage": "https://clickhouse.com",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.7.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"clickhouse",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@clickhouse/client-common": "1.
|
|
23
|
+
"@clickhouse/client-common": "1.7.0"
|
|
24
24
|
}
|
|
25
25
|
}
|