You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
issue with nested CTE + Distributed + IN subquery #23865
comp-query-analyzerSemantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules).unexpected behaviourResult is unexpected, but not entirely wrong at the same time.
create table table_local engine = Log AS select * from numbers(10);
create table table_dist engine = Distributed('test_cluster_two_shards',default,table_local) AS table_local;
with
x as (select number from numbers(10) where number % 3=0),
y as (
select number, count() from table_dist
where number in (select * from x) group by number
)
select * from y;
Received exception from server (version 21.4.6):
Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Table default.x doesn't exist: While processing number IN ((SELECT * FROM x) AS _subquery10).
Is this problem solved now? This problem can also be reproduced in v23.3.8.21-lts. In cluster mode, this problem can be reproduced when multiple servers and shards are deployed. This problem does not occur when only one server is used and multiple shards are configured. The test cases are the same as those in #29748
comp-query-analyzerSemantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules).unexpected behaviourResult is unexpected, but not entirely wrong at the same time.
Activity
amosbird commentedon May 11, 2021
It works in master.
DipalPrajapati commentedon Jul 29, 2021
Hi , did it work for you @filimonov ? I am facing the same issue.
DenisGee commentedon May 5, 2023
+1 what about the problem? =)
h1k commentedon Aug 16, 2023
Is this problem solved now? This problem can also be reproduced in v23.3.8.21-lts. In cluster mode, this problem can be reproduced when multiple servers and shards are deployed. This problem does not occur when only one server is used and multiple shards are configured. The test cases are the same as those in #29748
Close: #23865