importinto/lightning: check max row size when parsing csv to avoid OOM (#58592)#60500
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #60500 +/- ##
================================================
Coverage ? 57.0398%
================================================
Files ? 1769
Lines ? 630484
Branches ? 0
================================================
Hits ? 359627
Misses ? 246708
Partials ? 24149
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Benjamin2037, joccau The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/test unit-test |
|
@joccau: No presubmit jobs available for pingcap/tidb@release-8.5 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This is an automated cherry-pick of #58592
What problem does this PR solve?
Issue Number: close #58590
Problem Summary:
What changed and how does it work?
Check List
Tests
import a file with 20 fields, each field is about 10+M, total row size is about 266M
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.