[
https://issues.apache.org/jira/browse/SPARK-61180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-61180:
---------------------------------
Fix Version/s: connect-rust-4.3.0
> 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
> Priority: Major
> Fix For: connect-rust-4.3.0
>
>
> 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]