@cubejs-backend/hive-driver 1.7.36 → 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 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,16 @@
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
+
10
+ ## [1.7.37](https://github.com/cube-js/cube/compare/v1.7.35...v1.7.37) (2026-09-10)
11
+
12
+ ### Features
13
+
14
+ - Support named ESM exports across all drivers ([#11838](https://github.com/cube-js/cube/issues/11838)) ([1699910](https://github.com/cube-js/cube/commit/1699910ef05c808ba9e114fcb4cd02432bd3767e))
15
+
6
16
  ## [1.7.36](https://github.com/cube-js/cube/compare/v1.7.35...v1.7.36) (2026-09-09)
7
17
 
8
18
  **Note:** Version bump only for package @cubejs-backend/hive-driver
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.js" width="300px"></a></p>
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
  [![npm version](https://badge.fury.io/js/%40cubejs-backend%2Fserver.svg)](https://badge.fury.io/js/%40cubejs-backend%2Fserver)
6
6
  [![GitHub Actions](https://github.com/cube-js/cube.js/workflows/Build/badge.svg)](https://github.com/cube-js/cube.js/actions?query=workflow%3ABuild+branch%3Amaster)
7
7
 
8
- # Cube.js Hive Database Driver
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.js. **We're looking for maintainers for this package.** If you'd like to become a maintainer, please contact us in Cube.js Slack.
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.js Hive Database Driver is [Apache 2.0 licensed](./LICENSE).
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.js Hive database driver",
3
+ "description": "Cube Hive database driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "1.7.36",
5
+ "version": "1.7.38",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.git",
@@ -12,13 +12,9 @@
12
12
  "node": ">=20.0.0"
13
13
  },
14
14
  "main": "src/HiveDriver.js",
15
- "scripts": {
16
- "lint": "eslint src/* --ext .ts",
17
- "lint:fix": "eslint --fix src/* --ext .ts"
18
- },
19
15
  "dependencies": {
20
- "@cubejs-backend/base-driver": "1.7.36",
21
- "@cubejs-backend/shared": "1.7.36",
16
+ "@cubejs-backend/base-driver": "1.7.38",
17
+ "@cubejs-backend/shared": "1.7.38",
22
18
  "jshs2": "^0.4.4",
23
19
  "sasl-plain": "^0.1.0",
24
20
  "saslmechanisms": "^0.1.1",
@@ -27,7 +23,7 @@
27
23
  },
28
24
  "license": "Apache-2.0",
29
25
  "devDependencies": {
30
- "@cubejs-backend/linter": "1.7.36"
26
+ "@cubejs-backend/linter": "1.7.38"
31
27
  },
32
28
  "publishConfig": {
33
29
  "access": "public"
@@ -35,8 +31,5 @@
35
31
  "jest": {
36
32
  "testEnvironment": "node"
37
33
  },
38
- "eslintConfig": {
39
- "extends": "../cubejs-linter"
40
- },
41
- "gitHead": "0e1c035e2b48a6b44cfd1f10d5c6e94b4bba76d6"
34
+ "gitHead": "9ea1fda5dade5b8a4256acd20bcf77318fe13a72"
42
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
@@ -222,3 +224,4 @@ class HiveDriver extends BaseDriver {
222
224
  }
223
225
 
224
226
  module.exports = HiveDriver;
227
+ module.exports.HiveDriver = HiveDriver;