已知该函数dropPartition
需要这样的参数:
dropPartition(dbHandle, partitionPaths, [tableName])
partitionPaths
如果我想通过一次调用函数来删除多个范围分区,如何指定参数?我只能以这种方式删除一个分区一次:
db=database(dbPath, RANGE, 0 5 10 15 20)
t=table(rand(20, 100) as ID,rand(1.0, 100) as x)
pt = db.createPartitionedTable(t, `tb1, `ID)
pt.append!(t)
dropPartition(db,"0_5")