liupc opened a new pull request #27871: [SPARK-31105][CORE]Respect sql 
execution id for FIFO scheduling mode
URL: https://github.com/apache/spark/pull/27871
 
 
   
   ### What changes were proposed in this pull request?
   
   Currently, spark will sort taskSets by jobId and stageId and then schedule 
them in order for FIFO schedulingMode. In OLAP senerios, especially under high 
concurrency, the taskSets are always from different sql queries and several 
jobs can be submitted for execution at one time for one query, especailly for 
adaptive execution. But now we order those taskSets without considering the 
execution group, which may causes the query being delayed.
   
   So I propose to consider the sql execution id when scheduling jobs.
   
   
   ### Why are the changes needed?
   
   Improvements
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   existing UT & added UT
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to