dongjoon-hyun opened a new pull request, #57014:
URL: https://github.com/apache/spark/pull/57014

   ### What changes were proposed in this pull request?
   
   This PR adds wide-schema benchmark cases to `UnsafeProjectionBenchmark`: for 
each of
   `BooleanType`, `ByteType`, `ShortType`, `IntegerType`, and `FloatType`, 
repeatedly
   project a single row with 400 non-nullable fields of that type.
   
   - One section per type, so a future improvement can be evaluated per type.
   - A single row is projected repeatedly so the source stays in L1 cache and 
the
     field-write path is measured purely.
   
   ### Why are the changes needed?
   
   The existing cases use at most 7 fields, so per-row fixed overhead dominates 
and
   improvements in the field-write path are not visible. With 400 fields, field 
writing
   dominates. A follow-up PR improving `UnsafeRowWriter`'s fixed-width field 
writes will
   use these cases to show before/after numbers.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Fable 5


-- 
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