vranes opened a new pull request, #57278:
URL: https://github.com/apache/spark/pull/57278

   ### What changes were proposed in this pull request?
   
   This PR adds `BinBySuite` execution tests for day-time interval edge cases, 
and reorders the suite so tests are grouped by topic.
   
   New tests:
   - DST fall-back: a 1-day LTZ bin across the 2024-11-03 fall-back, where the 
25-hour day gets a larger ratio share than an adjacent 24-hour day, and a 
compound 2-day width across the same transition.
   - A sub-day bin in a non-UTC session, exercising the UTC-arithmetic path 
rather than the civil-time path the multi-day tests use.
   - `ALIGN TO` an origin later than the range, exercising the negative 
step-back in the bin-boundary arithmetic.
   
   ### Why are the changes needed?
   
   `BinBySuite` covered a DST spring-forward (23-hour day) but not the 
fall-back (25-hour day), which is a distinct arithmetic path, and had no 
coverage for a sub-day bin in a non-UTC session or an origin later than the 
range.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Test-only.
   
   ### How was this patch tested?
   
   `BinBySuite` passes.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Anthropic)
   


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