Skip to main content

index_scan

Creates, updates, deletes, gets or lists an index_scan resource.

Overview

Nameindex_scan
TypeResource
Iddatabricks_workspace.vectorsearch.index_scan

Fields

The following fields are returned by SELECT queries:

Successful response with scan results.

NameDatatypeDescription
dataarray
last_primary_keystring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
scanindexselectdeployment_nameScan the specified vector index and return the first

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)

SELECT examples

Scan the specified vector index and return the first

SELECT
data,
last_primary_key
FROM databricks_workspace.vectorsearch.index_scan
WHERE deployment_name = '{{ deployment_name }}' -- required;