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

Query optimizer slow when using Column.isInCollection() with a large size collection

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Query optimizer slow when using Column.isInCollection() with a large size collection.

      The query optimizer takes a long time to do its thing and on the UI all I see is "Running commands". This can take from 10s of minutes to 11 hours depending on how many values there are.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                weichenxu123 Weichen Xu
                Reporter:
                weichenxu123 Weichen Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: