dcoliversun commented on code in PR #36820:
URL: https://github.com/apache/spark/pull/36820#discussion_r894120786
##########
docs/sql-performance-tuning.md:
##########
@@ -222,17 +222,19 @@ parameter. The "REPARTITION" hint has a partition number,
columns, or both/neith
The "REPARTITION_BY_RANGE" hint must have column names and a partition number
is optional. The "REBALANCE"
hint has an initial partition number, columns, or both/neither of them as
parameters.
- SELECT /*+ COALESCE(3) */ * FROM t
- SELECT /*+ REPARTITION(3) */ * FROM t
- SELECT /*+ REPARTITION(c) */ * FROM t
- SELECT /*+ REPARTITION(3, c) */ * FROM t
- SELECT /*+ REPARTITION */ * FROM t
- SELECT /*+ REPARTITION_BY_RANGE(c) */ * FROM t
- SELECT /*+ REPARTITION_BY_RANGE(3, c) */ * FROM t
- SELECT /*+ REBALANCE */ * FROM t
- SELECT /*+ REBALANCE(3) */ * FROM t
- SELECT /*+ REBALANCE(c) */ * FROM t
- SELECT /*+ REBALANCE(3, c) */ * FROM t
+```sql
Review Comment:
Thanks. I think no need use `{% highlight sql %}`.
* SQL Code block as follow
https://github.com/apache/spark/blob/c480c66d06af9076b9c4af79e51526a054670a06/docs/sql-ref-ansi-compliance.md?plain=1#L45-L67
* Document Page built as follow

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