OpenMLDB icon indicating copy to clipboard operation
OpenMLDB copied to clipboard

Add restriction for values of execute_mode

Open tobegit3hub opened this issue 3 years ago • 2 comments

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

image

tobegit3hub avatar Dec 22 '21 07:12 tobegit3hub

I've thought about it. It's better to define how to use it first(we may need convert string to enum), then add the assign restriction(string to enum too). So I leave it.

vagetablechicken avatar Dec 23 '21 02:12 vagetablechicken

Not only the value, we'll add restriction for variable keys. (We don't support to use user-defined vars, so it's ok to restrict the variable names)

vagetablechicken avatar Sep 19 '22 08:09 vagetablechicken