@cubejs-backend/dremio-driver 0.34.36 → 0.34.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/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.38](https://github.com/cube-js/cube/compare/v0.34.37...v0.34.38) (2023-12-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.34.37](https://github.com/cube-js/cube/compare/v0.34.36...v0.34.37) (2023-12-19)
18
+
19
+ **Note:** Version bump only for package @cubejs-backend/dremio-driver
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.34.36](https://github.com/cube-js/cube/compare/v0.34.35...v0.34.36) (2023-12-16)
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.36",
5
+ "version": "0.34.38",
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.36",
21
+ "@cubejs-backend/schema-compiler": "^0.34.38",
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": "b5a8de58ae29dc201f9e14936d94cf27fb27984c"
41
+ "gitHead": "9a7fd5a1eee9657b1ff1808717cd6c7c70b3edf1"
42
42
  }