4paradigm / 4paradigm/OpenMLDB

cli: print is unclear when a row is empty string

オープン
#3,017 コメント 0 件 リアクション 0 件 担当者 1 名 @vagetablechicken が担当を希望しています GitHub で見る
bug enhancement
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。