Merge pull request #42852 from SaltTan/patch-1

Docs. Add PARTITION clause  to CHECK TABLE
This commit is contained in:
alesapin 2022-11-07 22:49:33 +01:00 committed by GitHub
commit c88dcba36e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ title: "CHECK TABLE Statement"
Checks if the data in the table is corrupted.
``` sql
CHECK TABLE [db.]name
CHECK TABLE [db.]name [PARTITION partition_expr]
```
The `CHECK TABLE` query compares actual file sizes with the expected values which are stored on the server. If the file sizes do not match the stored values, it means the data is corrupted. This can be caused, for example, by a system crash during query execution.