lava-oushudb-dt-sql-parser/test/parser/spark/syntax/fixtures/repairTable.sql

15 lines
333 B
MySQL
Raw Normal View History

-- Syntax
-- [MSCK] REPAIR TABLE table_identifier [{ADD|DROP|SYNC} PARTITIONS]
REPAIR TABLE t1;
MSCK REPAIR TABLE t1;
REPAIR TABLE t1 ADD PARTITIONS;
REPAIR TABLE t1 DROP PARTITIONS;
REPAIR TABLE t1 SYNC PARTITIONS;
MSCK REPAIR TABLE t1 ADD PARTITIONS;
MSCK REPAIR TABLE t1 DROP PARTITIONS;
MSCK REPAIR TABLE t1 SYNC PARTITIONS;