Updated on 2026-11-06 GMT+08:00

SHOW INDEX

Function

SHOW INDEX prints the indexes that have been created for a Lance table. The returned table contains three columns: table name, index name, and index column name.

If the table name is specified, only all indexes of the current Lance table are returned.

If no table name is specified, the indexes of all Lance tables in the current database are returned.

Constraints

Currently, it can only return indexes of Lance foreign tables.

Syntax

1
SHOW INDEX [table_name];

Parameter Description

table_name: target table name