4paradigm / 4paradigm/OpenMLDB
CLI with interactive=false does not print error message if fail to execute SQL
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
Now we use `interactive=false` to execute SQL and it does not print any error message if we pass the incorrect SQL.

BTW, the SQL should be end with `;` which is not expected.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cli, sql
- Domaine
- cli, databases
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100