mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
464b5e0e15
This reverts commit 57306706b3
.
45 lines
2.4 KiB
Plaintext
45 lines
2.4 KiB
Plaintext
<1: created view> a [] 1
|
|
CREATE MATERIALIZED VIEW default.a\nREFRESH AFTER 1 SECOND\n(\n `x` UInt64\n)\nENGINE = Memory AS\nSELECT number AS x\nFROM numbers(2)\nUNION ALL\nSELECT rand64() AS x
|
|
<2: refreshed> 3 1 1
|
|
<3: time difference at least> 500
|
|
<4: next refresh in> 1
|
|
<4.5: altered> Scheduled Finished 2052-01-01 00:00:00
|
|
CREATE MATERIALIZED VIEW default.a\nREFRESH EVERY 2 YEAR\n(\n `x` Int16\n)\nENGINE = Memory AS\nSELECT x * 2 AS x\nFROM default.src
|
|
<5: no refresh> 3
|
|
<6: refreshed> 2
|
|
<7: refreshed> Scheduled Finished 2054-01-01 00:00:00
|
|
CREATE MATERIALIZED VIEW default.b\nREFRESH EVERY 2 YEAR DEPENDS ON default.a\n(\n `y` Int32\n)\nENGINE = MergeTree\nORDER BY y\nSETTINGS index_granularity = 8192 AS\nSELECT x * 10 AS y\nFROM default.a
|
|
<8: refreshed> 20
|
|
<9: refreshed> a Scheduled Finished 2054-01-01 00:00:00
|
|
<9: refreshed> b Scheduled Finished 2054-01-01 00:00:00
|
|
<10: waiting> a Scheduled [] 2054-01-01 00:00:00
|
|
<10: waiting> b WaitingForDependencies ['default.a'] 2054-01-01 00:00:00
|
|
<11: chain-refreshed a> 4
|
|
<12: chain-refreshed b> 40
|
|
<13: chain-refreshed> a Scheduled [] Finished 2054-01-01 00:00:01 2056-01-01 00:00:00
|
|
<13: chain-refreshed> b Scheduled ['default.a'] Finished 2054-01-24 23:22:21 2056-01-01 00:00:00
|
|
<14: waiting for next cycle> a Scheduled [] 2058-01-01 00:00:00
|
|
<14: waiting for next cycle> b WaitingForDependencies ['default.a'] 2060-01-01 00:00:00
|
|
<15: chain-refreshed a> 6
|
|
<16: chain-refreshed b> 60
|
|
<17: chain-refreshed> a Scheduled 2062-01-01 00:00:00
|
|
<17: chain-refreshed> b Scheduled 2062-01-01 00:00:00
|
|
<18: removed dependency> b Scheduled [] 2062-03-03 03:03:03 2064-01-01 00:00:00 5
|
|
CREATE MATERIALIZED VIEW default.b\nREFRESH EVERY 2 YEAR\n(\n `y` Int32\n)\nENGINE = MergeTree\nORDER BY y\nSETTINGS index_granularity = 8192 AS\nSELECT x * 10 AS y\nFROM default.a
|
|
<19: exception> 1
|
|
<20: unexception> 1
|
|
<21: rename> 1
|
|
<22: rename> d Finished
|
|
<23: simple refresh> 1
|
|
<24: rename during refresh> 1
|
|
<25: rename during refresh> f Running
|
|
<27: cancelled> f Scheduled
|
|
CREATE MATERIALIZED VIEW default.g\nREFRESH EVERY 1 WEEK OFFSET 3 DAY 4 HOUR RANDOMIZE FOR 4 DAY 1 HOUR\n(\n `x` Int64\n)\nENGINE = Memory AS\nSELECT 42
|
|
<29: randomize> 1 1
|
|
CREATE MATERIALIZED VIEW default.h\nREFRESH EVERY 1 SECOND TO default.dest\n(\n `x` Int64\n) AS\nSELECT x * 10 AS x\nFROM default.src
|
|
<30: to existing table> 10
|
|
<31: to existing table> 10
|
|
<31: to existing table> 20
|
|
<32: empty> i Scheduled Unknown
|
|
<32: empty> j Scheduled Finished
|