Bug #88689 LOAD DATA is failed if JSON file include blank line at end of file
Submitted: 29 Nov 2017 6:57 Modified: 30 Nov 2021 9:53
Reporter: Yoshimi Takahashi Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: JSON Severity:S3 (Non-critical)
Version:5.7, 5.7.36 OS:Linux
Assigned to: CPU Architecture:Any
Tags: json

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[29 Nov 2017 6:57] Yoshimi Takahashi
LOAD DATA is failed

Attachment: sample_data.json (application/octet-stream, text), 1.44 KiB.

[29 Nov 2017 6:58] Yoshimi Takahashi
LOAD DATA is succeed

Attachment: sample_data_2.json (application/octet-stream, text), 1.44 KiB.