4paradigm / 4paradigm/OpenMLDB
CLI with interactive=false does not print error message if fail to execute SQL
未关闭
enhancement
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
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.
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cli, sql
- 领域
- cli, databases
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100