Dave DeCaprio created SPARK-26548:
-------------------------------------

             Summary: Don't block during query optimization
                 Key: SPARK-26548
                 URL: https://issues.apache.org/jira/browse/SPARK-26548
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Dave DeCaprio


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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to