AlejandroMorgante commented on PR #60248:
URL: https://github.com/apache/spark/pull/60248#issuecomment-6774025775

   @dongjoon-hyun Thank you for the thorough review -- addressed everything:
   
     1. Extracted the whole validation into a shared helper 
(`validate_approx_quantile_probabilities` in `pyspark/sql/utils.py`), used by 
both classic and Connect.
     2. `probabilities` is now validated in two full passes -- all types first, 
then all values -- so the exception class no longer depends on element order.
     3. `bool` and `NaN` are both explicitly rejected now.
     4. Switched from `VALUE_NOT_BETWEEN` to `VALUE_OUT_OF_BOUNDS`.
     5. Filed #60306 for the same hole in `relativeError`, since it's a 
different argument with its own bug.
   
     Really appreciate you digging into this so thoroughly. ❤️ 


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