Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ public void colocated() throws Exception {
.and(hasDistribution(IgniteDistributions.affinity(0, null, "hash")))),
algo.rulesToDisable);

// TODO: https://issues.apache.org/jira/browse/IGNITE-16334 Eventually planner skips optimal join plan.
if (algo == AggregateAlgorithm.HASH)
return;

sql = "SELECT dept.deptid, agg.cnt " +
"FROM dept " +
"JOIN (SELECT deptid, COUNT(*) AS cnt FROM emp GROUP BY deptid) AS agg ON dept.deptid = agg.deptid";
Expand Down
Loading