importinto/lightning: change library for parquet import | plugin=pr/204 (#63979)
This is an automated cherry-pick of #63979
What problem does this PR solve?
Issue Number: ref #62906
Problem Summary:
What changed and how does it work?
Switch from parquet-go to arrow-go, which can better meet our requirement.
Later we will add memory control for parquet import based on this library
Check List
Tests
- [X] Unit test
- [ ] Integration test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test
- [ ] I checked and no code files have been changed.
Side effects
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility
Documentation
- [ ] Affects user behaviors
- [ ] Contains syntax changes
- [ ] Contains variable changes
- [ ] Contains experimental features
- [ ] Changes MySQL compatibility
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
None
@joechenrh This PR has conflicts, I have hold it.
Please resolve them or ask others to resolve them, then comment /unhold to remove the hold label.
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide.
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 ti-community-infra/tichi repository.
Codecov Report
:x: Patch coverage is 74.39394% with 169 lines in your changes missing coverage. Please review.
:warning: Please upload report for BASE (release-8.5@a23316c). Learn more about missing BASE report.
Additional details and impacted files
@@ Coverage Diff @@
## release-8.5 #64746 +/- ##
================================================
Coverage ? 77.7199%
================================================
Files ? 1684
Lines ? 473460
Branches ? 0
================================================
Hits ? 367973
Misses ? 83460
Partials ? 22027
| Flag | Coverage Δ | |
|---|---|---|
| integration | 52.0340% <45.9090%> (?) |
|
| unit | 72.5635% <71.6666%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Components | Coverage Δ | |
|---|---|---|
| dumpling | 52.9278% <0.0000%> (?) |
|
| parser | ∅ <0.0000%> (?) |
|
| br | 69.7167% <0.0000%> (?) |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
[LGTM Timeline notifier]
Timeline:
/approve
/retest
/retest
/retest
/retest
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bb7133, D3Hunter, fzzf678, Leavrth
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [D3Hunter,Leavrth,bb7133]
- ~~br/pkg/storage/OWNERS~~ [D3Hunter,Leavrth]
- ~~lightning/OWNERS~~ [D3Hunter]
- ~~pkg/disttask/OWNERS~~ [D3Hunter]
- ~~pkg/executor/importer/OWNERS~~ [D3Hunter]
- ~~pkg/lightning/OWNERS~~ [D3Hunter]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment