4paradigm / 4paradigm/OpenMLDB

Support show variables like syntax

オープン
#3,601 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
sql
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**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.

![image](https://github.com/4paradigm/OpenMLDB/assets/2715000/b153cc7b-4afe-45a2-886a-57d5d18e8e8d)

**Additional context**

We have support `like` udf in other SQLs and may use in `show variables`.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
cli, databases
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
40/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。