4paradigm / 4paradigm/OpenMLDB

Add restriction for values of execute_mode

Aperta
#947 2 commenti 0 reazioni 1 assegnatario Assegnata a @vagetablechicken Vedi su GitHub
enhancement
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
databases, machine-learning
Ambito
backend, databases
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.