wangyum commented on PR #37048:
URL: https://github.com/apache/spark/pull/37048#issuecomment-1179999172

   > This reminds me of `CheckCartesianProducts`. In general, it's a bit hard 
to predict bad queries and fail earlier. Will #37014 solve your issue?
   
   That can not solve the case where the input is very large and can't coalesce 
shuffle partitions. For example:
   ```sql
   select * from large_table1(10000 partitions) t1 join large_table2(10000 
partitions) t2 on t1.id = t1.id;
   ```
   


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

To unsubscribe, e-mail: [email protected]

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