mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
15 lines
401 B
SQL
15 lines
401 B
SQL
-- Origin SQL:
|
|
create table test.event_all
|
|
ON CLUSTER 'default_cluster'
|
|
AS test.evnets_local
|
|
ENGINE = Distributed(
|
|
default_cluster,
|
|
test,
|
|
events_local,
|
|
rand()
|
|
) SETTINGS fsync_after_insert=0;
|
|
|
|
|
|
-- Format SQL:
|
|
CREATE TABLE test.event_all ON CLUSTER 'default_cluster' AS test.evnets_local ENGINE = Distributed(default_cluster, test, events_local, rand()) SETTINGS fsync_after_insert=0;
|