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

PropagateTypes is very slow when there are lots of columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1, 1.4.0
    • 1.5.0
    • SQL
    • None

    Description

      The time for PropagateTypes is O(N*N), N is the number of columns, which is very slow if there many columns (>1000)

      There easiest optimization could be put `q.inputSet` outside of transformExpressions which could have about 4 times improvement for N=3000

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            davies Davies Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: