mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #56397 from den-crane/test/on_cluster_positional_arguments
test on cluster positional_arguments
This commit is contained in:
commit
945fbb3211
@ -0,0 +1,2 @@
|
||||
d Date
|
||||
f UInt64
|
@ -0,0 +1,19 @@
|
||||
-- Tags: no-ordinary-database, no-replicated-database, distributed, zookeeper
|
||||
|
||||
DROP TABLE IF EXISTS t02006 on cluster test_shard_localhost format Null;
|
||||
DROP TABLE IF EXISTS m02006 on cluster test_shard_localhost format Null;
|
||||
|
||||
CREATE TABLE t02006 on cluster test_shard_localhost (d Date)
|
||||
ENGINE = MergeTree ORDER BY d
|
||||
format Null;
|
||||
|
||||
CREATE MATERIALIZED VIEW m02006 on cluster test_shard_localhost
|
||||
Engine = MergeTree ORDER BY tuple() AS SELECT d, 0 AS i FROM t02006 GROUP BY d, i
|
||||
format Null;
|
||||
|
||||
ALTER TABLE t02006 on cluster test_shard_localhost ADD COLUMN IF NOT EXISTS f UInt64 format Null;
|
||||
|
||||
DESC t02006;
|
||||
|
||||
DROP TABLE IF EXISTS t02006 on cluster test_shard_localhost format Null;
|
||||
DROP TABLE IF EXISTS m02006 on cluster test_shard_localhost format Null;
|
Loading…
Reference in New Issue
Block a user