AlejandroMorgante commented on code in PR #60248:
URL: https://github.com/apache/spark/pull/60248#discussion_r4527796300
##########
python/pyspark/sql/classic/dataframe.py:
##########
@@ -1732,7 +1732,7 @@ def approxQuantile(
if isinstance(probabilities, tuple):
probabilities = list(probabilities)
for p in probabilities:
Review Comment:
Done! Now checking the type of every element first in one loop, then the
range of every element in a second loop, so a type error always takes priority
regardless of list order.
Thanks!
--
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]