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

   ### What changes were proposed in this pull request?
   
   `_floor_divide_func` now constructs the floating-point result once and 
reuses it for the floating and decimal branches. The adjacent `F.floor` comment 
now distinguishes ANSI overflow from non-ANSI saturation.
   
   ### Why are the changes needed?
   
   The same lazy `Column` expression was constructed twice while building floor 
division, and the comment described only the ANSI behavior.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran `test_floordiv` and `test_rfloordiv`; a targeted construction probe 
confirmed one helper call instead of two with an identical Spark expression.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-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