@cubejs-backend/hive-driver 1.7.37 → 1.7.38
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/.oxlintrc.json +14 -0
- package/CHANGELOG.md +4 -0
- package/README.md +4 -4
- package/package.json +6 -6
- package/src/HiveDriver.js +2 -0
package/.oxlintrc.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
|
|
3
|
+
"extends": ["../cubejs-linter/node.json"],
|
|
4
|
+
"ignorePatterns": [
|
|
5
|
+
"dist/",
|
|
6
|
+
"lib/",
|
|
7
|
+
"build/",
|
|
8
|
+
"coverage/",
|
|
9
|
+
"gen/",
|
|
10
|
+
"**/*.d.ts",
|
|
11
|
+
// vendored Thrift output
|
|
12
|
+
"idl/"
|
|
13
|
+
]
|
|
14
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.7.38](https://github.com/cube-js/cube/compare/v1.7.37...v1.7.38) (2026-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @cubejs-backend/hive-driver
|
|
9
|
+
|
|
6
10
|
## [1.7.37](https://github.com/cube-js/cube/compare/v1.7.35...v1.7.37) (2026-09-10)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<p align="center"><a href="https://cube.dev"><img src="https://i.imgur.com/zYHXm4o.png" alt="Cube
|
|
1
|
+
<p align="center"><a href="https://cube.dev"><img src="https://i.imgur.com/zYHXm4o.png" alt="Cube" width="300px"></a></p>
|
|
2
2
|
|
|
3
3
|
[Website](https://cube.dev) • [Docs](https://docs.cube.dev) • [Blog](https://cube.dev/blog) • [Slack](https://slack.cube.dev) • [Twitter](https://twitter.com/the_cube_dev)
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/js/%40cubejs-backend%2Fserver)
|
|
6
6
|
[](https://github.com/cube-js/cube.js/actions?query=workflow%3ABuild+branch%3Amaster)
|
|
7
7
|
|
|
8
|
-
# Cube
|
|
8
|
+
# Cube Hive Database Driver
|
|
9
9
|
|
|
10
10
|
Pure Javascript Thrift HiveServer 2 driver.
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ Pure Javascript Thrift HiveServer 2 driver.
|
|
|
13
13
|
|
|
14
14
|
This package is **community supported** and should be used at your own risk.
|
|
15
15
|
|
|
16
|
-
While the Cube Dev team is happy to review and accept future community contributions, we don't have active plans for further development. This includes bug fixes unless they affect different parts of Cube.
|
|
16
|
+
While the Cube Dev team is happy to review and accept future community contributions, we don't have active plans for further development. This includes bug fixes unless they affect different parts of Cube. **We're looking for maintainers for this package.** If you'd like to become a maintainer, please contact us in Cube Slack.
|
|
17
17
|
|
|
18
18
|
## Contributing Missing Hive Protocol
|
|
19
19
|
|
|
@@ -33,4 +33,4 @@ While the Cube Dev team is happy to review and accept future community contribut
|
|
|
33
33
|
|
|
34
34
|
## License
|
|
35
35
|
|
|
36
|
-
Cube
|
|
36
|
+
Cube Hive Database Driver is [Apache 2.0 licensed](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/hive-driver",
|
|
3
|
-
"description": "Cube
|
|
3
|
+
"description": "Cube Hive database driver",
|
|
4
4
|
"author": "Cube Dev, Inc.",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.38",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/cube-js/cube.git",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"main": "src/HiveDriver.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@cubejs-backend/base-driver": "1.7.
|
|
17
|
-
"@cubejs-backend/shared": "1.7.
|
|
16
|
+
"@cubejs-backend/base-driver": "1.7.38",
|
|
17
|
+
"@cubejs-backend/shared": "1.7.38",
|
|
18
18
|
"jshs2": "^0.4.4",
|
|
19
19
|
"sasl-plain": "^0.1.0",
|
|
20
20
|
"saslmechanisms": "^0.1.1",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@cubejs-backend/linter": "1.7.
|
|
26
|
+
"@cubejs-backend/linter": "1.7.38"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"jest": {
|
|
32
32
|
"testEnvironment": "node"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "9ea1fda5dade5b8a4256acd20bcf77318fe13a72"
|
|
35
35
|
}
|
package/src/HiveDriver.js
CHANGED
|
@@ -138,6 +138,7 @@ class HiveDriver extends BaseDriver {
|
|
|
138
138
|
async testConnection() {
|
|
139
139
|
// eslint-disable-next-line no-underscore-dangle
|
|
140
140
|
const conn = await this.pool._factory.create();
|
|
141
|
+
|
|
141
142
|
try {
|
|
142
143
|
return await this.handleQuery('SELECT 1', [], conn);
|
|
143
144
|
} finally {
|
|
@@ -160,6 +161,7 @@ class HiveDriver extends BaseDriver {
|
|
|
160
161
|
values = values || [];
|
|
161
162
|
const sql = SqlString.format(query, values);
|
|
162
163
|
const connection = conn || await this.pool.acquire();
|
|
164
|
+
|
|
163
165
|
try {
|
|
164
166
|
const execResult = await connection.cursor.execute(sql);
|
|
165
167
|
// eslint-disable-next-line no-constant-condition
|