4paradigm / 4paradigm/OpenMLDB

Improve CLI success info

Abierto
#849 0 comentarios 0 reacciones 1 asignado Reclamado por @jingchen2222 Ver en GitHub
enhancement
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

**Is your feature request related to a problem? Please describe.**

This issue is going to improve CLI output when SQL operate successfully.
For instance, when we query a create table statement in CLI successfully,
```sql
> CREATE TABLE abc (a INT);
```
The CLI will output text like:
```bash
SUCCEED: Create successfully
```

We expect a standard output like:
```
Query OK, 0 rows affected (0.09 sec)
```
which is far more familiar with SQL users.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Look for CLI output code, likely in a client or terminal interface module. Find where 'SUCCEED: Create successfully' is generated. Understand the SQL command execution flow to format a success message with rows affected and timing. Test changes by running CREATE TABLE statements in the CLI and verifying the new output matches the MySQL-style format.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.