apache / apache/doris-website

Issue on docs distribute-hint

Open
#2,482 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
133
Forks
464
Avg merge
1d 1h
Merged PRs (30d)
50

Description

- Page Link: https://doris.apache.org/zh-CN/docs/query-acceleration/hints/distribute-hint#%E6%A1%88%E4%BE%8B

- Version: 2.1

- Reason: Hint Used is missing the broadcast hint.(Hint Used 缺少了广播的hint)

- Suggest:正确内容如下(我已经在本地的2.1.6环境验证)

```sql
Planner: Nereids Planner
--
PhysicalResultSink
--hashAgg[GLOBAL]
----PhysicalDistribute[DistributionSpecGather]
------hashAgg[LOCAL]
--------PhysicalProject
----------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
------------PhysicalProject
--------------PhysicalOlapScan[t2]
------------PhysicalDistribute[DistributionSpecReplicated]
--------------PhysicalProject
----------------PhysicalOlapScan[t1]
 
Hint log:
Used: [broadcast]_2 ORDERED
UnUsed:
SyntaxError:
```

- May I contribute to this pull request? Our company has been frequently using Doris lately. If given the chance, I would also like to gradually become involved in the community.(如果确认该Issue的话,可以由我来提交PR吗,我很希望参与到doris社区当中)

- ScreenShot:

![Image](https://github.com/user-attachments/assets/a6159242-13bb-4502-9f52-67b94dc5ee3a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.