4paradigm / 4paradigm/OpenMLDB

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

オープン
#1,224 コメント 0 件 リアクション 0 件 担当者 1 名 @dl239 が担当を希望しています GitHub で見る
enhancement
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。