4paradigm / 4paradigm/OpenMLDB

During online export (SELECT INTO), when quote='#', # in the string will not be escaped

Đang mở
#2,589 1 bình luận 0 reaction 1 người được giao Được @vagetablechicken nhận Xem trên GitHub
bug storage-engine
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ả

**Bug Description**
During online export, when quote='#', the # in the string will not be escaped, which will lead to inconsistency when the exported data is imported again

**Expected Behavior**
```
Original data:~!@$%^#&*()_+<
After export:#~!@$%^#&*()_+<#
Expected:#~!@$%^\#&*()_+<#
```
**Relation Case**
test_select_into_load_data.yaml id:0-1
**Steps to Reproduce**

1.
2.
3.
4.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look at the online export logic, likely in a file handling SELECT INTO with quote characters. The test case test_select_into_load_data.yaml id:0-1 is a starting point. Understand how escaping works when quote='#' and ensure # in string data is escaped. Verify by running the test after changes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
sql
Lĩnh vực
data-engineering, databases
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.