[ 
https://issues.apache.org/jira/browse/SPARK-62267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-62267.
----------------------------------
    Fix Version/s: connect-rust-4.4.0
       Resolution: Fixed

Issue resolved by pull request 959
[https://github.com/apache/spark-connect-rust/pull/959]

> Pickle a subclass of the Python client's Column or TableArg as its subclass, 
> convert a Column of a user Expression without a repr, and close the other 
> gaps of SPARK-62217
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62267
>                 URL: https://issues.apache.org/jira/browse/SPARK-62267
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> Follow-ups of SPARK-62217, from the independent review of its PR against 
> pyspark-client 4.3.0:
> (1) pickles of a Column or TableArg subclass unpickle as the base class;
> (2) a Column of a user Expression whose __repr__ returns None (PySpark's 
> base) or raises fails every use, where PySpark sends its plan;
> (3) the repr of over() with a failing frame bound shows 0;
> (4) TableArg.orderBy ignores a subclass's asc();
> (5) the fast paths of the exact classes bypass a patched Column.asc or 
> Column.__getattribute__;
> (6) the cost of Window.orderBy(Column) with a session (+3.9 us), and 3 
> GC-tracked objects per Column;
> (7) cycles between a subclass and its instances, which PyO3's traverse leaves 
> uncollected;
> (8) small parity gaps: a tuple _partitionSpec, a non-sort _orderSpec, message 
> texts.
> Make them behave as PySpark's.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to