@or-sdk/druid 1.3.7 → 1.3.8

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +5 -6
  3. package/tsconfig.build.json +9 -0
  4. package/tsconfig.dev.json +0 -1
  5. package/tsconfig.esm.json +1 -2
  6. package/tsconfig.json +2 -3
  7. package/tsconfig.types.json +2 -3
  8. package/{vitest.config.mts → vitest.config.mjs} +2 -1
  9. package/dist/cjs/__tests__/Druid.spec.js +0 -144
  10. package/dist/cjs/__tests__/Druid.spec.js.map +0 -1
  11. package/dist/cjs/__tests__/fixtures/convert_response.json +0 -105
  12. package/dist/cjs/__tests__/fixtures/group_by_table_response.json +0 -146
  13. package/dist/cjs/__tests__/fixtures/metadata.json +0 -716
  14. package/dist/cjs/__tests__/fixtures/scan_lookup_response.json +0 -31
  15. package/dist/cjs/__tests__/fixtures/scan_table_response.json +0 -131
  16. package/dist/cjs/__tests__/fixtures/search_table_response.json +0 -12
  17. package/dist/cjs/__tests__/fixtures/time_series_table_response.json +0 -32
  18. package/dist/cjs/__tests__/result-converter.spec.js +0 -296
  19. package/dist/cjs/__tests__/result-converter.spec.js.map +0 -1
  20. package/dist/esm/__tests__/Druid.spec.js +0 -63
  21. package/dist/esm/__tests__/Druid.spec.js.map +0 -1
  22. package/dist/esm/__tests__/fixtures/convert_response.json +0 -105
  23. package/dist/esm/__tests__/fixtures/group_by_table_response.json +0 -146
  24. package/dist/esm/__tests__/fixtures/metadata.json +0 -716
  25. package/dist/esm/__tests__/fixtures/scan_lookup_response.json +0 -31
  26. package/dist/esm/__tests__/fixtures/scan_table_response.json +0 -131
  27. package/dist/esm/__tests__/fixtures/search_table_response.json +0 -12
  28. package/dist/esm/__tests__/fixtures/time_series_table_response.json +0 -32
  29. package/dist/esm/__tests__/result-converter.spec.js +0 -291
  30. package/dist/esm/__tests__/result-converter.spec.js.map +0 -1
  31. package/dist/types/__tests__/Druid.spec.d.ts +0 -2
  32. package/dist/types/__tests__/Druid.spec.d.ts.map +0 -1
  33. package/dist/types/__tests__/result-converter.spec.d.ts +0 -2
  34. package/dist/types/__tests__/result-converter.spec.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.3.8](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/druid@1.3.7...@or-sdk/druid@1.3.8) (2025-11-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **base:** Fix vitest tests ([3afb8a3](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/3afb8a344fc68e7e3b4ab3203eedea7a7f0b5bab))
12
+
13
+
14
+
6
15
  ## [1.3.7](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/druid@1.3.6...@or-sdk/druid@1.3.7) (2025-10-15)
7
16
 
8
17
  **Note:** Version bump only for package @or-sdk/druid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/druid",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -21,18 +21,17 @@
21
21
  "test:watch": "vitest --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@or-sdk/base": "^0.42.3",
25
- "@or-sdk/providers": "^0.2.52",
24
+ "@or-sdk/base": "^0.42.4",
25
+ "@or-sdk/providers": "^0.2.53",
26
26
  "lodash": "^4.17.21"
27
27
  },
28
28
  "devDependencies": {
29
29
  "concurrently": "9.0.1",
30
30
  "msw": "2.8.2",
31
- "typescript": "5.6.2",
32
- "vitest": "^3.1.3"
31
+ "typescript": "5.6.2"
33
32
  },
34
33
  "publishConfig": {
35
34
  "access": "public"
36
35
  },
37
- "gitHead": "1d1bfc01c68d4b86dedeefa957fbaab97b61fe4a"
36
+ "gitHead": "9deea9f914551e435336bc856e77b4fdfd7bdd54"
38
37
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": "./src"
5
+ },
6
+ "exclude": [
7
+ "./src/__tests__"
8
+ ]
9
+ }
package/tsconfig.dev.json CHANGED
@@ -2,7 +2,6 @@
2
2
  "extends": "./tsconfig.esm.json",
3
3
  "compilerOptions": {
4
4
  "declarationDir": "./dist/types",
5
- "rootDir": "./src",
6
5
  "declaration": true
7
6
  }
8
7
  }
package/tsconfig.esm.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
2
+ "extends": "./tsconfig.build.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "./dist/esm",
5
5
  "declarationDir": "./dist/types",
6
6
  "module": "ES6",
7
7
  "target": "es6",
8
- "rootDir": "./src",
9
8
  "declaration": true,
10
9
  "declarationMap": true
11
10
  }
package/tsconfig.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
2
+ "extends": "./tsconfig.build.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/cjs/",
5
- "rootDir": "./src"
4
+ "outDir": "./dist/cjs"
6
5
  }
7
6
  }
@@ -1,8 +1,7 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
2
+ "extends": "./tsconfig.build.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types/",
5
- "rootDir": "./src",
4
+ "outDir": "./dist/types",
6
5
  "declaration": true,
7
6
  "declarationMap": true,
8
7
  "emitDeclarationOnly": true
@@ -4,8 +4,9 @@ export default defineConfig({
4
4
  test: {
5
5
  reporters: ['junit', 'default'],
6
6
  outputFile: 'test-results/junit.xml',
7
+ include: ['src/**/*.{test,spec}.ts'],
8
+ exclude: ['dist/**'],
7
9
  coverage: {
8
- all: true,
9
10
  reporter: ['text', 'json', 'html', 'cobertura', 'text-summary'],
10
11
  clean: true,
11
12
  include: [
@@ -1,144 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
- return new (P || (P = Promise))(function (resolve, reject) {
16
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
- step((generator = generator.apply(thisArg, _arguments || [])).next());
20
- });
21
- };
22
- var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
24
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
- function verb(n) { return function (v) { return step([n, v]); }; }
26
- function step(op) {
27
- if (f) throw new TypeError("Generator is already executing.");
28
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
- if (y = 0, t) op = [op[0] & 2, t.value];
31
- switch (op[0]) {
32
- case 0: case 1: t = op; break;
33
- case 4: _.label++; return { value: op[1], done: false };
34
- case 5: _.label++; y = op[1]; op = [0]; continue;
35
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
- default:
37
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
- if (t[2]) _.ops.pop();
42
- _.trys.pop(); continue;
43
- }
44
- op = body.call(thisArg, _);
45
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
- }
48
- };
49
- var __importDefault = (this && this.__importDefault) || function (mod) {
50
- return (mod && mod.__esModule) ? mod : { "default": mod };
51
- };
52
- Object.defineProperty(exports, "__esModule", { value: true });
53
- var msw_1 = require("msw");
54
- var node_1 = require("msw/node");
55
- var vitest_1 = require("vitest");
56
- var __1 = require("../");
57
- var convert_response_json_1 = __importDefault(require("./fixtures/convert_response.json"));
58
- var metadata_json_1 = __importDefault(require("./fixtures/metadata.json"));
59
- var scan_table_response_json_1 = __importDefault(require("./fixtures/scan_table_response.json"));
60
- var server = (0, node_1.setupServer)(msw_1.http.get('https://em.url/http/test-account-id/druid/query/v2', function (_a) {
61
- var request = _a.request;
62
- if (request.headers.get('authorization') !== 'valid-auth-token') {
63
- return new msw_1.HttpResponse(null, { status: 401 });
64
- }
65
- var url = new URL(request.url);
66
- if (url.searchParams.get('includeLookups') !== 'true') {
67
- return new msw_1.HttpResponse(null, { status: 500 });
68
- }
69
- return msw_1.HttpResponse.json(metadata_json_1.default);
70
- }), msw_1.http.post('https://em.url/http/test-account-id/druid/query/v2', function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
71
- var body;
72
- var request = _b.request;
73
- return __generator(this, function (_c) {
74
- switch (_c.label) {
75
- case 0:
76
- if (request.headers.get('authorization') !== 'valid-auth-token') {
77
- return [2, new msw_1.HttpResponse(null, { status: 401 })];
78
- }
79
- return [4, request.json()];
80
- case 1:
81
- body = _c.sent();
82
- if ((body === null || body === void 0 ? void 0 : body.type) === 'ExplainSQLPlan') {
83
- return [2, msw_1.HttpResponse.json(convert_response_json_1.default)];
84
- }
85
- return [2, msw_1.HttpResponse.json(scan_table_response_json_1.default)];
86
- }
87
- });
88
- }); }));
89
- var createDruidInstance = function (opts) {
90
- if (opts === void 0) { opts = {}; }
91
- return new __1.Druid(__assign({ eventManagerUrl: 'https://em.url', providersAccountId: 'test-account-id', token: 'valid-auth-token' }, opts));
92
- };
93
- (0, vitest_1.describe)('Druid', function () {
94
- (0, vitest_1.beforeAll)(function () { return server.listen(); });
95
- (0, vitest_1.afterEach)(function () { return server.resetHandlers(); });
96
- (0, vitest_1.afterAll)(function () { return server.close(); });
97
- (0, vitest_1.it)('should create an instance successfully', function () {
98
- var druid = createDruidInstance();
99
- (0, vitest_1.expect)(druid).toBeInstanceOf(__1.Druid);
100
- });
101
- (0, vitest_1.it)('should fetch metadata properly', function () { return __awaiter(void 0, void 0, void 0, function () {
102
- var druid, resp;
103
- return __generator(this, function (_a) {
104
- switch (_a.label) {
105
- case 0:
106
- druid = createDruidInstance();
107
- return [4, druid.fetchMetadata()];
108
- case 1:
109
- resp = _a.sent();
110
- (0, vitest_1.expect)(resp).toEqual(metadata_json_1.default);
111
- return [2];
112
- }
113
- });
114
- }); });
115
- (0, vitest_1.it)('should convert sql query to native one properly', function () { return __awaiter(void 0, void 0, void 0, function () {
116
- var druid, resp;
117
- return __generator(this, function (_a) {
118
- switch (_a.label) {
119
- case 0:
120
- druid = createDruidInstance();
121
- return [4, druid.convertSQLQuery('select "BotId" from _table')];
122
- case 1:
123
- resp = _a.sent();
124
- (0, vitest_1.expect)(resp).toEqual(convert_response_json_1.default);
125
- return [2];
126
- }
127
- });
128
- }); });
129
- (0, vitest_1.it)('should run native query', function () { return __awaiter(void 0, void 0, void 0, function () {
130
- var druid, resp;
131
- return __generator(this, function (_a) {
132
- switch (_a.label) {
133
- case 0:
134
- druid = createDruidInstance();
135
- return [4, druid.runNativeQuery({ queryType: 'scan' }, true)];
136
- case 1:
137
- resp = _a.sent();
138
- (0, vitest_1.expect)(resp).toEqual(scan_table_response_json_1.default);
139
- return [2];
140
- }
141
- });
142
- }); });
143
- });
144
- //# sourceMappingURL=Druid.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Druid.spec.js","sourceRoot":"","sources":["../../../src/__tests__/Druid.spec.ts"],"names":[],"mappings":"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"}
@@ -1,105 +0,0 @@
1
- {
2
- "query": {
3
- "queryType": "scan",
4
- "dataSource": {
5
- "type": "table",
6
- "name": "staging_re_rollup_provider_ExecutionTime"
7
- },
8
- "intervals": {
9
- "type": "intervals",
10
- "intervals": [
11
- "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
12
- ]
13
- },
14
- "resultFormat": "compactedList",
15
- "limit": 1000,
16
- "columns": [
17
- "AccountId",
18
- "BotId",
19
- "FlowId",
20
- "Type",
21
- "__time",
22
- "count",
23
- "sum_AudioDuration15Sec",
24
- "sum_AudioDurationMin",
25
- "sum_AudioDurationSec",
26
- "sum_CharacterCount",
27
- "sum_ExecutionDurationMs",
28
- "sum_MemoryMb",
29
- "sum_Millisecond100Seg",
30
- "sum_Millisecond200Seg",
31
- "sum_MillisecondTotal"
32
- ],
33
- "legacy": false,
34
- "context": {
35
- "queryId": "3ab8c67f-b348-4d0f-9210-ad3ccfa74b22",
36
- "sqlOuterLimit": 1000,
37
- "sqlQueryId": "3ab8c67f-b348-4d0f-9210-ad3ccfa74b22"
38
- },
39
- "granularity": {
40
- "type": "all"
41
- }
42
- },
43
- "signature": [
44
- {
45
- "name": "__time",
46
- "type": "LONG"
47
- },
48
- {
49
- "name": "AccountId",
50
- "type": "STRING"
51
- },
52
- {
53
- "name": "BotId",
54
- "type": "STRING"
55
- },
56
- {
57
- "name": "FlowId",
58
- "type": "STRING"
59
- },
60
- {
61
- "name": "Type",
62
- "type": "STRING"
63
- },
64
- {
65
- "name": "count",
66
- "type": "LONG"
67
- },
68
- {
69
- "name": "sum_AudioDuration15Sec",
70
- "type": "LONG"
71
- },
72
- {
73
- "name": "sum_AudioDurationMin",
74
- "type": "LONG"
75
- },
76
- {
77
- "name": "sum_AudioDurationSec",
78
- "type": "LONG"
79
- },
80
- {
81
- "name": "sum_CharacterCount",
82
- "type": "DOUBLE"
83
- },
84
- {
85
- "name": "sum_ExecutionDurationMs",
86
- "type": "LONG"
87
- },
88
- {
89
- "name": "sum_MemoryMb",
90
- "type": "LONG"
91
- },
92
- {
93
- "name": "sum_Millisecond100Seg",
94
- "type": "LONG"
95
- },
96
- {
97
- "name": "sum_Millisecond200Seg",
98
- "type": "LONG"
99
- },
100
- {
101
- "name": "sum_MillisecondTotal",
102
- "type": "LONG"
103
- }
104
- ]
105
- }
@@ -1,146 +0,0 @@
1
- [
2
- {
3
- "version": "v1",
4
- "timestamp": "2023-05-15T12:00:00.000Z",
5
- "event": {
6
- "Type": "ProviderLambda",
7
- "total_usage": 21
8
- }
9
- },
10
- {
11
- "version": "v1",
12
- "timestamp": "2023-05-15T12:00:00.000Z",
13
- "event": {
14
- "Type": "Read Druid",
15
- "total_usage": 21
16
- }
17
- },
18
- {
19
- "version": "v1",
20
- "timestamp": "2023-05-15T13:00:00.000Z",
21
- "event": {
22
- "Type": "ProviderLambda",
23
- "total_usage": 4
24
- }
25
- },
26
- {
27
- "version": "v1",
28
- "timestamp": "2023-05-15T13:00:00.000Z",
29
- "event": {
30
- "Type": "Read Druid",
31
- "total_usage": 4
32
- }
33
- },
34
- {
35
- "version": "v1",
36
- "timestamp": "2023-05-15T14:00:00.000Z",
37
- "event": {
38
- "Type": "ProviderLambda",
39
- "total_usage": 7
40
- }
41
- },
42
- {
43
- "version": "v1",
44
- "timestamp": "2023-05-15T14:00:00.000Z",
45
- "event": {
46
- "Type": "Read Druid",
47
- "total_usage": 7
48
- }
49
- },
50
- {
51
- "version": "v1",
52
- "timestamp": "2023-05-16T05:00:00.000Z",
53
- "event": {
54
- "Type": "ProviderLambda",
55
- "total_usage": 5
56
- }
57
- },
58
- {
59
- "version": "v1",
60
- "timestamp": "2023-05-16T05:00:00.000Z",
61
- "event": {
62
- "Type": "Read Druid",
63
- "total_usage": 5
64
- }
65
- },
66
- {
67
- "version": "v1",
68
- "timestamp": "2023-05-16T07:00:00.000Z",
69
- "event": {
70
- "Type": "ProviderLambda",
71
- "total_usage": 25
72
- }
73
- },
74
- {
75
- "version": "v1",
76
- "timestamp": "2023-05-16T07:00:00.000Z",
77
- "event": {
78
- "Type": "Read Druid",
79
- "total_usage": 25
80
- }
81
- },
82
- {
83
- "version": "v1",
84
- "timestamp": "2023-05-16T08:00:00.000Z",
85
- "event": {
86
- "Type": "ProviderLambda",
87
- "total_usage": 52
88
- }
89
- },
90
- {
91
- "version": "v1",
92
- "timestamp": "2023-05-16T08:00:00.000Z",
93
- "event": {
94
- "Type": "Read Druid",
95
- "total_usage": 52
96
- }
97
- },
98
- {
99
- "version": "v1",
100
- "timestamp": "2023-05-16T09:00:00.000Z",
101
- "event": {
102
- "Type": "ProviderLambda",
103
- "total_usage": 21
104
- }
105
- },
106
- {
107
- "version": "v1",
108
- "timestamp": "2023-05-16T09:00:00.000Z",
109
- "event": {
110
- "Type": "Read Druid",
111
- "total_usage": 20
112
- }
113
- },
114
- {
115
- "version": "v1",
116
- "timestamp": "2023-05-16T10:00:00.000Z",
117
- "event": {
118
- "Type": "ProviderLambda",
119
- "total_usage": 7
120
- }
121
- },
122
- {
123
- "version": "v1",
124
- "timestamp": "2023-05-16T10:00:00.000Z",
125
- "event": {
126
- "Type": "Read Druid",
127
- "total_usage": 7
128
- }
129
- },
130
- {
131
- "version": "v1",
132
- "timestamp": "2023-05-16T11:00:00.000Z",
133
- "event": {
134
- "Type": "ProviderLambda",
135
- "total_usage": 29
136
- }
137
- },
138
- {
139
- "version": "v1",
140
- "timestamp": "2023-05-16T11:00:00.000Z",
141
- "event": {
142
- "Type": "Read Druid",
143
- "total_usage": 29
144
- }
145
- }
146
- ]