Merge pull request #6328 from ramazanpolat/patch-2

Added missing [Primary Key expr] to syntax
This commit is contained in:
alexey-milovidov 2019-08-05 01:01:39 +03:00 committed by GitHub
commit 8dfe294fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster]
) ENGINE = ReplacingMergeTree([ver])
[PARTITION BY expr]
[ORDER BY expr]
[PRIMARY KEY expr]
[SAMPLE BY expr]
[SETTINGS name=value, ...]
```