@cubejs-backend/dremio-driver 0.34.37 → 0.34.39

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 CHANGED
@@ -3,6 +3,25 @@
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
+ ## [0.34.39](https://github.com/cube-js/cube/compare/v0.34.38...v0.34.39) (2023-12-21)
7
+
8
+ **Note:** Version bump only for package @cubejs-backend/dremio-driver
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.34.38](https://github.com/cube-js/cube/compare/v0.34.37...v0.34.38) (2023-12-19)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **dremio-driver:** Fix generation of time series SQL ([#7503](https://github.com/cube-js/cube/issues/7503)) ([7e84d4c](https://github.com/cube-js/cube/commit/7e84d4c0eb3639893faf11a10a11316b9870a0d5))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.34.37](https://github.com/cube-js/cube/compare/v0.34.36...v0.34.37) (2023-12-19)
7
26
 
8
27
  **Note:** Version bump only for package @cubejs-backend/dremio-driver
@@ -73,7 +73,7 @@ class DremioQuery extends BaseQuery {
73
73
  const values = timeDimension.timeSeries().map(
74
74
  ([from, to]) => `select '${from}' f, '${to}' t`
75
75
  ).join(' UNION ALL ');
76
- return `SELECT TIMESTAMP(dates.f) date_from, TIMESTAMP(dates.t) date_to FROM (${values}) AS dates`;
76
+ return `SELECT TO_TIMESTAMP(dates.f, 'YYYY-MM-DDTHH:MI:SS.FFF') date_from, TO_TIMESTAMP(dates.t, 'YYYY-MM-DDTHH:MI:SS.FFF') date_to FROM (${values}) AS dates`;
77
77
  }
78
78
 
79
79
  concatStringsSql(strings) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cubejs-backend/dremio-driver",
3
3
  "description": "Cube.js Dremio driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "0.34.37",
5
+ "version": "0.34.39",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.git",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@cubejs-backend/base-driver": "^0.34.33",
21
- "@cubejs-backend/schema-compiler": "^0.34.37",
21
+ "@cubejs-backend/schema-compiler": "^0.34.39",
22
22
  "@cubejs-backend/shared": "^0.34.33",
23
23
  "axios": "^0.21.1",
24
24
  "moment-timezone": "^0.5.31",
@@ -38,5 +38,5 @@
38
38
  "eslintConfig": {
39
39
  "extends": "../cubejs-linter"
40
40
  },
41
- "gitHead": "595c23dc095825180036b2c3950671d6a75065eb"
41
+ "gitHead": "30cc79816a7b61667376babad28dc43c1f0f315b"
42
42
  }