Skip to main content
Repairs one or more corrupted tables. Tables are specified as a comma-separated list of table names.
REPAIR TABLE Syntax

Parameters

<schema name>

Name of the schema containing the table to repair

<view name>

Name of the table to repair

REPAIR_POLICY

Specifies the type of table repair to perform. The following are available:
TypeDescription
delete_chunksDeletes any corrupted chunks
shrink_columnsShrinks corrupted chunks to the shortest column
replay_walManually invokes WAL replay on the table

Examples

To manually replay the WAL on two tables:
REPAIR TABLE Example