4paradigm / 4paradigm/OpenMLDB

Improve CLI success info

未关闭
#849 0 条评论 0 个 reaction 已指派 1 人 已被 @jingchen2222 认领 在 GitHub 查看
enhancement
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。