跳转至

DESCRIBE INDEX

DESCRIBE INDEX语句可以查看指定索引的信息,包括索引的属性名称(Field)和数据类型(Type)。

语法

DESCRIBE {TAG | EDGE} INDEX <index_name>;

示例

nebula> DESCRIBE TAG INDEX player_index_0;
+--------+--------------------+
| Field  | Type               |
+--------+--------------------+
| "name" | "fixed_string(30)" |
+--------+--------------------+

nebula> DESCRIBE TAG INDEX player_index_1;
+--------+--------------------+
| Field  | Type               |
+--------+--------------------+
| "name" | "fixed_string(10)" |
| "age"  | "int64"            |
+--------+--------------------+

最后更新: March 7, 2023