Merge pull request #56397 from den-crane/test/on_cluster_positional_arguments

test on cluster positional_arguments
This commit is contained in:
Alexander Tokmakov 2023-11-07 14:08:32 +01:00 committed by GitHub
commit 945fbb3211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,2 @@
d Date
f UInt64

View File

@ -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;