HyukjinKwon 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_r365110275
 
 

 ##########
 File path: python/pyspark/sql/pandas/functions.py
 ##########
 @@ -33,12 +37,8 @@ class PandasUDFType(object):
 
     GROUPED_MAP = PythonEvalType.SQL_GROUPED_MAP_PANDAS_UDF
 
-    COGROUPED_MAP = PythonEvalType.SQL_COGROUPED_MAP_PANDAS_UDF
-
     GROUPED_AGG = PythonEvalType.SQL_GROUPED_AGG_PANDAS_UDF
 
-    MAP_ITER = PythonEvalType.SQL_MAP_PANDAS_ITER_UDF
 
 Review comment:
   My logic here is that, we keep `PythonEvalType.SQL_COGROUPED_MAP_PANDAS_UDF` 
and `PythonEvalType.SQL_MAP_PANDAS_ITER_UDF` as internal flags for 
`mapInPandas` or `applyInPandas`, and they are not exposed to users.

----------------------------------------------------------------
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