Skip to content

Commit ebb6f2f

Browse files
committed
feat!: remove deprecated Elasticsearch driver
BREAKING CHANGE: The Elasticsearch driver has been removed. It was deprecated in v1.6.0. There is no drop-in replacement.
1 parent d91df4b commit ebb6f2f

40 files changed

Lines changed: 6 additions & 3547 deletions

File tree

.github/actions/integration/elasticsearch.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ driver:duckdb:
4444
- changed-files:
4545
- any-glob-to-any-file: packages/cubejs-duckdb-driver/**/*
4646

47-
driver:elasticsearch:
48-
- changed-files:
49-
- any-glob-to-any-file: packages/cubejs-elasticsearch-driver/**/*
50-
5147
driver:firebolt:
5248
- changed-files:
5349
- any-glob-to-any-file: packages/cubejs-firebolt-driver/**/*

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ jobs:
400400
# @see https://github.com/vertica/vertica-containers/issues/64
401401
db: [
402402
'athena', 'bigquery', 'snowflake', 'trino',
403-
'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb',
403+
'clickhouse', 'druid', 'mssql', 'mysql', 'postgres', 'prestodb',
404404
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt',
405405
# 'dremio' # Commented out because of flaky integration tests
406406
# 'vertica'

DEPRECATION.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ features:
6767
| Deprecated | [`CUBEJS_SCHEDULED_REFRESH_CONCURRENCY`](#cubejs_scheduled_refresh_concurrency) | v1.2.7 | |
6868
| Deprecated | [Node.js 20](#nodejs-20) | v1.3.0 | |
6969
| Deprecated | [`renewQuery` parameter of the `/v1/load` endpoint](#renewquery-parameter-of-the-v1load-endpoint) | v1.3.73 | |
70-
| Deprecated | [Elasticsearch driver](#elasticsearch-driver) | v1.6.0 | |
70+
| Removed | [Elasticsearch driver](#elasticsearch-driver) | v1.6.0 | v1.7.0 |
7171
| Deprecated | [`context_to_roles`](#context-to-roles) | v1.6.4 | |
7272

7373
### Node.js 8
@@ -427,7 +427,9 @@ options and use the new `cache` parameter of the `/v1/load` endpoint instead.
427427
428428
**Deprecated in Release: v1.6.0**
429429
430-
The Elasticsearch driver is deprecated and will be removed in a future release.
430+
**Removed in Release: v1.7.0**
431+
432+
The Elasticsearch driver has been removed.
431433
432434
### `context_to_roles`
433435

docs-mintlify/admin/connect-to-data/data-sources/elasticsearch.mdx

Lines changed: 0 additions & 75 deletions
This file was deleted.

docs-mintlify/admin/connect-to-data/data-sources/index.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ sources.
107107
## Other data sources
108108

109109
<CardGroup cols={3}>
110-
<Card title="Elasticsearch" icon="brand-elastic" href="/admin/connect-to-data/data-sources/elasticsearch">
111-
Connect to Elasticsearch.
112-
</Card>
113110
<Card title="MongoDB" icon="leaf" href="/admin/connect-to-data/data-sources/mongodb">
114111
Connect to MongoDB.
115112
</Card>

docs-mintlify/admin/deployment/providers/aws.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Cube Cloud integrates with the following [data sources](/admin/connect-to-data/d
2121
- [Amazon Athena](/admin/connect-to-data/data-sources/aws-athena)
2222
- [Postgres](/admin/connect-to-data/data-sources/postgres), [Microsoft SQL Server](/admin/connect-to-data/data-sources/ms-sql), [MySQL](/admin/connect-to-data/data-sources/mysql), and [Oracle](/admin/connect-to-data/data-sources/oracle) on [Amazon RDS](https://aws.amazon.com/rds/)
2323
- [Hive / SparkSQL](/admin/connect-to-data/data-sources/hive), [Presto](/admin/connect-to-data/data-sources/presto), and [Trino](/admin/connect-to-data/data-sources/trino) on [Amazon EMR](https://aws.amazon.com/emr/)
24-
- [Elasticsearch](/admin/connect-to-data/data-sources/elasticsearch) on [Amazon OpenSearch Service](https://aws.amazon.com/opensearch-service/)
2524
- [Parquet, CSV, and JSON files](/admin/connect-to-data/data-sources/duckdb) on [Amazon S3](https://aws.amazon.com/s3/)
2625

2726
## Data visualization tools

docs-mintlify/docs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@
243243
"admin/connect-to-data/data-sources/databricks-jdbc",
244244
"admin/connect-to-data/data-sources/druid",
245245
"admin/connect-to-data/data-sources/duckdb",
246-
"admin/connect-to-data/data-sources/elasticsearch",
247246
"admin/connect-to-data/data-sources/firebolt",
248247
"admin/connect-to-data/data-sources/google-bigquery",
249248
"admin/connect-to-data/data-sources/hive",

docs-mintlify/reference/configuration/environment-variables.mdx

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -413,42 +413,6 @@ A flag to use credentials chain for secrets for S3 connections.
413413
| ----------------------------------------------------- | ---------------------- | --------------------- |
414414
| `true`, `false` | `false` | `false` |
415415

416-
## `CUBEJS_DB_ELASTIC_APIKEY_ID`
417-
418-
The [ID of the API key from elastic.co][elastic-docs-api-keys]. Required when
419-
using Elastic Cloud.
420-
421-
| Possible Values | Default in Development | Default in Production |
422-
| ----------------------------- | ---------------------- | --------------------- |
423-
| A valid Elastic.co API key ID | N/A | N/A |
424-
425-
## `CUBEJS_DB_ELASTIC_APIKEY_KEY`
426-
427-
The [API key from elastic.co][elastic-docs-api-keys]. Required when using
428-
Elastic Cloud.
429-
430-
| Possible Values | Default in Development | Default in Production |
431-
| -------------------------- | ---------------------- | --------------------- |
432-
| A valid Elastic.co API key | N/A | N/A |
433-
434-
## `CUBEJS_DB_ELASTIC_OPENDISTRO`
435-
436-
If `true`, then use the Open Distro for Elasticsearch.
437-
438-
| Possible Values | Default in Development | Default in Production |
439-
| --------------- | ---------------------- | --------------------- |
440-
| `true`, `false` | N/A | N/A |
441-
442-
## `CUBEJS_DB_ELASTIC_QUERY_FORMAT`
443-
444-
By default, queries return data in JDBC format, but you can also return data in
445-
standard Elasticsearch JDBC, JSON, CSV, YAML or raw formats (only JSON and JDBC
446-
are currently supported).
447-
448-
| Possible Values | Default in Development | Default in Production |
449-
| --------------- | ---------------------- | --------------------- |
450-
| `json`, `jdbc` | N/A | N/A |
451-
452416
## `CUBEJS_DB_EXPORT_BUCKET`
453417

454418
The name of a bucket in cloud storage to store the database export snapshots.
@@ -1861,8 +1825,6 @@ The port for a Cube deployment to listen to API connections on.
18611825
https://docs.databricks.com/data/databricks-file-system.html#mount-object-storage-to-dbfs
18621826
[databricks-docs-pat]:
18631827
https://docs.databricks.com/dev-tools/api/latest/authentication.html#token-management
1864-
[elastic-docs-api-keys]:
1865-
https://www.elastic.co/guide/en/kibana/master/api-keys.html#create-api-key
18661828
[firebolt-docs-account-name]:
18671829
https://docs.firebolt.io/managing-your-account/concepts-and-terminology.html#firebolt-account
18681830
[firebolt-docs-engine-name]:

docs/content/product/administration/deployment/providers/aws.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Cube Cloud integrates with the following [data sources](/product/configuration/d
1818
- [Amazon Athena](/product/configuration/data-sources/aws-athena)
1919
- [Postgres](/product/configuration/data-sources/postgres), [Microsoft SQL Server](/product/configuration/data-sources/ms-sql), [MySQL](/product/configuration/data-sources/mysql), and [Oracle](/product/configuration/data-sources/oracle) on [Amazon RDS](https://aws.amazon.com/rds/)
2020
- [Hive / SparkSQL](/product/configuration/data-sources/hive), [Presto](/product/configuration/data-sources/presto), and [Trino](/product/configuration/data-sources/trino) on [Amazon EMR](https://aws.amazon.com/emr/)
21-
- [Elasticsearch](/product/configuration/data-sources/elasticsearch) on [Amazon OpenSearch Service](https://aws.amazon.com/opensearch-service/)
2221
- [Parquet, CSV, and JSON files](/product/configuration/data-sources/duckdb) on [Amazon S3](https://aws.amazon.com/s3/)
2322

2423
## Data visualization tools

0 commit comments

Comments
 (0)