HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1137906670
##
python/pyspark/ml/tests/connect/test_connect_function.py:
##
@@ -0,0 +1,113 @@
+#
Review Comment:
I think you can remove this test - I believe the doctests
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1137906453
##
dev/sparktestsupport/modules.py:
##
@@ -655,6 +655,7 @@ def __hash__(self):
"pyspark.ml.tests.test_wrapper",
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136936972
##
python/pyspark/sql/tests/connect/ml/test_connect_ml_function.py:
##
@@ -0,0 +1,117 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136935246
##
python/pyspark/sql/connect/ml/functions.py:
##
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136934621
##
python/pyspark/sql/connect/ml/functions.py:
##
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136930751
##
python/pyspark/ml/functions.py:
##
@@ -119,6 +122,9 @@ def array_to_vector(col: Column) -> Column:
Review Comment:
You should probably decorate this via
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136929247
##
python/pyspark/sql/tests/connect/ml/test_connect_ml_function.py:
##
@@ -0,0 +1,117 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136928710
##
python/pyspark/sql/tests/connect/ml/test_connect_ml_function.py:
##
@@ -0,0 +1,117 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
HyukjinKwon commented on code in PR #40432:
URL: https://github.com/apache/spark/pull/40432#discussion_r1136927946
##
python/pyspark/sql/tests/connect/ml/test_connect_ml_function.py:
##
@@ -0,0 +1,117 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more