LOAD DATA LOCAL INFILE
fails when row size exceeds 64K (65535 bytes) limit
#8469
Labels
LOAD DATA LOCAL INFILE
fails when row size exceeds 64K (65535 bytes) limit
#8469
Bug Description
When executing the following command:
An error occurs when the row length exceeds 64K (65535 bytes). The error appears to be related to the use of
bufio.Scanner
in the Go MySQL server implementation.Steps to Reproduce
Create the table using the following schema:
Prepare a CSV file (
t_b.csv
) with content similar to this:Execute the
LOAD DATA LOCAL INFILE
statement:Possible Cause
The issue appears to be caused by the use of
bufio.Scanner
, which imposes a token size limit of 64K, as seen in the Go MySQL server code, particularly inddl_iters.go
.The text was updated successfully, but these errors were encountered: