4paradigm / 4paradigm/OpenMLDB

CLI with interactive=false does not print error message if fail to execute SQL

Abierto
#1,224 0 comentarios 0 reacciones 1 asignado Reclamado por @dl239 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

Now we use `interactive=false` to execute SQL and it does not print any error message if we pass the incorrect SQL.

wecom-temp-3fa9e2cf0069009b83dc1bce5fe39ba6

BTW, the SQL should be end with `;` which is not expected.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Look at the CLI code that handles SQL execution with interactive=false. The issue mentions that error messages are not printed when SQL is incorrect and that SQL should end with a semicolon. Start by finding where SQL commands are parsed and executed in non-interactive mode, then add error output. Check if there are existing tests for CLI error handling to verify the fix.

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

Evaluación

Stack tecnológico
cli, sql
Área
cli, databases
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.