Hyukjin Kwon created SPARK-61180:
------------------------------------

             Summary: Add DataFrame._joinAsOf, the as-of join of 
pandas-on-Spark's merge_asof, in the Rust and Python clients as PySpark does
                 Key: SPARK-61180
                 URL: https://issues.apache.org/jira/browse/SPARK-61180
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: connect-rust-4.3.0
            Reporter: Hyukjin Kwon


PySpark Connect's DataFrame has _joinAsOf(other, leftAsOfColumn, 
rightAsOfColumn, on=None, how=None, *, tolerance=None, allowExactMatches=True, 
direction="backward"), which builds the AsOfJoin relation of Spark Connect. 
pandas-on-Spark's merge_asof calls it.

The client's DataFrame has none: the name resolves to a column through 
__getattr__, so ps.merge_asof(left, right, on="t") raises

TypeError: 'pyspark.sql.connect.column.Column' object is not callable




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