4paradigm / 4paradigm/OpenMLDB
Add restriction for values of execute_mode
Open
enhancement
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
Now users can set any string value to `execute_mode` which is invalid and should be prevented when setting.

Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- databases, machine-learning
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100