Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44137

Change handling of iterable objects for on field in joins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.0
    • None
    • PySpark

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhaberstroh John Haberstroh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: