4paradigm / 4paradigm/OpenMLDB
Improve CLI success info
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 1
説明
**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.
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- sql
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100