This website requires JavaScript.
Explore
Help
Sign In
thevar1able
/
ClickHouse
Watch
1
Star
0
Fork
0
You've already forked ClickHouse
mirror of
https://github.com/ClickHouse/ClickHouse.git
synced
2024-11-27 18:12:02 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9e49d7c8cb
ClickHouse
/
tests
/
queries
/
0_stateless
/
00508_materialized_view_to.reference
11 lines
20 B
Plaintext
Raw
Normal View
History
Unescape
Escape
StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y This allows creation of materialized views without inner tables, using an existing table for materialized rows instead. This is useful for cases when you want to detach the materializing view, but keep the already materialized data readable, especially when the inner table is replicated.
2017-10-21 20:08:49 +00:00
1
2
ParserCreateQuery: allow ATTACH TABLE x shorthand statement Allow `ATTACH TABLE [db.]name` if the table was previously detached, an the table structure can be read from disk. This makes reattaching tables less cumbersome: ``` CREATE TABLE test.t (x UInt8) ENGINE = Null; DETACH TABLE test.t; ATTACH TABLE test.t; ```
2017-10-21 20:38:39 +00:00
1
2
save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2]
2017-10-30 17:53:01 +00:00
1
2
3
1
2
3
Reference in New Issue
Copy Permalink