4paradigm / 4paradigm/OpenMLDB

cli: print is unclear when a row is empty string

未关闭
#3,017 0 条评论 0 个 reaction 已指派 1 人 已被 @vagetablechicken 认领 在 GitHub 查看
bug enhancement
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

version v0.7.1
src csv:
```
c1,c2
,
"",""
```
load data to online in cluster load_mode, select * result is:
```
------ ------
c1 c2
------ ------
NULL NULL
------ ------

2 rows in set
```
2 rows in set, but seems like just one row.

The offline print sytle is more clear:
```
+----+----+
| c1| c2|
+----+----+
|null|null|
| | |
+----+----+
```

贡献指南

打开贡献指南

调研方向

Look at the CLI output formatting code, likely in a module handling result display. Compare offline and online print styles to understand the discrepancy. The fix involves adjusting the formatting logic to properly display empty string rows in the online cluster load_mode. Test by loading the provided CSV and verifying the output shows two distinct rows.

由索引模型根据 Issue 内容生成。

评估

技术栈
cli
领域
cli, data-visualization
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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