作者 yangfu

验证sql增加索引排序

... ... @@ -474,6 +474,7 @@ func (tableService *TableService) ValidExprSql(ctx *domain.Context, cmd *command
sql := "select " + selectValue + " as expr"
if len(set.KeysStr()) > 0 {
sql += " from " + strings.Join(set.KeysStr(), ",")
sql += " order by id "
sql += " limit 1"
}
//tx := starrocks.DB.Exec(sql)
... ...