4paradigm / 4paradigm/OpenMLDB
cli: print is unclear when a row is empty string
- Ngôn ngữ chính
- C++
- Star
- 1.7k
- Fork
- 331
- Merge trung bình
- 12 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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|
| | |
+----+----+
```
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cli
- Lĩnh vực
- cli, data-visualization
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100