0

To remote a composite partition in DolphinDB database, do I have to manually delete all first-level partition? Is there a command to do it in one line of code?

Bob
  • 137
  • 2
  • 9

1 Answers1

0

Yes, DolphinDB 0.96.0 supports this feature.

dropPartition(dbHandle, partitionPaths, [tableName], [forceDelete=false])

partitionPaths can either be dfs path relative to the database or filtering criteria. http://www.dolphindb.com/help/index.html?dropPartition.html

Davis Zhou
  • 353
  • 4
  • 6