4paradigm / 4paradigm/OpenMLDB

Add restriction for values of execute_mode

Abierto
#947 2 comentarios 0 reacciones 1 asignado Asignado a @vagetablechicken Ver en GitHub
enhancement
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
databases, machine-learning
Área
backend, databases
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.