pingcap / pingcap/tidb

Lightning should check row limitation before importing

Open
#39,980 0 comments 0 reactions 0 assignees View on GitHub
component/lightning may-affects-4.0 may-affects-5.0 may-affects-5.1 may-affects-5.2 may-affects-5.3 may-affects-5.4 may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 severity/moderate type/bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.