You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **client-core:** Fix for the issue with Generated SQL tab in playground ([#9675](https://github.com/cube-js/cube/issues/9675)) ([17570d4](https://github.com/cube-js/cube/commit/17570d42a70292a58baba963fd3f8106816a2824))
- **cubeorchestrator:** Fix serialization of link type format for dimension ([#9649](https://github.com/cube-js/cube/issues/9649)) ([267ce43](https://github.com/cube-js/cube/commit/267ce4374a549b970cef399743a0009f3deb4a35))
13
+
- **questdb-driver:** Fix invalid QuestDB timestamp floor year unit ([#9678](https://github.com/cube-js/cube/issues/9678)) ([33012b1](https://github.com/cube-js/cube/commit/33012b1d20a54d63c24f20f7538d2bf504fd24ef))
14
+
- **schema-compiler:** Case insensitive filter for ClickHouse ([#9373](https://github.com/cube-js/cube/issues/9373)) ([273d277](https://github.com/cube-js/cube/commit/273d277e1058feff36796c48cf0fb315a8211ced))
- **tesseract:** Fix rolling window external pre-aggregation ([#9625](https://github.com/cube-js/cube/issues/9625)) ([aae3b05](https://github.com/cube-js/cube/commit/aae3b05f49222009f57e407c52d7288bb33b9b8a))
17
+
- **tesseract:** Fix rolling window with few time dimensions, filter_group in segments and member expressions ([#9673](https://github.com/cube-js/cube/issues/9673)) ([98d334b](https://github.com/cube-js/cube/commit/98d334bb8ee4debe49b428c92581f63596f3f56c))
18
+
- **tesseract:** Fix typo in interval ([#9680](https://github.com/cube-js/cube/issues/9680)) ([9b75d99](https://github.com/cube-js/cube/commit/9b75d99a08abfd54a075e61a3040e14c034a5169))
19
+
- **tesseract:** Handle JS exceptions in Rust with safe call ([#9677](https://github.com/cube-js/cube/issues/9677)) ([bb6d655](https://github.com/cube-js/cube/commit/bb6d6557b7c39267660dd3ae59ff341881c41a4b))
20
+
21
+
### Features
22
+
23
+
- **duckdb-driver:** Add support for using default credential provider chain for duckdb s3 access ([#9679](https://github.com/cube-js/cube/issues/9679)) ([89f54e9](https://github.com/cube-js/cube/commit/89f54e91af72e5d671268472d3ff04ebb841d1ed))
24
+
- **prestodb-driver, trino-driver:** Support dbUseSelectTestConnection flag ([#9663](https://github.com/cube-js/cube/issues/9663)) ([97b6bb4](https://github.com/cube-js/cube/commit/97b6bb43b9f3dd7209a8aa164680be76dcfc9f45))
25
+
- **schema-compiler:** Add support for time dimensions with granularities in multi-stage measures add_group_by ([#9657](https://github.com/cube-js/cube/issues/9657)) ([6700b43](https://github.com/cube-js/cube/commit/6700b432cc22d71b4b8ef650e835ba0cb33cf91c))
- **client-vue3:** Prevent heuristic call when initial query is empty in computed property validateQuery ([#9656](https://github.com/cube-js/cube/issues/9656)) ([622b266](https://github.com/cube-js/cube/commit/622b26601e6bde3f15fb1cfc5ff53daff5cb6ed9))
32
+
- Report more accurate time to APM on heavy used deployments ([#9667](https://github.com/cube-js/cube/issues/9667)) ([a900c78](https://github.com/cube-js/cube/commit/a900c787d3724ebdd241cb0e4f4562e37f81ce14))
33
+
- **schema-compiler:** Fix pre-aggregation for time dimension matching ([#9669](https://github.com/cube-js/cube/issues/9669)) ([0914e1e](https://github.com/cube-js/cube/commit/0914e1ed89b7d1cf8f3bf8dc19858aeaf4b779a7))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,15 +126,15 @@ To enhance the adoption of community-contributed drivers, we decided to split th
126
126
4. Posting a backlink to an open-source repository would be a good idea here so people can provide feedback on it by posting issues.
127
127
5. Before creating PR for the main repository, please make sure it's tested with the standard Cube E2E testing suite. An example of an E2E testing suite can be found here: https://github.com/cube-js/cube/blob/master/packages/cubejs-testing/test/driver-postgres.test.ts
128
128
6. If you're creating PR for the main repo, please be prepared to become a maintainer for this driver and dedicate some time to it. There're no specific time requirements. As a rule of thumb, you should expect to spend time on a weekly basis.
129
-
7. Due to limited resources Core team will review and merge driver PRs based on popularity and development activity.
129
+
7. Due to limited resources Core team will review and merge driver PRs based on popularity and development activity. Preference is given to drivers that are used by a significant number of users.
130
130
131
131
### Implementing a Driver
132
132
133
133
1. Copy existing driver package structure and name it in `@cubejs-backend/<db-name>-driver` format.
134
134
`@cubejs-backend/mysql-driver` is a very good candidate for copying this structure.
135
135
2. Please do not copy *CHANGELOG.md*.
136
136
3. Name driver class and adjust package.json, README.md accordingly.
137
-
4. As a rule of thumb please use only Pure JS libraries as a dependencies where possible.
137
+
4. As a rule of thumb please use only pure JS libraries as a dependencies where possible.
138
138
It increases driver adoption rate a lot.
139
139
5. Typically, you need to implement only `query()` and `testConnection()` methods of driver.
140
140
The rest will be done by `BaseDriver` class.
@@ -145,10 +145,9 @@ The rest will be done by `BaseDriver` class.
145
145
146
146
### Implementing a JDBC Driver
147
147
148
-
If there's existing JDBC Driver in place for Database of interest you can just create `DbTypes` configuration inside
|`CUBEJS_DB_DUCKDB_MEMORY_LIMIT`| The maximum memory limit for DuckDB. Equivalent to `SET memory_limit=<MEMORY_LIMIT>`. Default is 75% of available RAM | A valid memory limit | ❌ | ✅ |
65
-
|`CUBEJS_DB_DUCKDB_SCHEMA`| The [default search schema][link-duckdb-configuration-ref]| A valid schema name | ❌ | ✅ |
66
-
|`CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN`| The service token to use for connections to MotherDuck | A valid [MotherDuck service token][motherduck-docs-svc-token]| ❌ | ✅ |
67
-
|`CUBEJS_DB_DUCKDB_DATABASE_PATH`| The database filepath to use for connection to a local database. | A valid duckdb database file path | ❌ | ✅ |
68
-
|`CUBEJS_DB_DUCKDB_S3_ACCESS_KEY_ID`| The Access Key ID to use for database connections | A valid Access Key ID | ❌ | ✅ |
69
-
|`CUBEJS_DB_DUCKDB_S3_SECRET_ACCESS_KEY`| The Secret Access Key to use for database connections | A valid Secret Access Key | ❌ | ✅ |
70
-
|`CUBEJS_DB_DUCKDB_S3_ENDPOINT`| The S3 endpoint | A valid [S3 endpoint][duckdb-docs-s3-import]| ❌ | ✅ |
71
-
|`CUBEJS_DB_DUCKDB_S3_REGION`| The [region of the bucket][duckdb-docs-s3-import]| A valid AWS region | ❌ | ✅ |
72
-
|`CUBEJS_DB_DUCKDB_S3_USE_SSL`| Use SSL for connection | A boolean | ❌ | ❌ |
73
-
|`CUBEJS_DB_DUCKDB_S3_URL_STYLE`| To choose the S3 URL style(vhost or path) | 'vhost' or 'path' | ❌ | ❌ |
74
-
|`CUBEJS_DB_DUCKDB_S3_SESSION_TOKEN`| The token for the S3 session | A valid Session Token | ❌ | ✅ |
75
-
|`CUBEJS_DB_DUCKDB_EXTENSIONS`| A comma-separated list of DuckDB extensions to install and load | A comma-separated list of DuckDB extensions | ❌ | ✅ |
76
-
|`CUBEJS_DB_DUCKDB_COMMUNITY_EXTENSIONS`| A comma-separated list of DuckDB community extensions to install and load | A comma-separated list of DuckDB community extensions | ❌ | ✅ |
77
-
|`CUBEJS_CONCURRENCY`| The number of [concurrent queries][ref-data-source-concurrency] to the data source | A valid number | ❌ |
|`CUBEJS_DB_DUCKDB_MEMORY_LIMIT`| The maximum memory limit for DuckDB. Equivalent to `SET memory_limit=<MEMORY_LIMIT>`. Default is 75% of available RAM | A valid memory limit | ❌ |
65
+
|`CUBEJS_DB_DUCKDB_SCHEMA`| The [default search schema][link-duckdb-configuration-ref]| A valid schema name | ❌ |
66
+
|`CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN`| The service token to use for connections to MotherDuck | A valid [MotherDuck service token][motherduck-docs-svc-token]| ❌ |
67
+
|`CUBEJS_DB_DUCKDB_DATABASE_PATH`| The database filepath to use for connection to a local database. | A valid duckdb database file path | ❌ |
68
+
|`CUBEJS_DB_DUCKDB_S3_ACCESS_KEY_ID`| The Access Key ID to use for database connections | A valid Access Key ID | ❌ |
69
+
|`CUBEJS_DB_DUCKDB_S3_SECRET_ACCESS_KEY`| The Secret Access Key to use for database connections | A valid Secret Access Key | ❌ |
70
+
|`CUBEJS_DB_DUCKDB_S3_ENDPOINT`| The S3 endpoint | A valid [S3 endpoint][duckdb-docs-s3-import]| ❌ |
71
+
|`CUBEJS_DB_DUCKDB_S3_REGION`| The [region of the bucket][duckdb-docs-s3-import]| A valid AWS region | ❌ |
72
+
|`CUBEJS_DB_DUCKDB_S3_USE_SSL`| Use SSL for connection | A boolean | ❌ |
73
+
|`CUBEJS_DB_DUCKDB_S3_URL_STYLE`| To choose the S3 URL style(vhost or path) |`vhost` or `path`| ❌ |
74
+
|`CUBEJS_DB_DUCKDB_S3_SESSION_TOKEN`| The token for the S3 session | A valid Session Token | ❌ |
75
+
|`CUBEJS_DB_DUCKDB_EXTENSIONS`| A comma-separated list of DuckDB extensions to install and load | A comma-separated list of DuckDB extensions | ❌ |
76
+
|`CUBEJS_DB_DUCKDB_COMMUNITY_EXTENSIONS`| A comma-separated list of DuckDB community extensions to install and load | A comma-separated list of DuckDB community extensions | ❌ |
77
+
|`CUBEJS_DB_DUCKDB_S3_USE_CREDENTIAL_CHAIN`| A flag to use credentials chain for secrets for S3 connections |`true`, `false`. Defaults to `false`| ❌ |
78
+
|`CUBEJS_CONCURRENCY`| The number of [concurrent queries][ref-data-source-concurrency] to the data source | A valid number | ❌ |
0 commit comments