You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "John Haberstroh (Jira)" <ji...@apache.org> on 2023/06/21 21:24:00 UTC

[jira] [Created] (SPARK-44137) Change handling of iterable objects for on field in joins

John Haberstroh created SPARK-44137:
---------------------------------------

             Summary: Change handling of iterable objects for on field in joins
                 Key: SPARK-44137
                 URL: https://issues.apache.org/jira/browse/SPARK-44137
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 3.5.0
            Reporter: John Haberstroh


The {{on}} field complained when I passed it a Tuple. That's because it saw that it checked for {{list}} exactly, and so wrapped it into a list like {{{}[on]{}}}, leading to immediate failure. This was surprising -- typically, tuple and list should be interchangeable, and typically tuple is the more readily accepted type. I have proposed a change that moves towards the principle of least surprise for this situation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org