2020-03-27 16:44:09 +00:00
|
|
|
---TUMBLE---
|
|
|
|
||---WINDOW COLUMN NAME---
|
2020-06-19 09:35:18 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY tuple(`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---WINDOW COLUMN ALIAS---
|
2020-06-19 09:35:18 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY tuple(`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---IDENTIFIER---
|
2020-06-19 09:35:18 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `b` Int32, \n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`, b)\nSETTINGS index_granularity = 8192
|
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `b` Int32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`, b)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---FUNCTION---
|
2020-06-19 09:35:18 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `plus(a, b)` Int64, \n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`, `plus(a, b)`)\nSETTINGS index_granularity = 8192
|
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))` UInt32, \n `plus(a, b)` Int64, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'))`, `plus(a, b)`)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
---HOP---
|
|
|
|
||---WINDOW COLUMN NAME---
|
2020-06-17 15:06:19 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY tuple(`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---WINDOW COLUMN ALIAS---
|
2020-06-17 15:06:19 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY tuple(`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---IDENTIFIER---
|
2020-06-17 15:06:19 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `b` Int32, \n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`, b)\nSETTINGS index_granularity = 8192
|
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `b` Int32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`, b)\nSETTINGS index_granularity = 8192
|
2020-03-27 16:44:09 +00:00
|
|
|
||---FUNCTION---
|
2020-06-17 15:06:19 +00:00
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `plus(a, b)` Int64, \n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`, `plus(a, b)`)\nSETTINGS index_granularity = 8192
|
|
|
|
CREATE TABLE default.`.inner.wv`\n(\n `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))` UInt32, \n `plus(a, b)` Int64, \n `count(a)` AggregateFunction(count, Int32)\n)\nENGINE = AggregatingMergeTree()\nPRIMARY KEY `WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`\nORDER BY (`WINDOW_ID(timestamp, toIntervalSecond(\'1\'), toIntervalSecond(\'3\'))`, `plus(a, b)`)\nSETTINGS index_granularity = 8192
|