An error occurred while attempting to execute a cross-cluster query in hybrid DQ mode.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
To reproduce you need two clusters with QT connected to each other, as "tony" and "bulbasaur" in this example:
```
pragma dq.AnalyzeQuery="false";
pragma yt.RuntimeClusterSelection='auto';
select * from (
select agent, count(*) as finished from (select * from tony.`//sys/query_tracker/finished_queries` union all select * from bulbasaur.`//sys/query_tracker/finished_queries`)
where engine = "yql" and state = "completed"
and start_time between CurrentUtcDate()-Interval("P1W") and CurrentUtcDate()-Interval("P1D")
group by Yson::LookupString(annotations, "assigned_engine") as agent
) as f left outer join (
select agent, count(*) as active from (select * from tony.`//sys/query_tracker/active_queries` union all select * from bulbasaur.`//sys/query_tracker/active_queries`)
where engine = "yql" and state = "running"
group by Yson::LookupString(annotations, "assigned_engine") as agent
) as a
using (agent);
```
The error is `unknown token id: default_$runtime, prefix: cluster`.
The same query works fine in pure DQ and pure MR modes.
Contributor guide
Assessment
This issue has not been assessed yet.