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

   ## Which issue does this PR close?
   
   Backport of #6829 to `branch-1.1`.
   
   ## Rationale for this change
   
   Comet's approximate-percentile ordering did not match Spark for negative 
NaNs. This can produce different percentile results for the same input and 
should be corrected in the 1.1 release line.
   
   ## What changes are included in this PR?
   
   Cherry-picks #6829 with `-x`. The native quantile summary now follows Java 
primitive-array ordering for non-finite values, and the SQL regression coverage 
exercises NaN sign and payload behavior. No branch-specific adaptation was 
required.
   
   ## How are these changes tested?
   
   Ran:
   
   ```text
   cd native
   cargo test -p datafusion-comet-spark-expr quantile_summaries --lib
   ```
   
   Result: 15 quantile-summary tests passed.
   


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