4paradigm / 4paradigm/OpenMLDB

Support show variables like syntax

Abierto
#3,601 0 comentarios 0 reacciones 0 asignados Ver en GitHub
sql
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
cli, databases
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
40/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.