[
https://issues.apache.org/jira/browse/SPARK-61045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-61045:
---------------------------------
Fix Version/s: connect-rust-4.3.0
> Take the arguments of colRegex, metadataColumn, where and transpose in the
> Python client as PySpark does
> --------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61045
> URL: https://issues.apache.org/jira/browse/SPARK-61045
> 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
>
>
> In PySpark Connect, {{df.colRegex(colName)}} and
> {{df.metadataColumn(colName)}} raise {{NOT_EXPECTED_TYPE}} of {{colName}} for
> one that is not a str, {{df.where(condition)}} raises {{NOT_EXPECTED_TYPE}}
> of {{condition}} for one that is neither a Column nor a str, and
> {{df.transpose(indexColumn)}} takes a Column or a column name, else
> {{NOT_EXPECTED_TYPE}} of {{col}}.
> The Rust-backed Python client raises a {{TypeError}} for these, and for a
> column name of {{transpose}}, as {{df.transpose("id")}}. Take them as PySpark
> does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]