Merge pull request #68612 from leonkozlowski/docs/fix-merge-tree-primary-key-docs

patch: fix reference to sorting key in primary key docs
This commit is contained in:
vdimir 2024-08-23 16:29:25 +00:00 committed by GitHub
commit 642657d02c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ For partitioning by month, use the `toYYYYMM(date_column)` expression, where `da
`PRIMARY KEY` — The primary key if it [differs from the sorting key](#choosing-a-primary-key-that-differs-from-the-sorting-key). Optional.
Specifying a sorting key (using `ORDER BY` clause) implicitly specifies a primary key.
It is usually not necessary to specify the primary key in addition to the primary key.
It is usually not necessary to specify the primary key in addition to the sorting key.
#### SAMPLE BY