Skip to content

Commit f509bae

Browse files
Merge pull request #210780 from BCS2022/apache-spark-advisor-edit
small change
2 parents be67f8d + 47562be commit f509bae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/synapse-analytics/monitoring/apache-spark-advisor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ spark.sql("SELECT /*+ BROADCAST(unknownTable) */ * FROM t1 INNER JOIN t2 ON t1.s
3737
spark.sql("SELECT /*+ BROADCAST(t1), MERGE(t1, t2) */ * FROM t1 INNER JOIN t2 ON t1.str = t2.str")
3838
```
3939

40-
### Reduce rounding error propagation caused by division.
40+
### Reduce rounding error propagation caused by division
4141
This query contains the expression with the `double` type. We recommend that you enable the configuration `spark.advise.divisionExprConvertRule.enable`, which can help reduce the division expressions and the rounding error propagation.
4242

4343
```text
4444
"t.a/t.b/t.c" convert into "t.a/(t.b * t.c)"
4545
```
4646

47-
### Improve query performance for non-equal join.
47+
### Improve query performance for non-equal join
4848
This query contains a time-consuming join because of an `Or` condition within the query. We recommend that you enable the configuration `spark.advise.nonEqJoinConvertRule.enable`. It can help convert the join triggered by the `Or` condition to shuffle sort merge join (SMJ) or broadcast hash join (BHJ) to accelerate this query.
4949

5050
### The use of the randomSplit method might return inconsistent results

0 commit comments

Comments
 (0)