4paradigm / 4paradigm/OpenMLDB

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

Ouverte
#2,589 1 commentaire 0 réactions 1 personne assignée Réclamée par @vagetablechicken Voir sur GitHub
bug storage-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
sql
Domaine
data-engineering, databases
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.