| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- -- 清除 /test/aaa/ 下的所有测试数据
- -- 使用 onerror(continue,'has version data') 忽略类不存在的错误
- -- 删除所有测试 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,'has version data','not exist','not find','not found')
- **/
- ;
- 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
- ;
|