-- 清除 /test/aaa/ 下的所有测试数据 -- 使用 onerror(continue) 忽略类不存在的错误 -- 删除所有测试 class 数据 delete from /test/aaa/test_basic with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_class with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_search with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_aggr with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_bucket_logs with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_bucket_strulogs with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_bucket_tsdb with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_bucket_promdb with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_graph with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_partition with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_mpartition with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_conflict with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_prepare with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_subquery with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_cross_ns with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_syntax with version /** onerror(continue,'not exist','not find','not found') **/ ; delete from /test/aaa/test_trigger with version /** onerror(continue,'not exist','not find','not found') **/ ; -- 安全删除所有 class drop class if exists /test/aaa/test_basic ; drop class if exists /test/aaa/test_class ; drop class if exists /test/aaa/test_search ; drop class if exists /test/aaa/test_aggr ; drop class if exists /test/aaa/test_bucket_logs ; drop class if exists /test/aaa/test_bucket_strulogs ; drop class if exists /test/aaa/test_bucket_tsdb ; drop class if exists /test/aaa/test_bucket_promdb ; drop class if exists /test/aaa/test_graph ; drop class if exists /test/aaa/test_partition ; drop class if exists /test/aaa/test_mpartition ; drop class if exists /test/aaa/test_conflict force /** onerror(continue) **/ ; drop class if exists /test/aaa/test_prepare ; drop class if exists /test/aaa/test_subquery ; drop class if exists /test/aaa/test_cross_ns ; drop class if exists /test/aaa/test_syntax ; drop class if exists /test/aaa/test_trigger ;