4paradigm / 4paradigm/OpenMLDB

Add restriction for values of execute_mode

未关闭
#947 2 条评论 0 个 reaction 已指派 1 人 已指派给 @vagetablechicken 在 GitHub 查看
enhancement
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

Now users can set any string value to `execute_mode` which is invalid and should be prevented when setting.

![image](https://user-images.githubusercontent.com/2715000/147051516-d86999ed-d876-4b26-bf46-d705754b00e9.png)

贡献指南

打开贡献指南

调研方向

Look for the `execute_mode` configuration setting in the codebase, likely in a configuration validation or parsing module. The issue indicates invalid string values are currently accepted; the fix is to add validation to allow only specific valid values. Check existing tests for configuration handling to understand the expected behavior and add a test for the new restriction.

由索引模型根据 Issue 内容生成。

评估

技术栈
databases, machine-learning
领域
backend, databases
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。