mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
test for probably fixed issue (#11221)
This commit is contained in:
parent
c34f1ed6fd
commit
4fa3628097
@ -0,0 +1,16 @@
|
||||
DROP TABLE IF EXISTS foo_local;
|
||||
DROP TABLE IF EXISTS foo_distributed;
|
||||
|
||||
CREATE TABLE foo_local (bar UInt64)
|
||||
ENGINE = MergeTree()
|
||||
ORDER BY tuple();
|
||||
|
||||
CREATE TABLE foo_distributed AS foo_local
|
||||
ENGINE = Distributed('test_cluster_two_shards_localhost', currentDatabase(), foo_local);
|
||||
|
||||
CREATE TEMPORARY TABLE _tmp_baz (qux UInt64);
|
||||
|
||||
SELECT * FROM foo_distributed JOIN _tmp_baz ON foo_distributed.bar = _tmp_baz.qux;
|
||||
|
||||
DROP TABLE foo_local;
|
||||
DROP TABLE foo_distributed;
|
Loading…
Reference in New Issue
Block a user