cboumalh commented on code in PR #51298:
URL: https://github.com/apache/spark/pull/51298#discussion_r2309054638


##########
python/pyspark/sql/connect/functions/builtin.py:
##########
@@ -4229,6 +4229,90 @@ def hll_union(
 hll_union.__doc__ = pysparkfuncs.hll_union.__doc__
 
 
+def theta_sketch_agg(
+    col: "ColumnOrName",
+    lgNomEntries: Optional[Union[int, Column]] = None,
+) -> Column:
+    if lgNomEntries is None:
+        return _invoke_function_over_columns("theta_sketch_agg", col)
+    else:
+        return _invoke_function_over_columns("theta_sketch_agg", col, 
lit(lgNomEntries))

Review Comment:
   Apologies but I'm not sure I understand what can be done here. Can you 
please give me an example?



-- 
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: reviews-unsubscr...@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to