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
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Delete a single managed-catalog table. The catalog row is removed and the backing parquet file (if any) is scheduled for deletion. Only valid against connections whose source type is `managed`.
282
+
283
+
### Example
284
+
285
+
* Api Key Authentication (WorkspaceId):
286
+
* Bearer Authentication (BearerAuth):
287
+
288
+
```python
289
+
import hotdata
290
+
from hotdata.rest import ApiException
291
+
from pprint import pprint
292
+
293
+
# Defining the host is optional and defaults to https://api.hotdata.dev
294
+
# See configuration.py for a list of all supported configuration parameters.
295
+
configuration = hotdata.Configuration(
296
+
host="https://api.hotdata.dev"
297
+
)
298
+
299
+
# The client must configure the authentication and authorization parameters
300
+
# in accordance with the API server security policy.
301
+
# Examples for each auth method are provided below, use the example that
**400** | Connection is not a managed catalog | - |
360
+
**404** | Connection or table not found | - |
361
+
362
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -528,6 +618,101 @@ This endpoint does not need any parameter.
528
618
529
619
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Publish a previously-uploaded parquet file as the new generation of a managed table. The upload must reference a parquet file (verified by magic bytes). Only `mode = "replace"` is supported. Concurrent loads against the same upload return 409.
627
+
628
+
### Example
629
+
630
+
* Api Key Authentication (WorkspaceId):
631
+
* Bearer Authentication (BearerAuth):
632
+
633
+
```python
634
+
import hotdata
635
+
from hotdata.models.load_managed_table_request import LoadManagedTableRequest
636
+
from hotdata.models.load_managed_table_response import LoadManagedTableResponse
637
+
from hotdata.rest import ApiException
638
+
from pprint import pprint
639
+
640
+
# Defining the host is optional and defaults to https://api.hotdata.dev
641
+
# See configuration.py for a list of all supported configuration parameters.
642
+
configuration = hotdata.Configuration(
643
+
host="https://api.hotdata.dev"
644
+
)
645
+
646
+
# The client must configure the authentication and authorization parameters
647
+
# in accordance with the API server security policy.
648
+
# Examples for each auth method are provided below, use the example that
**409** | Upload already consumed or in flight | - |
713
+
714
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Request body for `POST /v1/connections/{connection_id}/schemas/{schema}/tables/{table}/loads`. Publishes a previously-uploaded parquet file as the new generation for the named managed table. `mode` is fixed to `\"replace\"` today; the field is kept in the request body so future modes (e.g. append) are an additive change.
**mode** | **str** | Load mode. Only `\"replace\"` is supported in this release. |
10
+
**upload_id** | **str** | ID of a previously-staged upload (see `POST /v1/files`). The upload must reference a parquet file. The upload is claimed atomically; concurrent loads against the same `upload_id` return 409. |
11
+
12
+
## Example
13
+
14
+
```python
15
+
from hotdata.models.load_managed_table_request import LoadManagedTableRequest
16
+
17
+
#TODO update the JSON string below
18
+
json ="{}"
19
+
# create an instance of LoadManagedTableRequest from a JSON string
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments