Lightning should check row limitation before importing
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
Users could load data with a long row (exceeding the limitation of a single row) with TiDB-Lightning. But when performing operations like adding an index, and updating a single row, users will meet errors.
### 2. What did you expect to see? (Required)
TiDB-Lightning should report errors when a long row exceeds the limitation of a single row.
### 3. What did you see instead (Required)
TiDB-Lightning imported data successfully. But error reports when adding index. Error is like "entry too large, the max entry size is 6291456, the size of data is 16773896".
### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.