4paradigm / 4paradigm/OpenMLDB
Support show variables like syntax
- 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ả
**Describe the feature you'd like**
Now mysql supports "show variables like" to show some variables instead of all variables. Refer to https://dev.mysql.com/doc/refman/8.0/en/show-variables.html .
But it does not support in OpenMLDB SQL.

**Additional context**
We have support `like` udf in other SQLs and may use in `show variables`.
Hướng dẫn đóng góp
Hướng nghiên cứu
The issue is about extending the 'SHOW VARIABLES' command in OpenMLDB to support a 'LIKE' clause, similar to MySQL. Look for the SQL parser and command executor code that handles 'SHOW VARIABLES'. Check existing 'LIKE' UDF implementations to understand the pattern matching logic. Test the change by running the modified SQL command in the OpenMLDB CLI to verify it filters variables correctly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- sql
- Lĩnh vực
- cli, databases
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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
- 40/100