調用CreateIndex介面在指定的資料表上建立索引表。

請求訊息結構

message CreateIndexRequest {
    required string main_table_name = 1;
    required IndexMeta index_meta = 2;
    optional bool include_base_data = 3;
}
參數 類型 是否必選 描述
main_table_name string 索引表所在資料表的名稱。
index_meta IndexMeta 索引表的schema。
include_base_data bool 是否包含在建立索引表前資料表的存量資料。

響應訊息結構



message CreateIndexResponse {
}

使用SDK