mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
c341b3b237
This should fix JOIN w/o explicit database. v2: rewrite only JOIN section, since there is old behavior that relies on default_database for IN section, see [1]: - 01487_distributed_in_not_default_db - 01152_cross_replication [1]: https://s3.amazonaws.com/clickhouse-test-reports/33611/d0ea3c76fa51131171b1825939680867eb1c04da/fast_test__actions_.html Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
-- { echoOn }
|
|
select * from dist_02175 l join local_02175 r using dummy;
|
|
0
|
|
0
|
|
select * from dist_02175 l global join local_02175 r using dummy;
|
|
0
|
|
0
|
|
-- explicit database for distributed table
|
|
select * from remote('127.1', currentDatabase(), dist_02175) l join local_02175 r using dummy;
|
|
0
|
|
0
|
|
select * from remote('127.1', currentDatabase(), dist_02175) l global join local_02175 r using dummy;
|
|
0
|
|
0
|