REPAIR TABLE Syntax
Parameters
<schema name>
<schema name>
Name of the schema containing the table to repair
<view name>
<view name>
Name of the table to repair
REPAIR_POLICY
REPAIR_POLICY
Specifies the type of table repair to perform. The following are available:
| Type | Description |
|---|---|
delete_chunks | Deletes any corrupted chunks |
shrink_columns | Shrinks corrupted chunks to the shortest column |
replay_wal | Manually invokes WAL replay on the table |
Examples
To manually replay the WAL on two tables:REPAIR TABLE Example