Skip to content

Commit 8aa1c2c

Browse files
chore: remove datasets API and related job types
1 parent c630d0a commit 8aa1c2c

77 files changed

Lines changed: 219 additions & 2572 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ docs/ColumnProfileDetailOneOf2.md
1717
docs/ColumnProfileDetailOneOf3.md
1818
docs/ColumnProfileDetailOneOf4.md
1919
docs/ColumnProfileInfo.md
20-
docs/ColumnTypeSpec.md
2120
docs/ConnectionHealthResponse.md
2221
docs/ConnectionInfo.md
2322
docs/ConnectionRefreshResult.md
@@ -30,8 +29,6 @@ docs/CreateConnectionRequest.md
3029
docs/CreateConnectionResponse.md
3130
docs/CreateDatabaseRequest.md
3231
docs/CreateDatabaseResponse.md
33-
docs/CreateDatasetRequest.md
34-
docs/CreateDatasetResponse.md
3532
docs/CreateEmbeddingProviderRequest.md
3633
docs/CreateEmbeddingProviderResponse.md
3734
docs/CreateIndexRequest.md
@@ -48,23 +45,13 @@ docs/DatabaseDefaultTableDecl.md
4845
docs/DatabaseDetailResponse.md
4946
docs/DatabaseSummary.md
5047
docs/DatabasesApi.md
51-
docs/DatasetSource.md
52-
docs/DatasetSourceOneOf.md
53-
docs/DatasetSourceOneOf1.md
54-
docs/DatasetSourceOneOf2.md
55-
docs/DatasetSourceOneOf3.md
56-
docs/DatasetSourceOneOf4.md
57-
docs/DatasetSummary.md
58-
docs/DatasetVersionSummary.md
59-
docs/DatasetsApi.md
6048
docs/DiscoveryStatus.md
6149
docs/EmbeddingProviderResponse.md
6250
docs/EmbeddingProvidersApi.md
6351
docs/Error.md
6452
docs/ExecuteSavedQueryRequest.md
6553
docs/GetConnectionResponse.md
6654
docs/GetDatabaseContextResponse.md
67-
docs/GetDatasetResponse.md
6855
docs/GetResultResponse.md
6956
docs/GetSecretResponse.md
7057
docs/IndexEntryResponse.md
@@ -73,8 +60,6 @@ docs/IndexStatus.md
7360
docs/IndexesApi.md
7461
docs/InformationSchemaApi.md
7562
docs/InformationSchemaResponse.md
76-
docs/InlineData.md
77-
docs/InlineDatasetSource.md
7863
docs/JobResult.md
7964
docs/JobStatus.md
8065
docs/JobStatusResponse.md
@@ -84,8 +69,6 @@ docs/ListConnectionTypesResponse.md
8469
docs/ListConnectionsResponse.md
8570
docs/ListDatabaseContextsResponse.md
8671
docs/ListDatabasesResponse.md
87-
docs/ListDatasetVersionsResponse.md
88-
docs/ListDatasetsResponse.md
8972
docs/ListEmbeddingProvidersResponse.md
9073
docs/ListIndexesPageResponse.md
9174
docs/ListIndexesResponse.md
@@ -108,52 +91,46 @@ docs/QueryResponse.md
10891
docs/QueryRunInfo.md
10992
docs/QueryRunsApi.md
11093
docs/RefreshApi.md
111-
docs/RefreshDatasetResponse.md
11294
docs/RefreshRequest.md
11395
docs/RefreshResponse.md
11496
docs/RefreshWarning.md
11597
docs/ResultInfo.md
11698
docs/ResultsApi.md
11799
docs/ResultsFormatQuery.md
118100
docs/SavedQueriesApi.md
119-
docs/SavedQueryDatasetSource.md
120101
docs/SavedQueryDetail.md
121102
docs/SavedQuerySummary.md
122103
docs/SavedQueryVersionInfo.md
123104
docs/SchemaRefreshResult.md
124105
docs/SecretMetadataResponse.md
125106
docs/SecretsApi.md
126-
docs/SqlQueryDatasetSource.md
127107
docs/SubmitJobResponse.md
128108
docs/TableInfo.md
129109
docs/TableProfileResponse.md
130110
docs/TableRefreshError.md
131111
docs/TableRefreshResult.md
132112
docs/TemporalProfileDetail.md
133113
docs/TextProfileDetail.md
134-
docs/UpdateDatasetRequest.md
135-
docs/UpdateDatasetResponse.md
136114
docs/UpdateEmbeddingProviderRequest.md
137115
docs/UpdateEmbeddingProviderResponse.md
138116
docs/UpdateSavedQueryRequest.md
139117
docs/UpdateSecretRequest.md
140118
docs/UpdateSecretResponse.md
141-
docs/UploadDatasetSource.md
142119
docs/UploadInfo.md
143120
docs/UploadResponse.md
144121
docs/UploadsApi.md
145122
docs/UpsertDatabaseContextRequest.md
146123
docs/UpsertDatabaseContextResponse.md
147-
docs/UrlDatasetSource.md
124+
docs/UsageApi.md
148125
docs/WorkspaceDetail.md
149126
docs/WorkspaceListItem.md
127+
docs/WorkspaceUsageResponse.md
150128
docs/WorkspacesApi.md
151129
src/apis/configuration.rs
152130
src/apis/connection_types_api.rs
153131
src/apis/connections_api.rs
154132
src/apis/database_context_api.rs
155133
src/apis/databases_api.rs
156-
src/apis/datasets_api.rs
157134
src/apis/embedding_providers_api.rs
158135
src/apis/indexes_api.rs
159136
src/apis/information_schema_api.rs
@@ -166,6 +143,7 @@ src/apis/results_api.rs
166143
src/apis/saved_queries_api.rs
167144
src/apis/secrets_api.rs
168145
src/apis/uploads_api.rs
146+
src/apis/usage_api.rs
169147
src/apis/workspaces_api.rs
170148
src/models/add_managed_schema_request.rs
171149
src/models/add_managed_table_decl.rs
@@ -185,7 +163,6 @@ src/models/column_profile_detail_one_of_2.rs
185163
src/models/column_profile_detail_one_of_3.rs
186164
src/models/column_profile_detail_one_of_4.rs
187165
src/models/column_profile_info.rs
188-
src/models/column_type_spec.rs
189166
src/models/connection_health_response.rs
190167
src/models/connection_info.rs
191168
src/models/connection_refresh_result.rs
@@ -196,8 +173,6 @@ src/models/create_connection_request.rs
196173
src/models/create_connection_response.rs
197174
src/models/create_database_request.rs
198175
src/models/create_database_response.rs
199-
src/models/create_dataset_request.rs
200-
src/models/create_dataset_response.rs
201176
src/models/create_embedding_provider_request.rs
202177
src/models/create_embedding_provider_response.rs
203178
src/models/create_index_request.rs
@@ -212,29 +187,18 @@ src/models/database_default_schema_decl.rs
212187
src/models/database_default_table_decl.rs
213188
src/models/database_detail_response.rs
214189
src/models/database_summary.rs
215-
src/models/dataset_source.rs
216-
src/models/dataset_source_one_of.rs
217-
src/models/dataset_source_one_of_1.rs
218-
src/models/dataset_source_one_of_2.rs
219-
src/models/dataset_source_one_of_3.rs
220-
src/models/dataset_source_one_of_4.rs
221-
src/models/dataset_summary.rs
222-
src/models/dataset_version_summary.rs
223190
src/models/discovery_status.rs
224191
src/models/embedding_provider_response.rs
225192
src/models/error.rs
226193
src/models/execute_saved_query_request.rs
227194
src/models/get_connection_response.rs
228195
src/models/get_database_context_response.rs
229-
src/models/get_dataset_response.rs
230196
src/models/get_result_response.rs
231197
src/models/get_secret_response.rs
232198
src/models/index_entry_response.rs
233199
src/models/index_info_response.rs
234200
src/models/index_status.rs
235201
src/models/information_schema_response.rs
236-
src/models/inline_data.rs
237-
src/models/inline_dataset_source.rs
238202
src/models/job_result.rs
239203
src/models/job_status.rs
240204
src/models/job_status_response.rs
@@ -243,8 +207,6 @@ src/models/list_connection_types_response.rs
243207
src/models/list_connections_response.rs
244208
src/models/list_database_contexts_response.rs
245209
src/models/list_databases_response.rs
246-
src/models/list_dataset_versions_response.rs
247-
src/models/list_datasets_response.rs
248210
src/models/list_embedding_providers_response.rs
249211
src/models/list_indexes_page_response.rs
250212
src/models/list_indexes_response.rs
@@ -265,38 +227,32 @@ src/models/numeric_profile_detail.rs
265227
src/models/query_request.rs
266228
src/models/query_response.rs
267229
src/models/query_run_info.rs
268-
src/models/refresh_dataset_response.rs
269230
src/models/refresh_request.rs
270231
src/models/refresh_response.rs
271232
src/models/refresh_warning.rs
272233
src/models/result_info.rs
273234
src/models/results_format_query.rs
274-
src/models/saved_query_dataset_source.rs
275235
src/models/saved_query_detail.rs
276236
src/models/saved_query_summary.rs
277237
src/models/saved_query_version_info.rs
278238
src/models/schema_refresh_result.rs
279239
src/models/secret_metadata_response.rs
280-
src/models/sql_query_dataset_source.rs
281240
src/models/submit_job_response.rs
282241
src/models/table_info.rs
283242
src/models/table_profile_response.rs
284243
src/models/table_refresh_error.rs
285244
src/models/table_refresh_result.rs
286245
src/models/temporal_profile_detail.rs
287246
src/models/text_profile_detail.rs
288-
src/models/update_dataset_request.rs
289-
src/models/update_dataset_response.rs
290247
src/models/update_embedding_provider_request.rs
291248
src/models/update_embedding_provider_response.rs
292249
src/models/update_saved_query_request.rs
293250
src/models/update_secret_request.rs
294251
src/models/update_secret_response.rs
295-
src/models/upload_dataset_source.rs
296252
src/models/upload_info.rs
297253
src/models/upload_response.rs
298254
src/models/upsert_database_context_request.rs
299255
src/models/upsert_database_context_response.rs
300-
src/models/url_dataset_source.rs
301256
src/models/workspace_detail.rs
302257
src/models/workspace_list_item.rs
258+
src/models/workspace_usage_response.rs

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- chore: remove datasets API and related job types
13+
1014
### Fixed
1115

1216
- Pre-response connection errors are now retried transparently on **any** method,

docs/ColumnTypeSpec.md

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

docs/CreateDatabaseRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**default_catalog** | Option<**String**> | Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the system catalogs `hotdata`, `datasets`, or `information_schema`. Defaults to `default` when omitted, so `default.main.<table>` keeps working. | [optional]
7+
**default_catalog** | Option<**String**> | Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. Defaults to `default` when omitted, so `default.main.<table>` keeps working. | [optional]
88
**expires_at** | Option<**String**> | When this database expires. Accepts either an RFC 3339 timestamp (e.g. `\"2026-06-01T00:00:00Z\"`) or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days) — for example `\"24h\"`, `\"48h\"`, or `\"7d\"`. Omitted (or empty) means the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp. | [optional]
99
**name** | Option<**String**> | Optional free-form display label (for UIs/CLIs). Not unique. Not an identifier — databases are always addressed by `id`. Accepts the legacy `description` key as an alias so clients that predate the rename keep populating this field. | [optional]
1010
**schemas** | Option<[**Vec<models::DatabaseDefaultSchemaDecl>**](DatabaseDefaultSchemaDecl.md)> | Optional schemas/tables to declare on the database's auto-created default catalog. Tables declared here can be loaded via the standard managed-table load endpoint targeting `default_connection_id`. Omitted or empty means the default catalog starts empty. | [optional]

docs/CreateDatasetRequest.md

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

docs/CreateDatasetResponse.md

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

docs/DatabaseContextApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Removes a named context document from a database.
2424
Name | Type | Description | Required | Notes
2525
------------- | ------------- | ------------- | ------------- | -------------
2626
**database_id** | **String** | Database ID | [required] |
27-
**name** | **String** | Context key: same character rules as a dataset table name | [required] |
27+
**name** | **String** | Context key: same character rules as a table name | [required] |
2828

2929
### Return type
3030

@@ -53,7 +53,7 @@ Get one database context
5353
Name | Type | Description | Required | Notes
5454
------------- | ------------- | ------------- | ------------- | -------------
5555
**database_id** | **String** | Database ID | [required] |
56-
**name** | **String** | Context key: same character rules as a dataset table name | [required] |
56+
**name** | **String** | Context key: same character rules as a table name | [required] |
5757

5858
### Return type
5959

docs/DatabasesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Name | Type | Description | Required | Notes
114114
> models::CreateDatabaseResponse create_database(create_database_request)
115115
Create database
116116

117-
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
117+
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
118118

119119
### Parameters
120120

docs/DatasetSource.md

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

docs/DatasetSourceOneOf.md

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

0 commit comments

Comments
 (0)