Hyukjin Kwon created SPARK-61476:
------------------------------------

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


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]

Reply via email to