mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Update docs/en/engines/table-engines/integrations/azure-queue.md
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
This commit is contained in:
parent
6719112b02
commit
dcd1874520
@ -50,7 +50,7 @@ When the `MATERIALIZED VIEW` joins the engine, it starts collecting data in the
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
CREATE TABLE s3queue_engine_table (name String, value UInt32)
|
CREATE TABLE azure_queue_engine_table (name String, value UInt32)
|
||||||
ENGINE=AzureQueue('<endpoint>', 'CSV', 'gzip')
|
ENGINE=AzureQueue('<endpoint>', 'CSV', 'gzip')
|
||||||
SETTINGS
|
SETTINGS
|
||||||
mode = 'unordered';
|
mode = 'unordered';
|
||||||
@ -59,7 +59,7 @@ Example:
|
|||||||
ENGINE = MergeTree() ORDER BY name;
|
ENGINE = MergeTree() ORDER BY name;
|
||||||
|
|
||||||
CREATE MATERIALIZED VIEW consumer TO stats
|
CREATE MATERIALIZED VIEW consumer TO stats
|
||||||
AS SELECT name, value FROM s3queue_engine_table;
|
AS SELECT name, value FROM azure_queue_engine_table;
|
||||||
|
|
||||||
SELECT * FROM stats ORDER BY name;
|
SELECT * FROM stats ORDER BY name;
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user