txwyy123 commented on PR #59841:
URL: https://github.com/apache/spark/pull/59841#issuecomment-6789742047

   @LuciferYang Thank you for the thorough review — every point is well taken. 
Here's my plan:
   
   1. **Conditional field-based path** — gate on output width so narrow joins 
stay on locals. I'll measure where `processNext()` crosses 
`DEFAULT_JVM_HUGE_METHOD_LIMIT` under default `maxFields=100` and use that as 
the threshold. If no default-width join crosses it, I'll scope the change to 
raised `maxFields` and update the description.
   
   2. **Restore deferred column loading** — partition per-column extraction by 
`condition.references`, call `splitExpressions` per group, and emit the 
non-condition group where `streamedAfter`/`bufferedAfter` used to go. This 
preserves the lazy loading for selective conditions.
   
   3. **EmptyBlock test** — add a no-condition SMJ under a large CASE WHEN 
inside `withSplitAlways`.
   
   4. **Drop WideJoinBenchmark.scala** — replace with a `maxStageMethodSize` 
assertion in `WholeStageCodegenSuite`.
   
   5. **Fix condition tests** — use cross-side conditions that actually reject 
pairs, e.g. `(left("l_c0") + right("r_c2")) % 3 =!= 0`.
   
   6. **`JavaCode.global` / `isNullGlobal`** — switch from `VariableValue` to 
`GlobalValue` so all policies read the fields in place.
   
   7. **Dead code cleanup** — remove `createStreamedVars` and clean up based on 
the final approach.
   
   Will push a revised commit addressing all of these.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to