itholic commented on code in PR #49054:
URL: https://github.com/apache/spark/pull/49054#discussion_r1870651781
##########
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:
Sure! Just added a comment
--
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]