lava-oushudb-dt-sql-parser/test/parser/spark/syntax/fixtures/repairTable.sql
琉易 d13a92914d
feat: spark sql DDL test (#170)
Co-authored-by: liuyi <liuyi@dtstack.com>
2023-10-09 09:49:48 +08:00

15 lines
333 B
SQL

-- 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;