Repository navigation
perf(load): add opt-in parquet parallel-load groundwork - #27903
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? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
I found one material performance regression in the new default path, plus a validation gap that currently hides it.
-
Default-parallel can add O(file-count × object-store RTT) planning latency to common many-file loads.
defaultParquetLoadParallelmakes every omitted-clause Parquet LOAD parallel once the aggregateFileSizecrossesLoadParallelMinSize(128 MiB).compileExternScanthen callsreadLoadParquetRowGroupMetadatabefore deciding between row-group fanout and whole-file fanout. That helper opens every matched file serially and performs footer Range reads. For a normal partitioned dataset containing hundreds or thousands of small, one-row-group Parquet objects whose aggregate size exceeds 128 MiB, the files already provide enough fanout, but the new default still serially pays every footer RTT before starting any load work. The read-ahead added in this PR does not help this branch because whole-file shards have noParquetRowGroupShards. This can make the default materially slower than today's serial path and slower to first row, especially on exactly the high-RTT S3-compatible stores this PR targets.Please avoid row-group metadata enumeration when file-level fanout already saturates the bounded execution DOP, or make the metadata planning itself bounded/concurrent, and add an instrumented many-small-file test/benchmark that reports footer calls and planning latency.
-
The green BVT does not exercise the behavior being made default. The newly added BVT only proves explicit
PARALLEL 'false'still loads eight rows. The existing rollback cases inload_data_parquet.sqlexplicitly document that their fixtures are belowLoadParallelMinSize, so they execute serially even withPARALLEL 'true'. The unit tests separately prove parser/default mutation and direct fanout construction, but no test takes an omittedPARALLELstatement through the threshold-crossing execution path, nor proves rollback/cancellation on that default path. This misses the central correctness/atomicity acceptance criteria of #27899.Please add a deterministic threshold-crossing execution test (a test seam is preferable to committing a huge fixture) covering omitted-default fanout and at least one shard failure/cancellation with zero partial rows. The existing serial opt-out test should remain.
The bounded ReaderAt implementation itself looks sound in the paths I checked: focused tests, 100x race tests, and the full external-package race suite pass; the synthetic benchmark reduced 128 sequential Range calls to 32 with 256 KiB retained cache and unchanged fetched bytes. The blockers are the default planning behavior and the lack of execution-level proof for the newly default path.
aunjgr
left a comment
There was a problem hiding this comment.
Request changes: this is a user-visible default and distributed hot-path change, not a local optimization. Omitting PARALLEL now changes Parquet LOAD from serial execution to row-group/file fanout, while compile performs footer I/O and each S3 shard adds bounded read-ahead. That crosses parser, planner, distributed scope ownership, external I/O, cancellation/rollback, and capacity boundaries and therefore requires a versioned, independently approved design. Issue #27899 explicitly labels its listed approaches as investigation directions rather than a design. Its acceptance criteria also require before/after Range calls, fetched bytes, wall time, and peak memory plus a small/local control; the PR body and exact-head CI contain no terminal benchmark record for those claims. Please add and approve the design, define atomic failure/cancellation and fanout/read-amplification budgets, and attach exact-head before/after endpoint/resource evidence before implementation approval.
aptend
left a comment
There was a problem hiding this comment.
Deep review completed at exact head 3ab0f8753ea25cb852cdf2b57d1167efd2cd15e3. I read the complete PR/issue/review history and checked both the full diff and the increment after the reviews on 10dd581acc8c955bc34cb5707b1430ac1432e1eb. The new early file-fanout decision closes the previously reported O(file-count × footer RTT) planning problem when file fanout saturates DOP, and the bounded ReaderAt behavior passed focused and race validation. Four blockers remain: the RFC is still unapproved, the newly default distributed failure/cancellation path has no threshold-crossing atomicity proof, the required endpoint/resource evidence is explicitly still missing even though the default is enabled immediately, and the formatter emits a new explicit-false state using syntax the parser rejects. Validation in an isolated exact-head worktree: make thirdparties, make cgo, full tests for the four changed Go packages, focused race tests repeated 10 times, the supplied benchmark, go vet, git diff --check, and a review-only parser counterexample (removed afterward).
1265721 to
e69240a
Compare
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-reviewed exact head e69240a against exact base 33af6ae, including the complete current change map, issue/RFC/evidence, all historical findings, the latest filepath and cancellation commits, parser/binder admission, distributed fanout, ReaderAt bounds, rollback, cancellation, performance, and current CI.
The latest commits genuinely close two earlier code/test findings. LOAD formatting now follows the established SQL-mode-aware string-literal escaping contract and round-trips backslashes plus quotes. The new barrier test also proves that every admitted local file scope is running before client-context cancellation and that every scope observes cancellation and terminates. The disabled-by-default experimental gate, explicit serial opt-out, early file-fanout path, bounded ReaderAt, and error rollback BVT remain sound.
Two approval blockers remain:
-
The mandatory design gate is still explicitly open. This exact RFC still says
draft — independent design approval pending. The implementation crosses user-visible parser/config semantics, distributed scope ownership, object-store I/O, memory/read amplification, cancellation, and statement-transaction rollback. Keeping rollout disabled is good containment, but the implementation remains production-activatable through session variables; under the design-first contract it cannot be implementation-approved until an independent review accepts the exact RFC revision and advances it to the repository in-progress state. -
The cancellation proof still covers termination only, not the RFCs atomic-visibility invariant under client cancellation. The probe replaces the real external/write operators, signals started, then blocks without producing any batch. The SQL BVT proves rollback after a schema error, which is a different terminal cause. The uncovered counterexample is: at least one admitted shard produces downstream write work, then the client/query context is canceled while siblings are active; all scopes terminate and no new rows become visible. Add a deterministic execution-level cancellation/rollback witness for that boundary, or cite reusable exact evidence in the RFC that independently proves the same transaction path and oracle.
Endpoint/resource evidence can remain a later release-default gate because this head keeps the feature disabled by default. Latest substantive CI is terminal green; it does not close the two design/verification blockers above.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-review of exact head 49353c5652cf875b13d47d96fabf8db2aa734f0d against base 335946ab464921238fd9c1a148626dfd35d10dd9, covering the full diff, issue/RFC, historical findings, parser/binder, distributed fanout, cancellation/rollback, ReaderAt, memory, performance, CI, and Q1-Q3 unhappy paths.
The latest commits genuinely close the previous cancellation blocker: all admitted fanout scopes are proven in flight before query-context cancellation, every scope terminates, and the frontend terminal owner independently proves a cancelled LOAD cannot commit and rolls back exactly once. Backslash filepath formatting and the earlier footer-planning regression also remain closed. Exact-head substantive CI is green.
Three blockers remain:
-
[P1 correctness] Formatting drops explicit
STRICT FALSEand reparsing silently changes it to true. The grammar defaults omitted STRICT to true, while the formatter emits STRICT only whennode.Param.Strictis true. Concrete path: parse a LOAD withPARALLEL TRUE STRICT FALSE; the AST hasStrict=false; format emits only PARALLEL; reparse defaultsStrict=true. Strict changes tail/offset construction in external LOAD, and the BVT already exercises strict-false behavior. EmitSTRICT FALSEwhen false must be preserved and add parse-format-parse cases for both parallel values crossed with both strict values. -
[P1 capacity/design] The new omitted-clause whole-file fanout activates an unaccounted full-file prefetch path. A file-count-saturating S3 load creates up to 10 scopes per CN; each scope without row-group shards can retain an entire file up to 128 MiB. That is up to about 1.25 GiB per query per CN before decode/batches, multiplied by concurrent queries, and this allocation does not reserve the execution resource budget. The RFC and benchmark only account for the 1 MiB row-group ReaderAt cache and never exercise this branch. Define and enforce a safe aggregate bound/admission or adapt/disable whole-file prefetch for fanout, then provide peak-memory and small-file evidence for this path.
-
[P1 design gate] The mandatory design is still explicitly
draft — independent design approval pending. No independent approval accepts this exact revision. The feature is production-activatable through session variables and crosses parser/config, distributed execution, object-store I/O, memory, cancellation, and transaction rollback, so implementation approval must wait for traceable acceptance of the exact RFC and advancement to in-progress. Endpoint evidence may remain a later release-default gate while rollout remains disabled.
No additional confirmed leak, double cleanup, hang, cache-growth, wire-compatibility, or log-storm issue was found. Local focused tests could not start because the isolated worktree correctly rejected a mismatched libmo.dylib; this is not code evidence either way. Exact-head Ubuntu UT, arm64 SCA, PROXY/PESSIMISTIC BVT, build, and coverage are terminal green.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-review of exact head ebb4164156535b9186359820895b44ecd991698f against base 3a85c337154c710997c26080c629784217a53f27 found two remaining blockers.
The latest commit genuinely closes the prior STRICT FALSE round-trip bug and the object-sized-per-scope memory risk: all four PARALLEL/STRICT combinations now reparse consistently, and a true whole-file fanout no longer retains up to 128 MiB per active scope. The previous footer-saturation, filepath escaping, cancellation termination, transaction rollback, and bounded row-group ReaderAt fixes also remain intact.
[P1 performance/control] The new prefetch guard confuses “parallel was requested” with “this operator is a whole-file fanout scope”, regressing both the serial fallback and the fanout I/O path.
At pkg/sql/plan/build_load.go:701-748, enabling the experimental gate first sets Parallel=true; size admission can then set it back to false while intentionally retaining ParallelLoadRequested=true. The resulting sub-threshold LOAD is serial. But pkg/sql/colexec/external/parquet.go:211-212 classifies every LOAD with ParallelLoadRequested && no row-group shards as whole-file fanout, so this serial operator loses its existing <=128 MiB S3 full-file prefetch. Lines 270-275 also deny it bounded read-ahead, leaving raw fine-grained ReaderAt calls.
Deterministic counterexample: set experimental_parquet_load_parallel=1 with the default 128 MiB threshold, then load a 64 MiB S3 Parquet object without PARALLEL. Admission correctly falls back to one serial scope, but this patch changes that scope from one full-file read to the high-RTT small-Range pattern the issue is meant to avoid. Explicit PARALLEL 'true' below admission has the same state.
A real whole-file fanout has the second half of the same problem: prefetch is correctly disabled for memory, but because it has no ParquetRowGroupShards, the new 1 MiB coalescing ReaderAt is also disabled. Each admitted file therefore falls through to raw fsReaderAt. The checked-in benchmark only measures the row-group wrapper and gives no Range-call/fetched-byte/small-file evidence for this newly selected branch.
Please represent actual scope shape separately from ParallelLoadRequested (which is still needed for LOAD conversion semantics), preserve the serial sub-threshold control, and give whole-file fanout a bounded I/O policy rather than raw Range reads. Add instrumented witnesses for (a) enabled-gate but sub-threshold serial prefetch/non-regression and (b) actual file fanout Range calls, fetched bytes, and retained memory.
[P1 design gate] Revision 5 is still explicitly draft — independent design approval pending.
This remains production-activatable through session variables and crosses parser/config semantics, distributed scope ownership, object-store I/O, memory/read amplification, cancellation, and statement rollback. No independent review accepts this exact RFC revision or advances it to the repository's in-progress state. The disabled release default is good containment, and representative endpoint evidence can remain the later default-enable gate, but implementation approval still requires traceable independent design acceptance after the file-fanout I/O contract above is corrected.
I re-audited file/row-group coverage, contiguous segmentation, remote scope encoding, error/cancellation propagation, transaction terminal ownership, cache bounds, wait/cleanup paths, and logging. I found no separate duplicate/missing-row, partial-commit, deadlock, leak, unbounded-cache, mixed-version, or log-storm blocker. Exact-head substantive CI is terminal green and git diff --check is clean.
There was a problem hiding this comment.
Deep re-review of exact head 0b54220 against base a2d9070 after the rebase, covering the complete current change map, all prior findings, issue/RFC/evidence, parser and session admission, file and row-group fanout, S3 I/O and memory bounds, remote protocol compatibility, cancellation/rollback, performance controls, unhappy paths, and current CI.
The latest commit genuinely closes the previous I/O/control blocker. Actual whole-file fanout is now represented separately from ParallelLoadRequested; a requested-but-sub-threshold serial load retains the existing small-object full-file prefetch, while a real fanout scope disables object-sized prefetch and receives the same bounded ReaderAt policy as row-group fanout. The marker survives operator duplication and remote encode/decode, and v42 peers fail closed at sender, receiver, and remote Prepare boundaries instead of silently losing the memory contract. Exact-head focused tests passed, as did race repetition x20 for concurrent ReaderAt, remote protocol validation, and cancellation termination. Substantive CI is green and diff-check is clean. I found no additional duplicate/missing-row, partial-commit, deadlock, goroutine/resource leak, unbounded cache, mixed-version silent fallback, or log-storm defect.
Two approval blockers remain:
-
[P1 design gate] Revision 5 still explicitly starts with Status: draft — independent design approval pending, and no independent review accepts this exact revision or advances it to in-progress. This is a user-visible parser/session feature plus distributed scope, v43 wire, object-store I/O, memory/read amplification, cancellation, and statement-transaction change. The disabled rollout gate is good containment, but it does not satisfy the design-first gate for a production-activatable implementation. Obtain traceable independent acceptance of this exact RFC revision and update its status before implementation approval.
-
[P1 delivery contract] The exact implementation does not yet do what the PR title/body claim. experimental_parquet_load_parallel defaults to 0, so an omitted PARALLEL clause remains serial after merge; the PR therefore lands opt-in experimental groundwork and does not yet satisfy issue #27899s default-parallel acceptance criterion. Either rename and rewrite the PR scope/body to state that it is disabled opt-in groundwork and explicitly leave the issue open for the default-enable follow-up, or complete the approved-design and representative endpoint/resource gate and then enable the intended default. It should not merge while claiming default behavior that the code deliberately does not provide.
The implementation itself is now technically coherent under the experimental gate; the remaining work is to close the design and delivery contract, not another speculative redesign.
There was a problem hiding this comment.
Deep re-review of exact head 4df3d1c12a744f31dcd2a5233f52760795e9de6b against base c46d897e9645b80178568ef0783dd8e99e527222.
The rebase is patch-equivalent to previously reviewed 0b54220b404f0ee87d0e6bd7c84a363856685497 (all 10 commits are = in range-diff). The current title/body now accurately scope this as disabled-by-default, session-scoped opt-in groundwork and explicitly leave #27899 open, so the prior delivery-contract blocker is closed. Exact-head substantive CI is terminal green.
I re-audited parser/session admission, explicit-false preservation, file/row-group coverage, DOP and contiguous shard assignment, S3 prefetch/read-ahead bounds, v43 sender/receiver/Prepare fail-closed compatibility, cancellation/rollback terminal ownership, and Q1-Q3 unhappy paths. I found no new duplicate/missing-row, partial-commit, correctness, performance, deadlock, leak, unbounded-growth, mixed-version silent-fallback, or log-storm blocker.
One mandatory blocker remains:
[P1 design gate] RFC revision 5 still declares Status: draft — independent design approval pending, and no independent reviewer has accepted this exact revision. This implementation is production-activatable through session variables and crosses user-visible parser/config semantics, distributed scope ownership, a v43 wire marker, object-store hot-path I/O and memory/read amplification, cancellation, and transaction rollback. A disabled default safely contains rollout, but it does not satisfy the repository design-first gate for merging the implementation. Please obtain traceable independent acceptance of exact RFC rev5 and advance its status before implementation approval. Representative endpoint/resource evidence can remain the later default-enable gate.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-review of exact head ad6b6cda79d2a905cf43817c33f3257d0b086a80 against base e0a87386511de6c3a1379a5024b269b84b5ca1c8.
The rebase is semantically stable: commits 1–9 are patch-identical to the previously reviewed range; commit 10 only moves the whole-file fanout capability from v43 to v44 because current main now owns cumulative v43. The sender, receiver, and remote Prepare fail-closed tests were updated consistently. Exact-head substantive CI is green, git diff --check passes, and the current-main merge-tree is clean.
Independent design review record:
- Scope: disabled-by-default, session-scoped Parquet parallel-LOAD groundwork; default-enable remains #27899 follow-up.
- Trigger: user-visible parser/config semantics, distributed scope ownership, wire capability, object-store hot-path I/O/memory, cancellation, and transaction rollback.
- Design: RFC revision 5 at this exact head.
- Content decision: PASS for the disabled opt-in implementation.
Rev5 now closes the relevant design contracts: bounded DOP and footer work, contiguous file/row-group ownership, 1 MiB per-operator ReaderAt retention and 4× small-read amplification, no whole-object retention in actual fanout scopes, v44 mixed-version fail-closed behavior, transaction-only publication, deterministic sibling cancellation/rollback witnesses, serial opt-out, and a separate endpoint-evidence gate before default enablement. I found no remaining correctness, performance, leak, hang, unbounded-growth, rollback, wire-compatibility, or log-storm blocker in the implementation.
One objective design-gate blocker remains: the exact RFC still says Status: draft — independent design approval pending, and later says endpoint rollout evidence is required before it can move to in-progress. That conflates two phases. This review supplies the independent PASS for the disabled opt-in design; please advance rev5 to the repository's accepted/in-progress state and record that representative endpoint/resource evidence is required only before the later default-enable change. Until the reviewed RFC status matches that decision, the mandatory design-first gate is not closed. No production redesign is requested.
There was a problem hiding this comment.
Deep re-review of exact head b6c3d0c602a5a5b0e437f2e39a26c22f055a0d6f against base 20b43edbf2ddd1667ca0492c806a950b748d9e6b.
The range-diff against the independently reviewed implementation at ad6b6cda79d2a905cf43817c33f3257d0b086a80 shows all 10 implementation commits are patch-identical after rebase; the only new semantic input is b6c3d0c602, which advances RFC revision 5 to in-progress, links the independent design approval, and correctly leaves representative endpoint/resource evidence as a gate for a later default-enable change. That closes the last requested-change blocker. The title/body also accurately scope this PR as disabled-by-default, session-scoped opt-in groundwork and leave #27899 open.
I rechecked the full change map and counterexamples across parser/formatter round trips, session admission and explicit opt-out, many-small-file footer avoidance, one-file row-group fanout, shard coverage and contiguous assignment, bounded DOP, S3 prefetch/read-ahead selection, v44 sender/receiver/Prepare compatibility, cancellation and transaction rollback, resource ownership, and logging. The implementation preserves serial behavior when the gate is disabled or PARALLEL 'false' is explicit; real fanout cannot retain whole S3 objects, retains at most 1 MiB per active operator, bounds small-read amplification to 4×, introduces no goroutine/retry/global cache, and fails closed against pre-v44 remote execution. I found no blocking correctness, performance, duplicate/missing-row, partial-commit, hang/deadlock, leak, unbounded-growth, mixed-version silent-fallback, or log-storm issue.
Validation: current exact-head substantive CI is green and git diff --check is clean. Because the implementation range is patch-identical, the earlier focused tests and race repetition x20 for concurrent ReaderAt, remote protocol validation, and fanout cancellation remain applicable.
Non-blocking documentation cleanup: the first compatibility sentence says there is no wire-format change, while the next paragraph correctly documents the new v44 pipeline field. Please reconcile that wording in a follow-up; the detailed compatibility contract and code are unambiguous.
aunjgr
left a comment
There was a problem hiding this comment.
Reviewed exact head b6c3d0c against merge base 20b43ed.
The in-progress revision-5 design and implementation are coherent for the disabled-by-default, session-scoped opt-in only. Omitted PARALLEL stays serial unless the experimental session gate admits it; explicit false remains serial. Whole-file fanout avoids unnecessary footer reads when files saturate bounded DOP, row-group assignment is complete/contiguous, the per-operator ReaderAt cache is capped at 1 MiB with 4x small-read amplification, and statement transaction ownership preserves all-or-nothing visibility across scopes. The v44 marker is copied through every sender/receiver/operator boundary and pre-v44 execution fails closed instead of silently restoring object-sized prefetch.
The exact-head deterministic cancellation/rollback, fanout, range-I/O, parser, protocol and public LOAD evidence plus terminal green CI close the current opt-in scope. Endpoint/resource evidence remains a required new review gate before any later default-enable change.
aptend
left a comment
There was a problem hiding this comment.
Deep re-review completed on exact head c2ae3b56bac93c50f1ba38314f87c07ab3dad2bb against merge base ffc8d9f0625c76e87ba967984ce19db2d082b0ba. I read the complete review/comment/thread history, compared the range since my previous review at 807e385f0471312d589e059dadbf286cdad3f8cd, and rechecked the full current diff. The first three commits remain patch-identical; the later commits close the former rollout, formatter, cancellation/rollback, memory/I/O, and design-status blockers. The final rebase interaction is also correct: current main owns MongoDB payload v44, the Parquet whole-file marker now uses v45 at sender, receiver, and remote Prepare, and c2ae3b56ba restores the unrelated MongoDB gate to v44.
I found no remaining blocking correctness, partial-commit, duplicate/missing-row, cancellation, resource-bound, performance-control, or mixed-version issue in the disabled-by-default opt-in scope. The exact-head CI is terminal green. Local exact-head validation passed full tests for frontend, external, compile, MySQL parser, and plan; focused protocol/fanout/cancellation/read-ahead/parser/admission tests under -race (count=10/20); go vet for all affected Go packages; and git diff --check.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep review of exact head 1100809452fdd27d2ee7efb59acb8737fe1c708a (merge base 2112809dbf0cf6d1f8a09e8bd260606fc6bb5677).
Blocking finding:
Avoid multiplying unused Parquet index I/O across row-group fanout scopes
readLoadParquetRowGroupMetadata calls parquet.OpenFile(reader, size) with the default options. In parquet-go v0.25.1, the defaults are SkipPageIndex=false and SkipBloomFilters=false: after reading the footer, OpenFile reads the complete column/offset index sections and visits every bloom-filter header. This planning path only consumes schema, NumRows, and RowGroups, so those reads and allocations are unused.
The counterexample is a valid S3 Parquet file with page indexes and/or bloom filters and enough row groups to fan out across N scopes. Planning performs one default open; then each row-group scope opens the same file again at pkg/sql/colexec/external/parquet.go:248 before selecting its assigned groups. The result is up to 1+N reads/materializations of file-wide metadata and potentially O(N × row-groups × columns) small remote reads before data decoding. The bounded read-ahead window limits retained bytes per scope, but does not bound aggregate requests or repeated metadata bytes. This can negate the intended speedup or stall a LOAD on otherwise valid user files.
Please:
- open the planning-only file with
parquet.SkipPageIndex(true)andparquet.SkipBloomFilters(true); - for Parquet LOAD fanout execution, skip those structures as well if they are not consumed (or provide evidence for the structures that must remain and bound their repeated cost);
- add an instrumented ReaderAt test using a file that actually contains page indexes/bloom filters, with an oracle that planning does not read their sections and fanout does not multiply unused metadata I/O.
The exact-head CI is green, and the rebase is semantically equivalent to the previously approved series; this issue was exposed by the additional metadata-I/O counterexample audit, so it supersedes my earlier approval.
Preserve PARALLEL false as a serial opt-out, assign contiguous row-group shards, and coalesce bounded adjacent S3 range reads.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-review completed on exact head de4ded8 against base 2691152. The range-diff proves the previously approved 12-commit implementation is patch-identical after rebase; the only new semantic commit is the unused Parquet index-read fix. I rechecked the complete 28-file change map and counterexamples across parser and formatter state, disabled session admission, explicit serial opt-out, file and row-group ownership, contiguous coverage, cancellation and statement rollback, S3 ReaderAt amplification and retention bounds, remote propagation and fail-closed protocol checks, logs, and exact-head CI. The latest change correctly uses parquet-go SkipPageIndex and SkipBloomFilters for planning opens and actual row-group or whole-file fanout opens. LOAD decoding consumes Pages directly and does not use ColumnIndex, OffsetIndex, or BloomFilter, so this removes repeated file-wide metadata I/O without changing row decoding. The instrumented fixtures prove ordinary OpenFile reads those sections and each optimized open does not. Q1-Q3 remain closed: no new goroutine or wait edge, scopes retain the existing single transaction terminal owner, cancellation reaches every admitted scope, fanout is bounded by scheduler capacity with the S3 per-node cap, and ReaderAt retention stays at most 1 MiB per active scope. Reopening the footer per row-group scope remains a bounded known opt-in cost and belongs to the endpoint-evidence gate before any future default enablement; it is not a blocker for this disabled-by-default groundwork. Exact-head substantive CI is green and diff-check is clean. The concurrent MORPC v45 claim in PR 27716 is a merge-order condition: the heads conflict in protocol files and main requires strict up-to-date status checks, so whichever lands second must rebase, allocate the next version, and rerun CI. No confirmed correctness, performance, partial-commit, leak, hang, unbounded-growth, wire-silent-fallback, or log-storm blocker remains.
This PR adds disabled-by-default, session-scoped experimental groundwork for Parquet LOAD parallelism.
experimental_parquet_load_parallel = 0, an omittedPARALLELclause remains serial.PARALLEL 'false'remains a serial opt-out.The default-enable delivery remains intentionally out of scope: RFC revision 5 is independently approved for this disabled opt-in scope; #27899 stays open pending representative endpoint/resource rollout evidence before a later default-enable change.
What type of PR is this?