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


##########
python/pyspark/sql/connect/column.py:
##########
@@ -107,12 +106,16 @@ def _to_expr(v: Any) -> Expression:
     return v._expr if isinstance(v, Column) else 
LiteralExpression._from_value(v)
 
 
-@with_origin_to_class(["to_plan"])
 class Column(ParentColumn):
     def __new__(
         cls,
         expr: "Expression",
     ) -> "Column":
+        from pyspark.errors.utils import with_origin_to_class

Review Comment:
   can we add some comments? This is pretty hacky ..  



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