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

Don't block during query optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • SQL

    Description

      In Spark 2.4.0 the CacheManager was updated so it will not execute jobs while it holds a lock.This was introduced in SPARK-23880.

      The CacheManager still holds a write lock during the execution of the query optimizer.  For complex queries the optimizer can run for a long time (we see 10-15 minutes for some exceptionally large queries).  This allows only 1 thread to optimize at once. 

      Attachments

        Issue Links

          Activity

            People

              DaveDeCaprio Dave DeCaprio
              DaveDeCaprio Dave DeCaprio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: