@cubejs-backend/hive-driver 1.6.9 → 1.6.10
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/CHANGELOG.md +6 -0
- package/package.json +5 -6
- package/src/HiveDriver.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.6.10](https://github.com/cube-js/cube/compare/v1.6.9...v1.6.10) (2026-02-09)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Unify pool to make named timeout errors ([#10375](https://github.com/cube-js/cube/issues/10375)) ([bac3cd0](https://github.com/cube-js/cube/commit/bac3cd0f2f3f572fac037686ffa16a2e687fbcdc))
|
|
11
|
+
|
|
6
12
|
## [1.6.9](https://github.com/cube-js/cube/compare/v1.6.8...v1.6.9) (2026-02-06)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @cubejs-backend/hive-driver
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@cubejs-backend/hive-driver",
|
|
3
3
|
"description": "Cube.js Hive database driver",
|
|
4
4
|
"author": "Cube Dev, Inc.",
|
|
5
|
-
"version": "1.6.
|
|
5
|
+
"version": "1.6.10",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/cube-js/cube.git",
|
|
@@ -17,9 +17,8 @@
|
|
|
17
17
|
"lint:fix": "eslint --fix src/* --ext .ts"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@cubejs-backend/base-driver": "1.6.
|
|
21
|
-
"@cubejs-backend/shared": "1.6.
|
|
22
|
-
"generic-pool": "^3.8.2",
|
|
20
|
+
"@cubejs-backend/base-driver": "1.6.10",
|
|
21
|
+
"@cubejs-backend/shared": "1.6.10",
|
|
23
22
|
"jshs2": "^0.4.4",
|
|
24
23
|
"sasl-plain": "^0.1.0",
|
|
25
24
|
"saslmechanisms": "^0.1.1",
|
|
@@ -28,7 +27,7 @@
|
|
|
28
27
|
},
|
|
29
28
|
"license": "Apache-2.0",
|
|
30
29
|
"devDependencies": {
|
|
31
|
-
"@cubejs-backend/linter": "1.6.
|
|
30
|
+
"@cubejs-backend/linter": "1.6.10"
|
|
32
31
|
},
|
|
33
32
|
"publishConfig": {
|
|
34
33
|
"access": "public"
|
|
@@ -39,5 +38,5 @@
|
|
|
39
38
|
"eslintConfig": {
|
|
40
39
|
"extends": "../cubejs-linter"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4b4bdf283aba33cd82cba9dcea0f8fe226f4559c"
|
|
43
42
|
}
|
package/src/HiveDriver.js
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
const {
|
|
8
8
|
getEnv,
|
|
9
9
|
assertDataSource,
|
|
10
|
+
Pool,
|
|
10
11
|
} = require('@cubejs-backend/shared');
|
|
11
12
|
const jshs2 = require('jshs2');
|
|
12
13
|
const SqlString = require('sqlstring');
|
|
13
|
-
const genericPool = require('generic-pool');
|
|
14
14
|
const { BaseDriver } = require('@cubejs-backend/base-driver');
|
|
15
15
|
const Connection = require('jshs2/lib/Connection');
|
|
16
16
|
const IDLFactory = require('jshs2/lib/common/IDLFactory');
|
|
@@ -82,7 +82,7 @@ class HiveDriver extends BaseDriver {
|
|
|
82
82
|
|
|
83
83
|
const configuration = new Configuration(this.config);
|
|
84
84
|
|
|
85
|
-
this.pool =
|
|
85
|
+
this.pool = new Pool('hive', {
|
|
86
86
|
create: async () => {
|
|
87
87
|
const idl = new IDLContainer();
|
|
88
88
|
await idl.initialize(configuration);
|