You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "王仲轩(万章)" <zh...@antgroup.com.INVALID> on 2024/07/22 12:14:12 UTC

[Spark SQL]: Why the OptimizeSkewedJoin rule does not optimize FullOuterJoin?

Hi,
I am a beginner in Spark and currently learning the Spark source code. I have a question about the AQE rule OptimizeSkewedJoin. 
I have a SQL query using SMJ FullOuterJoin, where there is read skew on the left side (the case is mentioned below). 
case:
remote bytes read total (min, med, max)
90.5 GiB [bytes:97189264140] (208.5 MiB [bytes:218673776], 210.0 MiB [bytes:220191607], 18.1 GiB [bytes:19467332173])
However, the OptimizeSkewedJoin rule does not optimize FullOuterJoin. I would like to know the reason behind this.
Thanks.