Skip to main content

data_vector_indexes

Creates, updates, deletes, gets or lists a data_vector_indexes resource.

Overview

Namedata_vector_indexes
TypeResource
Iddatabricks_workspace.vectorsearch.data_vector_indexes

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
upsertdatavectorindexreplacedeployment_nameHandles the upserting of data into a specified vector index.
deletedatavectorindexdeletedeployment_nameHandles the deletion of data from a specified vector index.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

REPLACE examples

Handles the upserting of data into a specified vector index.

REPLACE databricks_workspace.vectorsearch.data_vector_indexes
SET
data__inputs_json = '{{ inputs_json }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
RETURNING
result,
status;

DELETE examples

Handles the deletion of data from a specified vector index.

DELETE FROM databricks_workspace.vectorsearch.data_vector_indexes
WHERE deployment_name = '{{ deployment_name }}' --required;