xinrong-meng commented on code in PR #49055:
URL: https://github.com/apache/spark/pull/49055#discussion_r1897738268


##########
python/pyspark/sql/udtf.py:
##########
@@ -372,22 +373,43 @@ def _create_judtf(self, func: Type) -> "JavaObject":
             )
         return judtf
 
-    def __call__(self, *args: "ColumnOrName", **kwargs: "ColumnOrName") -> 
"DataFrame":
+    def __call__(
+        self, *args: Union["ColumnOrName", "TableArg"], **kwargs: 
Union["ColumnOrName", "TableArg"]

Review Comment:
   Changed to TVFArgumentOrName thanks!



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

Reply via email to