HappenLee opened a new issue #4546:
URL: https://github.com/apache/incubator-doris/issues/4546
**Describe the bug**
Colocate join can not perceive parameters `parallel_ fragment_ exec_
instance_num` settings:
If we only hava one BE and create a table:
```
CREATE TABLE `baseall` (
`k1` tinyint(4) NULL COMMENT "",
`k2` smallint(6) NULL COMMENT "",
`k3` int(11) NULL COMMENT "",
`k4` bigint(20) NULL COMMENT "",
`k5` decimal(9, 3) NULL COMMENT "",
`k6` char(5) NULL COMMENT "",
`k10` date NULL COMMENT "",
`k11` datetime NULL COMMENT "",
`k7` varchar(20) NULL COMMENT "",
`k8` double MAX NULL COMMENT "",
`k9` float SUM NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`k1`) BUCKETS 5
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "V2"
);
```
do the query
```
select * from baseall b1, baseall b2 where b1.k1 = b2.k1;
```
this is a `colocate join`. Because the bucket num is 5, the instance of one
fragmnet is same 5, no matter the how `parallel_ fragment_ exec_ instance_num`
be set.
**Expected behavior**
the instance of one fragmnet should be ```<= parallel_ fragment_ exec_
instance_num```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]