Gabriel39 commented on pull request #32391:
URL: https://github.com/apache/spark/pull/32391#issuecomment-845594216


   @ulysses-you Well, I think you want to make broadcast threshold isolation 
between AQE and normal because current broadcast can lead to OOM. However, when 
a join is converted to a BHJ during normal planning process using static stats, 
it is definitely a BHJ and AQE should not optimize it to other join type since 
static stats (e.g sizeInBytes) is always larger or equal the actual value. So 
driver side OOM will occur only if the broadcast threshold is too large. 
   
   So Im not sure this PR make sense since OOM commonly due to  unreasonable 
broadcast threshold.
   
   If I misunderstand your point, feel free to point out my mistake. Thx.


-- 
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]



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

Reply via email to