[
https://issues.apache.org/jira/browse/SPARK-61476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-61476:
---------------------------------
Fix Version/s: connect-rust-4.3.0
> Unpack only a list in TableArg.partitionBy and orderBy, as PySpark does
> -----------------------------------------------------------------------
>
> Key: SPARK-61476
> URL: https://issues.apache.org/jira/browse/SPARK-61476
> 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
>
>
> Follow-up of SPARK-61427 (#489). TableArg.partitionBy and orderBy unpack a
> lone tuple and name the argument cols in their errors. PySpark's _to_cols
> unpacks only a list and checks each column with F._to_col, so a tuple raises
> NOT_EXPECTED_TYPE for the argument col. AGENTS.md still says that
> to_column_list covers select, sort and groupBy, which use unwrap_sequence.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]