4paradigm / 4paradigm/OpenMLDB

Add restriction for values of execute_mode

Đang mở
#947 2 bình luận 0 reaction 1 người được giao Được giao cho @vagetablechicken Xem trên GitHub
enhancement
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
databases, machine-learning
Lĩnh vực
backend, databases
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.