HyukjinKwon commented on code in PR #38393:
URL: https://github.com/apache/spark/pull/38393#discussion_r1006430574


##########
python/pyspark/sql/connect/plan.py:
##########
@@ -537,7 +537,7 @@ def __init__(
         self,
         left: Optional["LogicalPlan"],
         right: "LogicalPlan",
-        on: "ColumnOrString",
+        on: Optional[Union[str, List[str], ColumnRef]],

Review Comment:
   Should actually use the signature of either `Sequence` or 
`Iterable[ColumnRef]` for `str` and `ColumnRef`. Should fix `dataframe.py` in 
PySpark API too. I am fine as is since it's at least consistent now.



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