From 2996213df94346a23119a6b80dbd3aa759f73343 Mon Sep 17 00:00:00 2001 From: xzj7019 Date: Wed, 25 Dec 2024 20:59:02 +0800 Subject: [PATCH] [Improvement](docs) refine query acceleration doc --- .../tuning/tuning-plan/adjusting-join-shuffle.md | 3 ++- .../tuning/tuning-plan/controlling-hints-with-cbo-rule.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/query-acceleration/tuning/tuning-plan/adjusting-join-shuffle.md b/docs/query-acceleration/tuning/tuning-plan/adjusting-join-shuffle.md index 93979be0c4cb4..c8d1bb7694f65 100644 --- a/docs/query-acceleration/tuning/tuning-plan/adjusting-join-shuffle.md +++ b/docs/query-acceleration/tuning/tuning-plan/adjusting-join-shuffle.md @@ -1,3 +1,4 @@ +--- { "title": "Adjusting Join Shuffle Mode with Hint", "language": "en" @@ -40,7 +41,7 @@ SELECT COUNT(*) FROM t2 JOIN [broadcast] t1 ON t1.c1 = t2.c2; SELECT COUNT(*) FROM t2 JOIN [shuffle] t1 ON t1.c1 = t2.c2; ``` -## Case Study +## Case Next, we will demonstrate the usage of Distribute Hints through an example: diff --git a/docs/query-acceleration/tuning/tuning-plan/controlling-hints-with-cbo-rule.md b/docs/query-acceleration/tuning/tuning-plan/controlling-hints-with-cbo-rule.md index f71bb303beea2..3b1db76c4b121 100644 --- a/docs/query-acceleration/tuning/tuning-plan/controlling-hints-with-cbo-rule.md +++ b/docs/query-acceleration/tuning/tuning-plan/controlling-hints-with-cbo-rule.md @@ -51,7 +51,7 @@ Currently, the Doris optimizer supports several cost-based rewrites, which can b - PUSH_DOWN_AGG_THROUGH_JOIN_ONE_SIDE - PUSH_DOWN_DISTINCT_THROUGH_JOIN -## Example +## Case Here is a query example: