Skip to content

Commit 758c688

Browse files
committed
chore: add SelectivityMap field to CreateAdviseIndexTaskReq for enhanced index recommendation tasks
1 parent e04a864 commit 758c688

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sqle/server/optimization/sql_flash/sql_flash_types.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,10 @@ type GetRewriteResultResp struct {
255255
Data *RewriteResult `json:"data"`
256256
}
257257

258-
// ========== 索引推荐任务相关结构 ==========
259-
260258
// 创建索引推荐任务请求
261259
type CreateAdviseIndexTaskReq struct {
262-
Explain string `json:"explain"` // 执行计划信息
260+
Explain string `json:"explain"` // 执行计划信息
261+
SelectivityMap string `json:"selectivity_map"` // 列选择性信息
263262
}
264263

265264
// 创建索引推荐任务响应

0 commit comments

Comments
 (0)