AlejandroMorgante commented on code in PR #60248:
URL: https://github.com/apache/spark/pull/60248#discussion_r4532691588
##########
python/pyspark/sql/utils.py:
##########
@@ -481,6 +483,45 @@ def get_lit_sql_str(val: str) -> str:
return "'" + val.replace("\\", "\\\\").replace("'", "\\'") + "'"
+def validate_approx_quantile_probabilities(probabilities: Any) ->
List[Union[float, int]]:
Review Comment:
Done, moved the helper to pyspark/sql/dataframe.py. That makes sense given
that its two consumers are the classic and Connect DataFrame implementations.
--
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]