alibaba / alibaba/DataX

TxtFileReader读取csv文件 分割符为逗号 但是字段数据中也存在逗号,保存到数据库中逗号没有了

Open
#1,202 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

TxtFileReader读取csv文件 分割符为逗号 但是字段数据中也存在逗号,保存到数据库中逗号没有了

csv文件
202101,"cc,dd.",,,

数据库中变成了

202101
cc dd.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the TxtFileReader path that parses the shown CSV row and sends its fields to the database. Reproduce the quoted-field case, then verify that the comma inside "cc,dd." is preserved while surrounding empty fields remain correctly separated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.