[Bug] 导出工具在导出 SQL 时,双引号未转义
- Lingua principale
- Java
- Stelle
- 6.4k
- Fork
- 1.2k
- Merge medio
- 1g 23h
- PR unite (30g)
- 115
Descrizione
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
Wingows 11
IoTDB 1.3.3
### Describe the bug and provide the minimal reproduce step
如果 TEXT 类型的时间序列的值中包含 `"`,按照语法规范应该转写为 `""`。
具体代码位置为 [ExportData.java#L761](https://github.com/apache/iotdb/blob/94e0f30598fbe76ac15e019e442b4b430b7afb5f/iotdb-client/cli/src/main/java/org/apache/iotdb/tool/data/ExportData.java#L761)
### What did you expect to see?
-
### What did you see instead?
-
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Read iotdb-client/cli/src/main/java/org/apache/iotdb/tool/data/ExportData.java around line 761, where SQL export handles TEXT values. Reproduce an export containing a double quote and compare the generated SQL with the required doubled-quote syntax. Done means exported SQL escapes every embedded double quote correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, sql
- Ambito
- cli, database
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100