Repository navigation
Bound JSONLINE continuation and respect batch budget - #32366
mergify[bot] merged 5 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: c502f42b6d99d3cc0336009fac46dedd413f7bd9
Assessment: approve
The continuation buffer reuses CSVParser limits and bytejson validation, bounds growth, and preserves batch resumption and cleanup. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Isolated external and csvparser package tests passed: 727 top-level tests, including all 10 new tests; no skips.
-
Preflight, native build, frozen-source/delta and formatting checks passed. Receipts and retained logs reconcile in validation-index.json.
-
Reused successful frozen-head build, UT, SCA and compose BVT CI, plus author-reported repeated SQL results. Complete discussion assessment saved.
Limitations:
-
Author SQL results lack attached raw logs; SQL/BVT was not independently rerun locally.
-
The continuation payload bound does not establish total parser heap/RSS bounds or overall SQL throughput.
✅ Merged into
|
What type of PR is this?
Which issue(s) this PR fixes:
What this PR does / why we need it:
JSONLINE records spanning physical lines could accumulate beyond the effective record limit, ignore the per-batch read budget, and repeatedly copy and parse growing prefixes. Bound accumulated payload before allocation, scan continuation fragments incrementally, and use capped geometric buffer growth. Continuations now yield at the batch budget and resume across calls while preserving EOF, error, and Kafka message behavior.
Validation:
Full remote CI has not yet run. Existing blocking I/O behavior and complete parse-tree memory are outside this change's bounds.