tidb-lightning
tidb-lightning copied to clipboard
More flexible CSV options
Currently the CSV parser has some restrictions to simplify parsing, but some of them can probably be relaxed:
- [ ] Separator (
,) and delimiter (") could be more than 1 byte - [ ] The "NULL" string could be a regex pattern (e.g.
NULL|\s*)
(More points may be added depending on request.)
(Internal reference: (1) PRM-332, (2) PRM-243.)