andygrove opened a new pull request, #3811:
URL: https://github.com/apache/datafusion-comet/pull/3811

   ## Which issue does this PR close?
   
   Closes #1036
   
   ## Rationale for this change
   
   When casting floating-point negative zero (`-0.0`) to string, Spark 
normalizes it to `"0.0"` but Comet produces `"-0.0"`. Rather than fixing this 
edge case (which involves complexities deep in the native execution pipeline), 
we document it in the compatibility guide since negative zero and positive zero 
are semantically equivalent in IEEE 754.
   
   ## What changes are included in this PR?
   
   Adds a "Negative Zero" subsection under the Cast section of the 
compatibility guide explaining this behavior difference and linking to the 
tracking issue.
   
   ## How are these changes tested?
   
   Documentation-only change.


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