Skip to content

fix: bound the batch under the operator that expands a large string scalar - #7316

Open
zhangfengcdt wants to merge 24 commits into
apache:mainfrom
zhangfengcdt:fix/scalar-string-batch-cap
Open

zhangfengcdt wants to merge 24 commits into
apache:mainfrom
zhangfengcdt:fix/scalar-string-batch-cap

Conversation

@zhangfengcdt

@zhangfengcdt zhangfengcdt commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Part of #7247. The operators that are still unbounded are tracked in #7689.

Rationale for this change

A string scalar, from a scalar subquery or a literal, is expanded to the batch length by aggregates, the hash partitioner and string kernels. A 256 KiB string over the default 8192-row batch needs 2 GiB of value bytes, past Arrow's 32-bit Utf8 offsets, so native execution panics with offset overflow or fails with byte array offset overflow. Spark evaluates such scalars row by row and succeeds.

The expansion happens in DataFusion (aggregate argument evaluation, concat) as well as in Comet's shuffle partitioner, and a plan-time fallback cannot see a subquery's value. So the fix bounds the rows per batch that reach the expanding operator.

The first version of this PR lowered the session batch size and sliced batches at the scans. Review showed that does not bound what reaches the operator: a filter coalesces its output to its own batch size, a window emits its whole partition, and a scalar built from a subquery result (repeat(<subquery>, 2)) is wider than the result the planner measured. This version enforces the bound at the operator instead.

What changes are included in this PR?

  • A new CometBatchSplitExec in the operators crate, a thin operator over DataFusion's BatchSplitStream, which emits an input batch in slices of at most batch_size rows. Slices share buffers.
  • The planner wraps the input of a projection, filter, hash aggregate (grouping, aggregate inputs and filters), sort with a limit (its keys) or shuffle writer with hash or range partitioning in a CometBatchSplitExec whenever that operator expands a string or binary scalar. The split size is the rows at which the scalars, expanded, reach 1 GiB; for the issue's string that is 4096 rows. A batch at or under that size passes through unsliced, so a scalar of ordinary size never slices anything and never hands a sort zero-copy slices of a shared buffer (ExternalSorter memory accounting: remaining gaps on main datafusion#25804). No width is assumed for what arrives from below, since a filter coalesces toward DataFusion's default, a window emits its whole partition and a broadcast arrives as a few wide batches. A plan without such a scalar is unchanged.
  • A scalar is any column-free subtree of Utf8 or Binary type. The planner evaluates it once on a one-row batch, so a scalar built by an expression counts at its final width. A scalar that a comparison (=, <>, <, <=> and the other operators DataFusion evaluates as a Datum) or an IN list takes as a constant is compared and never expanded, so it is skipped: payload = 'x' installs no split. An operand computed per row, such as the IN member concat(repeat('x', 262144), CAST(id AS STRING)), counts the scalars it contains. A column, a volatile expression such as uuid(), or a JVM UDF is a per-row node: it is never evaluated at plan time, but the scalars beside it are still counted, so concat(repeat('x', 262144), uuid()) is measured at 256 KiB.
  • The split under a filter is transparent to join runtime filtering: the join planner aligns the Spark and native trees through it, so the filter keeps its pushdown permission, and reader attachment crosses it to reach the Parquet scan, since slicing batches discards no rows.
  • executePlan pulls JVM input only when the plan waits for it, as its first call already did, instead of pulling the next batch up front on every call. A limit can then finish on rows a split still holds without reading another batch.
  • The session batch size, ScanExec, ShuffleScanExec and the range source are unchanged from main.

How are these changes tested?

  • Fixture operators/large_scalar_string.sql with fourteen queries that fail on main with byte array offset overflow: the grouped count, the hash partitioning key, concat with a subquery and with a literal, the literal over a native range, a filter under the projection, a window under the aggregate, a 64 KiB scalar over a window partition wider than the session batch size, a scalar beside uuid(), repeat of the subquery result, an IN list with a member computed per row, a sort key under a limit, and a string inside a list scalar expanded by IF. All run in query mode, so the plan is checked to be native. NullPropagation is excluded so the grouped count keeps its literal argument rather than becoming count(1).
  • Fixture operators/large_scalar_string_small_batch.sql runs the filter case with spark.comet.batchSize=256, where the scalar fits the session batch size as is.
  • CometExecIteratorLifecycleSuite: a 10-row JVM batch followed by an input that throws, under LIMIT 3, returns three rows without reading the input again. It fails on the loop that pulled JVM input before every poll.
  • CometNativeShuffleSuite: a range shuffle whose ordering expression is a 256 KiB scalar, with no projection between the exchange and the range source.
  • CometJoinSuite: the deterministic residual test also runs a string residual, concat(CAST(p.payload AS STRING), '!') <> '2506!', and checks the reader filter still attaches and prunes row groups with the split under the filter. Rust unit tests cover the filter keeping its permission through the split and reader attachment crossing it.
  • Rust unit tests for CometBatchSplitExec and for the scalar measurement: literals and columns, a scalar built by an expression, the strings inside a list, nested list or struct scalar, a scalar beside a volatile sibling that is not evaluated, IN list members, a scalar compared directly against one computed per row, the planner wrapping the input at the scalar's cap whatever the session batch size, and the split going under a sort with a limit but not under a full sort.
  • CometSqlFileTestSuite for operators/, scalar_subquery and shuffle, CometNativeShuffleSuite and CometJoinSuite, on Spark 4.1, and the core and operators crate test suites.

A string scalar from a literal or a scalar subquery is expanded to the
batch length by aggregates, the hash partitioner and string kernels. A
256 KiB string over an 8192-row batch needs 2 GiB of value bytes, past
Arrow's offsets, and native execution panics where Spark succeeds.

Add up the string and binary scalars while planning and lower the
session batch size so their expansion stays within 1 GiB. Native sources
read the batch size when they run, the range source now included, and
the JVM-fed leaves slice wider batches to it.
@github-actions github-actions Bot added bug Something isn't working area:scan Parquet scan / data reading labels Oct 29, 2026

@comphead comphead left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lowering the task's batch size from the planned scalar bytes reaches every operator that reads the batch size from the TaskContext at execute time, and the arithmetic in scalar_batch_rows is safe for zero and oversized scalars. Three comments, on an operator that regrows batches, on literals that are never expanded, and on slicing at default settings. Nothing here was run.

Comment thread native/core/src/execution/jni_api.rs Resolved
Comment thread native/core/src/execution/planner.rs Resolved

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran the new SQL fixture on Spark 4.1.3 against e9b8b0c3. It passed in normal mode. I’m requesting changes because the scan can now pull an unneeded JVM batch and make a previously successful LIMIT fail. The review also covers the nullable-batch slicing cost, the grouped test’s strict-mode failure, and scalar expansions that still overflow. I added the filter and window results to the existing batch-size discussion.

Comment thread native/core/src/execution/planner.rs Resolved
…calar

Rework after review. Capping the input batch size does not bound what
reaches the expanding operator: a filter coalesces its output to its own
batch size, a window emits its whole partition, and a scalar built from
a subquery result can be wider than the result. The scan slicers also
dropped a pending slice under LIMIT and double counted output_rows.

A new CometBatchSplitExec, over DataFusion's BatchSplitStream, is placed
right under a projection, filter, hash aggregate or hash shuffle writer
when that operator's string and binary scalars, expanded to the session
batch size, would exceed 1 GiB. The planner measures each column-free
subtree of those types by evaluating it once on a one-row batch, so that
repeat(<subquery>, n) counts at its final width. IN list members are
compared and never expanded, so they are skipped. The session batch size,
the scan and shuffle scan operators and the range source are unchanged.
@zhangfengcdt zhangfengcdt changed the title fix: cap the rows per batch so a large string scalar fits 32-bit offsets fix: bound the batch under the operator that expands a large string scalar Oct 30, 2026
uuid(0) and randstr(10, 0) are column-free string expressions, so the
planner evaluated them once at plan time to measure their width, which
drew the first value from their seeded generator. Execution then
produced Spark's second value onward and the bit-for-bit tests failed.

A subtree with a volatile expression yields a value per row rather than
a scalar, so it is never measured: Comet's stateful expressions and any
DataFusion scalar function declared volatile.
@zhangfengcdt

Copy link
Copy Markdown
Member Author

Thanks @comphead and @sunchao ! Agreed that capping the input batch size cannot bound what reaches the expanding operator, and it is not a optimal solution and fix. So I reworked the fix to enforce the bound at the operator, with the following changes:

  • A new CometBatchSplitExec over DataFusion's BatchSplitStream is placed directly under a projection, filter, hash aggregate or hash shuffle writer, only when that operator's string scalars would exceed 1 GiB expanded. Plans without a large scalar are unchanged.
  • Scalars are measured at plan time by evaluating each column-free string subtree once, so repeat(<subquery>, 8) counts at its final width. IN list members, volatile expressions and JVM UDFs are skipped.
  • The fixture covers the WHERE, window and repeat cases, all in query mode so it passes strict testing. The grouped count uses a literal; the missingInput issue with a grouped count of a subquery is separate.

Appreciate if you both could take another look and let me know if you'd refine it or go with other directions. Thanks!

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting the splitter below the expanding expression fixes the original placement problem. There is still a case where the splitter disappears.

…he scalar cap

The split was installed only when the scalar cap fell below the session
batch size. With spark.comet.batchSize=256 a 256 KiB scalar allows 4096
rows, so nothing was installed, but DataFusion's filter coalesces toward
its own default of 8192 rows whatever the session says, and the
projection above it overflowed the 32-bit offsets.

The decision now compares the cap against the larger of the session
batch size and DataFusion's default, and splits at the smaller of the
cap and the session size. A new fixture runs the filter case with a
256-row session.

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built 9e4b6b05 and ran the new small-session filter fixture successfully. The earlier filter case is covered. I reproduced an offset overflow on the window path and found that Spark simplifies away the wide argument in the grouped-count test.

The split was installed only when the scalar cap fell below the widest
batch assumed to arrive, the larger of the session batch size and
DataFusion's default. A window emits its whole partition and a broadcast
arrives as a few wide batches, so no width can be assumed: a 64 KiB
scalar over a 32768-row window partition skipped the split and
overflowed the 32-bit offsets.

An operator that expands any string or binary scalar now has its input
split at the smaller of the scalar cap and the session batch size. A
plan without such a scalar is unchanged.

The fixture excludes NullPropagation so that the grouped count keeps the
wide literal as its argument instead of being rewritten to count(1), and
adds the window case above.
@zhangfengcdt

Copy link
Copy Markdown
Member Author

I built 9e4b6b05 and ran the new small-session filter fixture successfully. The earlier filter case is covered. I reproduced an offset overflow on the window path and found that Spark simplifies away the wide argument in the grouped-count test.

THanks @sunchao for the comments! Both should be fixed now.

…ch-cap

# Conflicts:
#	native/core/src/execution/planner.rs

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 949f550 across five independent scopes, including the new merge from main. The filter merge preserves both the bounded input and session batch size. The operator-level split and revised fixtures address the previous window/input-size and NullPropagation coverage gaps. Two paths still overflow: a deterministic large scalar beneath a volatile expression, and a large scalar in a range-shuffle key. Both have executed Spark/default-batch/small-batch controls in the inline comments. CI (fork) currently requires contributor action.

…keys

The plan-time measurement stopped at the first volatile expression, so
a column-free subtree such as concat(repeat('x', 262144), uuid()) was
measured as zero bytes and left unbounded. A column, a volatile
function, a JVM UDF or a subquery is now a boundary rather than a
reason to give up: the scalars among its siblings are still counted,
and the volatile node itself is never evaluated.

The shuffle writer only bounded hash partitioning keys. Range
partitioning evaluates its ordering expressions in the exchange too,
so those are bounded the same way.
@zhangfengcdt

Copy link
Copy Markdown
Member Author

Reviewed 949f550 across five independent scopes, including the new merge from main. The filter merge preserves both the bounded input and session batch size. The operator-level split and revised fixtures address the previous window/input-size and NullPropagation coverage gaps. Two paths still overflow: a deterministic large scalar beneath a volatile expression, and a large scalar in a range-shuffle key. Both have executed Spark/default-batch/small-batch controls in the inline comments. CI (fork) currently requires contributor action.

Thanks for the review again, @sunchao. It should be fixed now.

The measurement now treats a column, volatile function or JVM UDF as a boundary and keeps counting the scalars beside it, so concat(repeat('x', 262144), uuid()) is bounded without evaluating uuid() at plan time.

I also added a fixture query and a CometNativeShuffleSuite test similar to the test cases you reported.

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 30ee2c7 across five independent scopes. The earlier volatile-sibling and range-shuffle findings are addressed, and all eight committed scalar-expansion unit tests pass. One dynamic-IN path still bypasses the bound. I confirmed it with an added native estimator test, then reproduced the query failure using freshly compiled JVM code and the exact-head native library on Spark 4.1.3. Spark and the smaller-batch native control both succeed. Current-head GitHub build/test jobs were skipped, so the validation here is local.

Comment thread native/core/src/execution/planner.rs Resolved
…o join runtime filters

The measurement only looked at the value an IN list tests, so a list
member computed per row, such as concat(repeat('x', 262144),
CAST(id AS STRING)), expanded its scalar unbounded. The scalars inside
such a member now count; a constant member is still compared without
expansion and skipped.

The split that bounds a filter's input sat between the filter and its
Spark child, which broke the pointer alignment the join planner uses
to carry a filter's runtime-filter pushdown permission, and stopped
reader attachment on its way to the Parquet scan. Both now look through
the split and rebuild it over the prepared or filtered child, since
slicing batches discards no rows.
@github-actions github-actions Bot added the area:joins Join operators and dynamic filter pushdown label Nov 6, 2026
@zhangfengcdt

Copy link
Copy Markdown
Member Author

Reviewed 30ee2c7 across five independent scopes. The earlier volatile-sibling and range-shuffle findings are addressed, and all eight committed scalar-expansion unit tests pass. One dynamic-IN path still bypasses the bound. I confirmed it with an added native estimator test, then reproduced the query failure using freshly compiled JVM code and the exact-head native library on Spark 4.1.3. Spark and the smaller-batch native control both succeed. Current-head GitHub build/test jobs were skipped, so the validation here is local.

Thanks @sunchao @rich7420! These should be fixed now.

…ch-cap

# Conflicts:
#	native/core/src/execution/planner/join.rs

@rich7420 rich7420 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhangfengcdt thanks for the update!

A scalar operand of a comparison is compared as a Datum and never expanded,
so `payload = 'x'` no longer installs a split; an operand computed per row
still counts the scalars it contains. The sort bounds its input with its keys,
which covers the TopK under a limit.

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR backlog is huge and the maintainers don't have the bandwidth to review them all, so here is an automated review. Feel free to ignore it.

Moving the bound from the scans to the operator that evaluates the expression is the right shape, and the estimator that measures a scalar at its final width answers the earlier threads well. The remaining concern is coverage. The split is installed for the projection, filter, hash aggregate, sort and the hash and range shuffle writers, but other native operators evaluate user expressions over a batch and expand a scalar the same way. The one I checked is the join filter. Comet builds it as a DataFusion JoinFilter in planner/join.rs and nothing calls bound_scalar_expansion for it. A residual such as ON a.k = b.k AND length(concat(repeat('x', 262144), a.s || b.s)) > 0 references both sides, so Spark keeps it as the join condition and it does not become a Filter that this PR covers. I ran the equivalent query in a DataFusion session with the default 8192-row batch size over a hash join with a single matching key. It failed with Execution error: byte array offset overflow. I did not run it end to end through Comet, and I did not get a passing control at a small batch size. The join filter evaluates over the matched index pairs, so the bound is the batch size and not the input width.

ExpandExec in native/operators/src/expand.rs (it calls into_array(batch.num_rows()) on each projection expression) and the window partition and order expressions look like the same class. Could the PR either bound the join filter (and say which of the other operators were checked), or open a tracking issue that lists the operators still unbounded so #7247 does not read as fully closed? The join filter case could also be added to large_scalar_string.sql once it is covered.

On behavior against branch-1.2: queries with a string scalar of ordinary size now get an extra CometBatchSplitExec at the session batch size under a projection, aggregate, sort or shuffle writer. Narrow batches pass straight through, so I expect the cost to be small. Results do not change. The queries that overflowed on the release now succeed in the covered operators.

…ch-cap

# Conflicts:
#	native/core/src/execution/planner/aggregate.rs

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed e8eae446e82eff57703b4b9b1044a6d6b022730e across five independent scopes, including the merge with main. The dynamic-IN, comparison, TopK and runtime-filter revisions address the corresponding earlier comments. The remaining expansion limitations are now tracked in #7689.

One inline comment covers a new exposure to the known DataFusion sort-accounting bug. The earlier pending-slice/read-ahead concern also still applies: ScanStream clears its input slot after handing a wide batch to the splitter, but execute_plan calls pull_input_batches before polling the next output. For a projection such as concat(s, '!'), a ten-row first JVM batch and session batch size two, LIMIT 3 can therefore read a failing second input before returning its already-buffered third row. Moving the splitter out of the scan does not make that refill demand-driven. Please retain a regression at the JVM-fed driver boundary; I am referencing the existing thread rather than opening a duplicate.

Compared with branch-1.2, the local expansion bound is intentional, while those two interactions affect previously successful paths. Validation was source inspection, including checksum-verified lockfile-matching DataFusion crates. No local tests, binaries, benchmarks or executable probes ran. At publication, this head had 2 successful checks, 3 queued checks and CI (fork) requiring action because no matching fork run was found. Earlier-head test results are not validation of this commit.

Comment thread native/core/src/execution/planner.rs Resolved
A full sort concatenates its input before evaluating its keys, so the split
did not bound it, and DataFusion's ExternalSorter reserves each slice of a
shared buffer as if it owned the buffer (apache/datafusion#25804).

executePlan no longer pulls the next JVM batch on every call. It pulls only
when the plan waits for input, so a limit can finish on rows a split still
holds without reading another batch.

@comphead comphead left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed at a5708d07ed. Pulling JVM input only from the pending branch fixes the LIMIT read-ahead, and the new CometExecIteratorLifecycleSuite case covers it at the JVM-fed boundary. My three points from e9b8b0c3bc are addressed. @sunchao's shared-buffer point is closed for sort keys but still reaches a full sort through a projection, and one doc comment on the pull path is now stale.

Comment thread native/core/src/execution/jni_api.rs Resolved
Feng Zhang added 5 commits November 20, 2026 16:55
A one-byte scalar split every batch at the session batch size, so a
projection below a full sort handed ExternalSorter zero-copy slices of
shared buffers, which it reserves one by one (apache/datafusion#25804).
Splitting at the scalar's own cap still keeps each expansion within
1 GiB, and a batch at or under the cap passes through unsliced.

The pull_input_batches doc still described pulling before every poll.
Splitting only at the scalar's cap means concat(s, '!') no longer slices
the scan's batches, so the read-ahead regression drops the projection and
batch size and runs a limit over the scan directly. It still fails on the
loop that pulled before every poll.
…ch-cap

# Conflicts:
#	spark/src/test/scala/org/apache/comet/exec/CometNativeShuffleSuite.scala

@comphead comphead left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks good to me, but given the PR size I would wait for other reviews

@zhangfengcdt

Copy link
Copy Markdown
Member Author

@andygrove @sunchao Could you please take a look again? I think all commets should be addressed now. Thanks!

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran the two new SQL fixtures, the range-shuffle test and the lifecycle test on the current head with Spark 4.1, and all pass. A base-vs-PR run on TPC-H SF10 showed no measurable overhead from the split on queries with small string literals. One small thing: #7689 still says this PR puts the split under every sort. Could you update it to say a full sort gets no split?

A scalar whose type nests a string, such as array(repeat('x', 262144)),
was measured as 0 bytes, so nothing bounded its expansion and IF over it
overflowed the 32-bit offsets. The measurement now sums the string and
binary value bytes anywhere inside the evaluated scalar.
@zhangfengcdt

Copy link
Copy Markdown
Member Author

I ran the two new SQL fixtures, the range-shuffle test and the lifecycle test on the current head with Spark 4.1, and all pass. A base-vs-PR run on TPC-H SF10 showed no measurable overhead from the split on queries with small string literals. One small thing: #7689 still says this PR puts the split under every sort. Could you update it to say a full sort gets no split?

Thank you, @andygrove ! I will wait to check if @sunchao still has any concerns on this PR, and I will start fixing the #7689 at the same time.

@rich7420 rich7420 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhangfengcdt thanks for the update!

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zhangfengcdt, this version is much better than the session-batch-size approach. Bounding at the expanding operator is the right place, and only splitting above the scalar's cap keeps normal plans unchanged. I also checked the shuffle writer: count_new_buffers already counts shared slice buffers once, so the splits don't inflate its memory accounting.

My main question is about the executePlan change, which affects every plan, not just ones with large scalars. There's also one small concern about planning cost.

1. jni_api.rs, execute_plan: removing the up-front pull_input_batches

This changes the input loop for every JVM-fed plan: we no longer pull the next batch before polling, so each batch now takes an extra Pending round trip through next_batch. I agree it's more correct (it fixes the read-ahead under a limit, and the lifecycle test shows it). Since it's on the hot path, could you share a quick before/after on a scan-heavy query, e.g. a JVM scan + project + aggregate over a few million rows? Alternatively, would you be open to splitting it into its own PR so it's easier to bisect if anything regresses?

One more question: with two JVM inputs (e.g. a join), are there plans where the old eager pull into both scans avoided a Pending round on the second input, and now each side waits separately?

2. scalar_expansion.rs, expanded_scalar_bytes / is_scalar

expanded_scalar_bytes calls is_scalar at each level, and is_scalar walks the whole subtree, so a deep expression tree (long CASE WHEN or concat chains) costs O(depth^2) at plan time. This runs for every projection, filter and aggregate in every task. It's probably fine in practice, but a single bottom-up pass that returns both "is scalar" and the byte count would make it linear. Not blocking.

Also, every column-free string subtree is now evaluated once per task at plan time. Nearly all are cheap literals, but it might be worth a sentence in the module docs noting it, for whoever next adds an expensive scalar function.

3. scalar_expansion.rs, module docs

Could the module docs link #7689 and list the operators that are still unbounded (window, join filters, expand, generate)? That way the next person who hits the overflow in one of those can find the gap.

Feng Zhang added 2 commits November 30, 2026 11:38
…e to its own PR

The estimator now classifies and measures each subtree in a single bottom-up pass, so a deep
expression costs linear time at plan time. The module docs list the operators apache#7689 tracks and
note the plan-time evaluation of scalars. The change to when execute_plan pulls JVM input moves
to a separate pull request.
@zhangfengcdt

Copy link
Copy Markdown
Member Author

Thanks @sunchao!

  1. Moved the execute_plan change to fix: pull JVM input only when the native plan waits for it #7804, so this PR leaves it as on main.
  2. The estimator is now a single pass, so it's linear.
  3. Module docs now link Offset overflow - Operators that expand a large string scalar without a batch-size bound #7689, list the unbounded operators, and note the plan-time evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:joins Join operators and dynamic filter pushdown area:scan Parquet scan / data reading bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants