mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update test.py
This commit is contained in:
parent
36ea9ef11f
commit
c066593595
@ -16,7 +16,9 @@ def start_cluster():
|
||||
|
||||
def test_materialized_view_with_subquery(start_cluster):
|
||||
node.query("create table test (x UInt32) engine=TineLog()")
|
||||
node.query("create materialized view mv engine = TinyLog() as with subquery as (select * from test) select * from subquery")
|
||||
node.query(
|
||||
"create materialized view mv engine = TinyLog() as with subquery as (select * from test) select * from subquery"
|
||||
)
|
||||
node.restart_clickhouse(kill=True)
|
||||
node.query("insert into test select 1")
|
||||
result = node.query("select * from mv")
|
||||
|
Loading…
Reference in New Issue
Block a user