stevomitric commented on code in PR #58839:
URL: https://github.com/apache/spark/pull/58839#discussion_r4035407544
##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -7601,6 +7601,10 @@ def count_min_sketch(
----------
col : :class:`~pyspark.sql.Column` or column name
target column to compute on.
+
+ .. versionchanged:: 4.4.0
+ Supports the TIME type for the ``col`` argument. A TIME column is
counted by its
+ nanoseconds-of-day, so look it up in the resulting sketch by that
value.
eps : :class:`~pyspark.sql.Column` or float
relative error, must be positive
Review Comment:
Added docs (also for other types too).
--
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]