Skip to content

Commit

Permalink
[enhance](regression-test) test alter table partition
Browse files Browse the repository at this point in the history
  • Loading branch information
cjj2010 committed Nov 11, 2024
1 parent cd3207d commit 0934017
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ suite("test_alter_table_partition", "p0") {
"ADD PARTITION p1 VALUES [(\"2014-01-01\"), (\"2014-02-01\"));"

//Batch add partitions for numeric and temporal types
sql dropSql;
sql initTable;
sql "ALTER TABLE ${tbName}\n" +
"ADD PARTITIONS FROM (\"2012-01-01\") TO (\"2013-01-01\") INTERVAL 1 YEAR;"
if (isCloudMode()) {
sql dropSql;
sql initTable;
sql "ALTER TABLE ${tbName}\n" +
"ADD PARTITIONS FROM (\"2012-01-01\") TO (\"2013-01-01\") INTERVAL 1 YEAR;"
}

}

0 comments on commit 0934017

Please sign in to comment.