Repository navigation
*: bump arrow-go and update replacement (#69461) | plugin=pr/248 - #70075
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@joechenrh This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. DetailsInstructions 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. |
📝 WalkthroughWalkthroughDependency versions and Bazel repository pins are refreshed across the Go ecosystem. The Parquet parser enables page streaming, with a large-page test verifying complete reads and bounded peak allocation. ChangesDependency refresh and Parquet streaming
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Test as Large-page test
participant Parser as NewParquetParser
participant Reader as Parquet reader
participant Allocator as trackingAllocator
Test->>Parser: create parser with streaming enabled
Parser->>Reader: configure PageStreamingEnabled
Reader->>Allocator: use streaming buffers
Reader-->>Test: read rows and return io.EOF
Test->>Allocator: verify bounded peak allocation
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
go.mod (1)
146-170: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick winRemove all unresolved Git conflict markers before merging.
The
<<<<<<<,=======, and>>>>>>>markers makego.modsyntactically invalid, so commands such asgo mod tidy,go list, and builds that resolve this module will fail. Resolve each dependency choice and remove the markers from all four regions.Also applies to: 229-236, 243-253, 364-399
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@go.mod` around lines 146 - 170, Resolve every remaining merge conflict in go.mod, including the dependency blocks around the visible golang.org/x entries and the additional referenced regions. Choose the correct dependency versions for each conflict, then remove all <<<<<<<, =======, and >>>>>>> markers so go.mod is valid and module commands can run.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@DEPS.bzl`:
- Around line 1050-1060: Resolve every remaining merge conflict in DEPS.bzl,
including the go_repository entries around com_github_cncf_xds_go and the other
listed dependency blocks, removing all conflict markers so the file is valid
Starlark. Reconcile each version and checksum deliberately, and merge both
sides’ go_repository additions in the OpenTelemetry detectors and
org_golang_google_grpc sections rather than discarding either side.
---
Outside diff comments:
In `@go.mod`:
- Around line 146-170: Resolve every remaining merge conflict in go.mod,
including the dependency blocks around the visible golang.org/x entries and the
additional referenced regions. Choose the correct dependency versions for each
conflict, then remove all <<<<<<<, =======, and >>>>>>> markers so go.mod is
valid and module commands can run.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 68e15f4a-0ab5-47be-b88d-c6848956ac90
⛔ Files ignored due to path filters (1)
go.sumis excluded by!**/*.sum
📒 Files selected for processing (5)
DEPS.bzlgo.modpkg/dumpformat/parquetfile/BUILD.bazelpkg/lightning/mydump/parquet_parser.gopkg/lightning/mydump/parquet_parser_test.go
Signed-off-by: Ruihao Chen <joechenrh@gmail.com>
|
Cherry-pick conflicts appear resolved; removing the |
Signed-off-by: Ruihao Chen <joechenrh@gmail.com>
|
/hold |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-nextgen-202603 #70075 +/- ##
===========================================================
Coverage ? 76.1896%
===========================================================
Files ? 1937
Lines ? 541297
Branches ? 0
===========================================================
Hits ? 412412
Misses ? 128885
Partials ? 0
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: cfzjywxk, D3Hunter, joechenrh 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 |
|
/unhold |
|
/hold |
|
Will merge with https://github.com/pingcap-inc/enterprise-plugin/pull/248 |
|
/unhold |
bf088d1
into
pingcap:release-nextgen-202603
This is an automated cherry-pick of #69461
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
TiDB currently replaces
github.com/apache/arrow-go/v18with a forked module. Now the fork is no longer needed.What changed and how does it work?
github.com/apache/arrow-go/v18tov18.6.1-0.20260713210906-efc145c067b6, which includes feat(parquet): opt-in streaming reads for large data pages apache/arrow-go#880.github.com/joechenrh/arrow-go/v18.cloud.google.com/go/storagepinned to v1.39.1 to avoid the current Bazel protobuf toolchain incompatibility.Check List
Tests
Page-streaming benchmark
c6i.2xlargein the same region as the S3 bucket.The cells below are median parse throughput in MiB/s (CV; median peak RSS in MiB):
Profiles show that the PR's 8 MiB-per-column setting allocates about 196 MiB in Arrow's
bufferedReader.resetBufferin case B; representative total allocation rose from 61 MB on master to 268 MB. This explains the small-page regression. In case A, page streaming reduces representative total allocation from 466 MB on master to 157 MB with an 8 MiB total budget and 150 MB with 1 KiB per column. CPU samples were dominated by TLS/syscall andruntime.memmove; no new decoder hotspot appeared.The result supports page streaming, but not an 8 MiB buffer per column. The current implementation therefore keeps the existing 1 KiB read-ahead, which gives the best overall balance in these workloads; an 8 MiB total budget still regresses the small-page case by about 11% at the median.
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
Summary by CodeRabbit