zanmato1984 commented on issue #46063:
URL: https://github.com/apache/arrow/issues/46063#issuecomment-3055169250

   Despite whether we are doing so deliberately (most likely not), I don't 
think emitting `-inf` or `inf` is desirable for an all-NaN array. The proposed 
returning NaN sounds reasonable. I think current undesirable behavior is 
because we initialize our running min/max as `-inf`/`inf`. And by definition 
`std::fmin/fmax(non-NaN, NaN)` always emits `non-NaN`. I think I can work on a 
fix.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to