Update 02164_materialized_view_support_virtual_column.sql

This commit is contained in:
Maksim Kita 2022-01-10 12:21:49 +03:00 committed by GitHub
parent f34fdaec46
commit 7d24c05424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ DROP TABLE IF EXISTS test_tb;
CREATE TABLE test_tb (a UInt64, s String) ENGINE = MergeTree() ORDER BY a;
DROP VIEW IF EXISTS test_view_tb;
CREATE MATERIALIZED VIEW test_view_tb ENGINE = MergeTree() ORDER BY a AS SELECT * FROM 02164_db.test_tb;
CREATE MATERIALIZED VIEW test_view_tb ENGINE = MergeTree() ORDER BY a AS SELECT * FROM test_tb;
INSERT INTO test_tb VALUES (1, '1'), (2, '2'), (3, '3');