4paradigm / 4paradigm/OpenMLDB

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

Abierto
#2,589 1 comentario 0 reacciones 1 asignado Reclamado por @vagetablechicken Ver en GitHub
bug storage-engine
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
data-engineering, databases
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.