ueshin commented on a change in pull request #27165: [SPARK-28264][PYTHON][SQL] 
Support type hints in pandas UDF and rename/move inconsistent pandas UDF types
URL: https://github.com/apache/spark/pull/27165#discussion_r369272468
 
 

 ##########
 File path: python/pyspark/sql/udf.py
 ##########
 @@ -19,10 +19,12 @@
 """
 import functools
 import sys
+import warnings
 
 from pyspark import SparkContext, since
 from pyspark.rdd import _prepare_for_python_RDD, PythonEvalType, 
ignore_unicode_prefix
 from pyspark.sql.column import Column, _to_java_column, _to_seq
+from pyspark.sql.pandas.typehints import infer_eval_type
 
 Review comment:
   ditto.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to