测试用例编号 ddl_345 测试语句 set storage group to root.ln show storage group cluster结果 Msg: The statement is executed successfully. +-------------+ |storage group| +-------------+ | root.ln| +-------------+ Total line number = 1 It costs 0.879s 测试用例编号 ddl_346-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch1 with datatype=BOOLEAN,encoding=PLAIN,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +---------------+-----+-------------+--------+--------+-----------+----+----------+ | timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +---------------+-----+-------------+--------+--------+-----------+----+----------+ |root.ln.dev.ch1| null| root.ln| BOOLEAN| PLAIN| SNAPPY|null| null| +---------------+-----+-------------+--------+--------+-----------+----+----------+ Total line number = 1 It costs 0.370s 测试用例编号 ddl_346-10 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch10 with datatype=FLOAT,encoding=RLE,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.387s 测试用例编号 ddl_346-11 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch11 with datatype=FLOAT,encoding=TS_2DIFF,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.868s 测试用例编号 ddl_346-12 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch12 with datatype=FLOAT,encoding=GORILLA,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.166s 测试用例编号 ddl_346-13 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch13 with datatype=DOUBLE,encoding=PLAIN,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.399s 测试用例编号 ddl_346-14 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch14 with datatype=DOUBLE,encoding=RLE,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.501s 测试用例编号 ddl_346-15 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch15 with datatype=DOUBLE,encoding=TS_2DIFF,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.421s 测试用例编号 ddl_346-16 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch16 with datatype=DOUBLE,encoding=GORILLA,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.830s 测试用例编号 ddl_346-17 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch17 with datatype=text,encoding=plain,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.134s 测试用例编号 ddl_346-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch2 with datatype=BOOLEAN,encoding=RLE,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.322s 测试用例编号 ddl_346-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch3 with datatype=INT32,encoding=PLAIN,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.828s 测试用例编号 ddl_346-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch4 with datatype=INT32,encoding=RLE,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.363s 测试用例编号 ddl_346-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch5 with datatype=INT32,encoding=TS_2DIFF,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.066s 测试用例编号 ddl_346-6 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch6 with datatype=INT64,encoding=PLAIN,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.420s 测试用例编号 ddl_346-7 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch7 with datatype=INT64,encoding=RLE,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.767s 测试用例编号 ddl_346-8 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch8 with datatype=INT64,encoding=TS_2DIFF,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.790s 测试用例编号 ddl_346-9 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch9 with datatype=FLOAT,encoding=PLAIN,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.392s 测试用例编号 ddl_347 测试语句 show storage group count timeseries cluster结果 +-------------+ |storage group| +-------------+ | root.sg78| | root.sg77| | root.sg79| | root.sg74| | root.sg73| | root.sg76| | root.sg75| | root.sg70| | root.sg72| | root.sg71| | root.sg67| | root.sg66| | root.sg69| | root.sg68| | root.sg63| | root.sg62| | root.sg65| | root.sg64| | root.sg61| | root.sg60| | root.sg12| | root.sg11| | root.sg99| | root.sg14| | root.sg13| | root.sg96| | root.sg95| | root.sg10| | root.sg98| | root.sg97| | root.sg19| | root.sg16| | root.sg15| | root.sg18| | root.sg17| | root.sg92| | root.sg91| | root.sg94| | root.sg93| | root.sg1| | root.sg3| | root.sg90| | root.sg2| | root.sg5| | root.sg89| | root.sg4| | root.sg88| | root.sg7| | root.sg6| | root.sg9| | root.sg85| | root.sg8| | root.sg84| | root.sg87| | root.sg86| | root.sg81| | root.sg80| | root.sg83| | root.sg82| | root.sg34| | root.sg33| | root.sg36| | root.sg35| | root.sg30| | root.sg32| | root.sg31| | root.sg38| | root.sg37| | root.sg39| | root.sg100| | root.sg23| | root.sg22| | root.sg25| | root.sg24| | root.sg21| | root.sg20| | root.sg27| | root.sg26| | root.sg29| | root.sg28| | root.sg56| | root.sg55| | root.sg58| | root.sg57| | root.sg52| | root.sg51| | root.sg54| | root.sg53| | root.sg59| | root.sg50| | root.sg45| | root.sg44| | root.sg47| | root.sg46| | root.sg41| | root.sg40| | root.sg43| | root.sg42| | root.sg49| | root.sg48| +-------------+ Total line number = 100 It costs 0.676s +-----+ |count| +-----+ | 1700| +-----+ Total line number = 1 It costs 0.423s 测试用例编号 ddl_348-1 测试语句 set timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:4 no viable alternative at input 'set timeseries' +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.147s 测试用例编号 ddl_348-10 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.641s 测试用例编号 ddl_348-11 测试语句 create timeseries root.ln.dev.ch with encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:38 mismatched input 'encoding' expecting DATATYPE +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.093s 测试用例编号 ddl_348-12 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +--------------+-----+-------------+--------+--------+-----------+----+----------+ | timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +--------------+-----+-------------+--------+--------+-----------+----+----------+ |root.ln.dev.ch| null| root.ln| FLOAT| PLAIN| SNAPPY|null| null| +--------------+-----+-------------+--------+--------+-----------+----+----------+ Total line number = 1 It costs 0.280s 测试用例编号 ddl_348-13 测试语句 create timeseries root.ln.dev.ch with datatype=text,encoding=plain,COMPRESSOR=SNAPPY show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.222s 测试用例编号 ddl_348-14 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain COMPRESSOR=SNAPPY MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:68 mismatched input 'COMPRESSOR' expecting {, ATTRIBUTES, TAGS, ','} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.162s 测试用例编号 ddl_348-15 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.059s 测试用例编号 ddl_348-16 测试语句 create timeseries root.ln.dev with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +-----------+-----+-------------+--------+--------+-----------+----+----------+ | timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +-----------+-----+-------------+--------+--------+-----------+----+----------+ |root.ln.dev| null| root.ln| FLOAT| PLAIN| SNAPPY|null| null| +-----------+-----+-------------+--------+--------+-----------+----+----------+ Total line number = 1 It costs 0.305s 测试用例编号 ddl_348-17 测试语句 create timeseries root.ln.dev.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.234s 测试用例编号 ddl_348-18 测试语句 create timeseries root.ln.dev.!@!#@# with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:30 extraneous input '!' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, INTO, SET, WHERE, FROM, TO, BY, DEVICE, CONFIGURATION, DESCRIBE, SLIMIT, LIMIT, UNLINK, OFFSET, SOFFSET, FILL, LINEAR, PREVIOUS, PREVIOUSUNTILLAST, METADATA, TIMESERIES, TIMESTAMP, PROPERTY, WITH, DATATYPE, COMPRESSOR, STORAGE, GROUP, LABEL, INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, PLAIN, PLAIN_DICTIONARY, RLE, DIFF, TS_2DIFF, GORILLA, REGULAR, ADD, UPSERT, VALUES, NOW, LINK, INDEX, USING, TRACING, ON, OFF, DROP, MERGE, LIST, USER, PRIVILEGES, ROLE, ALL, OF, ALTER, PASSWORD, REVOKE, LOAD, WATERMARK_EMBEDDING, UNSET, TTL, FLUSH, TASK, INFO, DYNAMIC, PARAMETER, VERSION, REMOVE, MOVE, CHILD, PATHS, DEVICES, COUNT, NODES, LEVEL, MIN_TIME, MAX_TIME, MIN_VALUE, MAX_VALUE, AVG, FIRST_VALUE, SUM, LAST_VALUE, LAST, DISABLE, ALIGN, COMPRESSION, TIME, ATTRIBUTES, TAGS, RENAME, FULL, CLEAR, CACHE, TRUE, FALSE, UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4, SNAPSHOT, FOR, SCHEMA, OPERATOR_IN, '-', '[', INT, EXPONENT, DURATION, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.239s 测试用例编号 ddl_348-19 测试语句 create timeseries root.ln.dev.ch with datatype=,encoding=,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:47 missing {INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, ALL} at ',' +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.091s 测试用例编号 ddl_348-2 测试语句 create ts root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:7 no viable alternative at input 'create ts' +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.249s 测试用例编号 ddl_348-20 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT11,encoding=plain11,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:47 mismatched input 'FLOAT11' expecting {INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, ALL} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.300s 测试用例编号 ddl_348-21 测试语句 create timeseries root.ln.dev.ch with datatype=BOOLEAN,encoding=TS_2DIFF,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 303: encoding BOOLEAN does not support TS_2DIFF +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.522s 测试用例编号 ddl_348-22 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY1,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:79 mismatched input 'SNAPPY1' expecting {UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.143s 测试用例编号 ddl_348-23 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=NOCOMPRESSOR,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:79 mismatched input 'NOCOMPRESSOR' expecting {UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.142s 测试用例编号 ddl_348-24 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=0 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.677s 测试用例编号 ddl_348-25 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=-1 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.800s 测试用例编号 ddl_348-3 测试语句 create timeseries root.ln.dev.ch datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:33 mismatched input 'datatype' expecting {WITH, '('} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.219s 测试用例编号 ddl_348-4 测试语句 create timeseries root.ln.dev.ch with data=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:38 mismatched input 'data' expecting DATATYPE +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.137s 测试用例编号 ddl_348-5 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encod=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:59 mismatched input 'plain' expecting {NOW, TRUE, FALSE, '-', '.', 'NaN', INT, EXPONENT, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL, SINGLE_QUOTE_STRING_LITERAL} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.211s 测试用例编号 ddl_348-6 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSO=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: 401: line 1:78 mismatched input 'SNAPPY' expecting {NOW, TRUE, FALSE, '-', '.', 'NaN', INT, EXPONENT, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL, SINGLE_QUOTE_STRING_LITERAL} +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.109s 测试用例编号 ddl_348-7 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.195s 测试用例编号 ddl_348-8 测试语句 CReate timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.538s 测试用例编号 ddl_348-9 测试语句 create timeseries root.ln.dev.ch with datatype=FLOAT,encoding=plain,COMPRESSOR=SNAPPY,MAX_POINT_NUMBER=8 show timeseries cluster结果 Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 1.136s 测试用例编号 ddl_349 测试语句 create timeseries root.ln.wf01.wt01.status with datatype=BOOLEAN,encoding=TS_2DIFF,COMPRESSOR=SNAPPY cluster结果 Msg: 303: encoding BOOLEAN does not support TS_2DIFF 测试用例编号 ddl_358 测试语句 set storage group to root.ln1 show storage group set storage group to root.ln1 cluster结果 Msg: The statement is executed successfully. +-------------+ |storage group| +-------------+ | root.ln1| +-------------+ Total line number = 1 It costs 0.703s Msg: 300: root.ln1 has already been set to storage group 测试用例编号 ddl_404 测试语句 set storage group to root.ln5 cluster结果 Msg: The statement is executed successfully. 测试用例编号 ddl_405-1 测试语句 set storag group to root.ln set storagegroup to root.ln set storage group root.ln set storage group on root.ln create storage group to root.ln set storage group to root set storage group to root. set storage group to root.~!@$$ set storage group to ln.dev set storage group to rootln set storage group to root.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cluster结果 Msg: 401: line 1:4 no viable alternative at input 'set storag' Msg: 401: line 1:4 no viable alternative at input 'set storagegroup' Msg: 401: line 1:18 missing TO at 'root' Msg: 401: line 1:18 mismatched input 'on' expecting TO Msg: 401: line 1:7 no viable alternative at input 'create storage' Msg: 315: root is not a legal path Msg: 401: line 1:26 mismatched input '' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, INTO, SET, WHERE, FROM, TO, BY, DEVICE, CONFIGURATION, DESCRIBE, SLIMIT, LIMIT, UNLINK, OFFSET, SOFFSET, FILL, LINEAR, PREVIOUS, PREVIOUSUNTILLAST, METADATA, TIMESERIES, TIMESTAMP, PROPERTY, WITH, DATATYPE, COMPRESSOR, STORAGE, GROUP, LABEL, INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, PLAIN, PLAIN_DICTIONARY, RLE, DIFF, TS_2DIFF, GORILLA, REGULAR, ADD, UPSERT, VALUES, NOW, LINK, INDEX, USING, TRACING, ON, OFF, DROP, MERGE, LIST, USER, PRIVILEGES, ROLE, ALL, OF, ALTER, PASSWORD, REVOKE, LOAD, WATERMARK_EMBEDDING, UNSET, TTL, FLUSH, TASK, INFO, DYNAMIC, PARAMETER, VERSION, REMOVE, MOVE, CHILD, PATHS, DEVICES, COUNT, NODES, LEVEL, MIN_TIME, MAX_TIME, MIN_VALUE, MAX_VALUE, AVG, FIRST_VALUE, SUM, LAST_VALUE, LAST, DISABLE, ALIGN, COMPRESSION, TIME, ATTRIBUTES, TAGS, RENAME, FULL, CLEAR, CACHE, TRUE, FALSE, UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4, SNAPSHOT, FOR, SCHEMA, '*', OPERATOR_IN, '-', '[', INT, EXPONENT, DURATION, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL} Msg: 401: line 1:27 extraneous input '!' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, INTO, SET, WHERE, FROM, TO, BY, DEVICE, CONFIGURATION, DESCRIBE, SLIMIT, LIMIT, UNLINK, OFFSET, SOFFSET, FILL, LINEAR, PREVIOUS, PREVIOUSUNTILLAST, METADATA, TIMESERIES, TIMESTAMP, PROPERTY, WITH, DATATYPE, COMPRESSOR, STORAGE, GROUP, LABEL, INT32, INT64, FLOAT, DOUBLE, BOOLEAN, TEXT, PLAIN, PLAIN_DICTIONARY, RLE, DIFF, TS_2DIFF, GORILLA, REGULAR, ADD, UPSERT, VALUES, NOW, LINK, INDEX, USING, TRACING, ON, OFF, DROP, MERGE, LIST, USER, PRIVILEGES, ROLE, ALL, OF, ALTER, PASSWORD, REVOKE, LOAD, WATERMARK_EMBEDDING, UNSET, TTL, FLUSH, TASK, INFO, DYNAMIC, PARAMETER, VERSION, REMOVE, MOVE, CHILD, PATHS, DEVICES, COUNT, NODES, LEVEL, MIN_TIME, MAX_TIME, MIN_VALUE, MAX_VALUE, AVG, FIRST_VALUE, SUM, LAST_VALUE, LAST, DISABLE, ALIGN, COMPRESSION, TIME, ATTRIBUTES, TAGS, RENAME, FULL, CLEAR, CACHE, TRUE, FALSE, UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA, LZ4, SNAPSHOT, FOR, SCHEMA, '*', OPERATOR_IN, '-', '[', INT, EXPONENT, DURATION, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL} Msg: 401: line 1:21 mismatched input 'ln' expecting ROOT Msg: 401: line 1:21 mismatched input 'rootln' expecting ROOT Msg: The statement is executed successfully. 测试用例编号 ddl_405-2 测试语句 set storage group to root.ln set storage group to root.ln.dev cluster结果 Msg: The statement is executed successfully. Msg: 300: root.ln has already been set to storage group 测试用例编号 ddl_406 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: 303: Storage group is not set for current seriesPath: [root.ln.dev.ch] 测试用例编号 ddl_407-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(ch) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_407-10 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1==v1) attributes(attr2==v2) cluster结果 Msg: The statement is executed successfully. Msg: 303: Storage group is not set for current seriesPath: [root.ln.dev.ch] 测试用例编号 ddl_407-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(ch1,ch2) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: 401: line 1:36 mismatched input ',' expecting ')' 测试用例编号 ddl_407-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch1(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) create timeseries root.ln.dev.ch2(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 299: Alias [status] for Path [root.ln.dev.ch2] already exist 测试用例编号 ddl_407-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(ch1 ch2) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: 401: line 1:37 extraneous input 'ch2' expecting ')' 测试用例编号 ddl_407-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(123) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: 401: line 1:33 mismatched input '123' expecting ID 测试用例编号 ddl_407-6 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(---) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: 401: line 1:33 mismatched input '-' expecting ID 测试用例编号 ddl_407-7 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch('status') with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_407-8 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1,tag1=v1) attributes(attr1=v1,attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_407-9 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1 tag2=v2) attributes(attr1=v1 attr2=v2) cluster结果 Msg: The statement is executed successfully. Msg: 401: line 1:106 mismatched input 'tag2' expecting {',', ')'} 测试用例编号 ddl_408-1 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch RENAME tag1 TO newTag1 cluster结果 Msg: The statement is executed successfully. Msg: 303: Storage group is not set for current seriesPath: [root.ln.dv.ch] Msg: 304: Path [root.ln.dv.ch] does not exist 测试用例编号 ddl_408-2 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET tag1=newV1,attr1=newV1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_408-3 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch DROP tag1,tag2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_408-4 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=v3,tag4=v4 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_408-5 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD ATTRIBUTES attr3=v3,attr4=v4 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_408-6 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch UPSERT TAGS(tag3=v3,tag4=v4) ATTRIBUTES(attr3=v3,attr4=v4) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_408-7 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch UPSERT TAGS(tag3=v3,tag4=v4) ATTRIBUTES(attr3=v3,attr4=v4) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-1 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch RENAME tag2 TO newTag1 ALTER timeseries root.ln.dv.ch RENAME tag1 TO tag1 ALTER timeseries root.ln.dv.cha RENAME tag1 TO newTag1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 303: TimeSeries [root.ln.dv.ch] does not have tag/attribute [tag2]. Msg: 303: TimeSeries [root.ln.dv.ch] already has a tag/attribute named [tag1]. Msg: 304: Path [root.ln.dv.cha] does not exist 测试用例编号 ddl_409-10 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET taga=newV1,attra5=newV1 update timeseries root.ln.dv.ch SET tag1=newV1,attr1=newV1 ALTER timeseries root.ln.dv.ch SET1 tag1=newV1,attr1=newV1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 303: TimeSeries [root.ln.dv.ch] does not have tag/attribute [taga]. Msg: 401: line 1:7 extraneous input 'timeseries' expecting ROOT Msg: 401: line 1:31 mismatched input 'SET1' expecting {SET, ADD, UPSERT, DROP, RENAME} 测试用例编号 ddl_409-11 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=tag1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-12 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=v3 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-13 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=v3,tag4=v4 cluster结果 Msg: The statement is executed successfully. Msg: 303: Storage group is not set for current seriesPath: [root.ln.dv.ch] Msg: 304: Path [root.ln.dv.ch] does not exist 测试用例编号 ddl_409-14 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=null ALTER timeseries root.ln.dv.ch ADD TAGS v1=v1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-15 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD TAGS tag3=v3 tag4=v4 ALTER timeseries root.ln.dv.ch DROP tag3,tag4 ALTER timeseries root.ln.dv.ch ADD TAG tag3=v3,tag4=v4 ALTER timeseries root.ln.dv.ch ADD1 TAGS tag3=v3,tag4=v4 update timeseries root.ln.dv.ch ADD TAGS tag3=v3,tag4=v4 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:48 mismatched input 'tag4' expecting {, ','} Msg: The statement is executed successfully. Msg: 401: line 1:35 no viable alternative at input 'ADD TAG' Msg: 401: line 1:31 mismatched input 'ADD1' expecting {SET, ADD, UPSERT, DROP, RENAME} Msg: 401: line 1:7 extraneous input 'timeseries' expecting ROOT 测试用例编号 ddl_409-16 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-17 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch DROP tag1 ALTER timeseries root.ln.dv.ch DROP tag3 update timeseries root.ln.dv.ch DROP tag1,tag2 ALTER timeseries root.ln.dv.ch DROP1 tag1,tag2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:7 extraneous input 'timeseries' expecting ROOT Msg: 401: line 1:31 mismatched input 'DROP1' expecting {SET, ADD, UPSERT, DROP, RENAME} 测试用例编号 ddl_409-18 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD ATTRIBUTES attr3=attr1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-2 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch RENAME tag1 TO '' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:45 missing ID at '' 测试用例编号 ddl_409-20 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD ATTRIBUTES attr3=null cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-21 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch ADD ATTRIBUTES v1=v1 ALTER timeseries root.ln.dv.ch ADD1 ATTRIBUTES1 attr3=v3,attr4=v4 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:31 mismatched input 'ADD1' expecting {SET, ADD, UPSERT, DROP, RENAME} 测试用例编号 ddl_409-3 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch RENAME tag1 TO null cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-4 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch RENAME tag1 TO newTag1,newTag2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:53 mismatched input ',' expecting 测试用例编号 ddl_409-5 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) upset timeseries root.ln.dv.ch RENAME tag1 TO newTag1 ALTER timeserie root.ln.dv.ch RENAME tag1 TO newTag1 ALTER timeseries root.ln.dv.ch RENAME1 tag1 TO newTag1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:0 mismatched input 'upset' expecting {CREATE, INSERT, UPDATE, DELETE, SELECT, SHOW, GRANT, SET, DESCRIBE, TRACING, DROP, MERGE, LIST, ALTER, REVOKE, LOAD, UNSET, FLUSH, REMOVE, MOVE, COUNT, FULL, CLEAR} Msg: 401: line 1:6 no viable alternative at input 'ALTER timeserie' Msg: 401: line 1:31 mismatched input 'RENAME1' expecting {SET, ADD, UPSERT, DROP, RENAME} 测试用例编号 ddl_409-6 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET tag1=newV1 ALTER timeseries root.ln.dv.ch SET attr1=newV1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_409-7 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET tag1=newV1 attr1=newV1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:46 mismatched input 'attr1' expecting {, ','} 测试用例编号 ddl_409-8 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET tag1=,attr1= cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:40 extraneous input ',' expecting {NOW, TRUE, FALSE, '-', '.', 'NaN', INT, EXPONENT, DATETIME, ID, DOUBLE_QUOTE_STRING_LITERAL, SINGLE_QUOTE_STRING_LITERAL} 测试用例编号 ddl_409-9 测试语句 set storage group to root.ln create timeseries root.ln.dv.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1) ALTER timeseries root.ln.dv.ch SET tag1=null,attr1=null cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_410-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.852s 测试用例编号 ddl_410-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.485s 测试用例编号 ddl_410-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.510s 测试用例编号 ddl_410-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.433s 测试用例编号 ddl_410-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where tag1 = 'v1' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +--------------+------+-------------+--------+--------+-----------+-------------+--------------+ | timeseries| alias|storage group|dataType|encoding|compression| tags| attributes| +--------------+------+-------------+--------+--------+-----------+-------------+--------------+ |root.ln.dev.ch|status| root.ln| FLOAT| RLE| SNAPPY|{"tag1":"v1"}|{"attr1":"v1"}| +--------------+------+-------------+--------+--------+-----------+-------------+--------------+ Total line number = 1 It costs 0.320s 测试用例编号 ddl_410-6 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where tag1 contains 'v' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: The key tag1 is not a tag. 测试用例编号 ddl_410-7 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where attib = 'v1' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: The key attib is not a tag. 测试用例编号 ddl_410-8 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where tag = 'aa',attib = 'bb' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:42 mismatched input ',' expecting {, LIMIT, OFFSET} 测试用例编号 ddl_410-9 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW TIMESERIES LIMIT 0 OFFSET 2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 303: check metadata error: LIMIT : N should be greater than 0. 测试用例编号 ddl_411-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.932s 测试用例编号 ddl_411-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1);show timeseries root1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:16 extraneous input 'root1' expecting 测试用例编号 ddl_411-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln333 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +----------+-----+-------------+--------+--------+-----------+----+----------+ |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes| +----------+-----+-------------+--------+--------+-----------+----+----------+ +----------+-----+-------------+--------+--------+-----------+----+----------+ Empty set. It costs 0.703s 测试用例编号 ddl_411-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln1,root.ln2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:24 mismatched input ',' expecting {, WHERE, LIMIT, OFFSET, '.'} 测试用例编号 ddl_411-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where tag = null cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: The key tag is not a tag. 测试用例编号 ddl_411-6 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show timeseries root.ln.dev where attir = 'a' cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: The key attir is not a tag. 测试用例编号 ddl_411-7 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW TIMESERIES LIMIT -1 OFFSET 0 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:22 no viable alternative at input 'LIMIT -' 测试用例编号 ddl_412-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS root.ln cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----------+ |child paths| +-----------+ +-----------+ Empty set. It costs 0.220s 测试用例编号 ddl_412-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS root.* cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----------+ |child paths| +-----------+ +-----------+ Empty set. It costs 0.629s 测试用例编号 ddl_412-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS root.ln.dev.* cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: null 测试用例编号 ddl_413-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS root.lna cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: null 测试用例编号 ddl_413-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS * cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:17 extraneous input '*' expecting 测试用例编号 ddl_413-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); SHOW CHILD PATHS root.ln.dev.ch cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: null 测试用例编号 ddl_414-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----+ |count| +-----+ | 0| +-----+ Total line number = 1 It costs 1.034s 测试用例编号 ddl_414-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln cluster结果 Msg: The statement is executed successfully. Msg: 303: Storage group is not set for current seriesPath: [root.ln.dev.ch] +-----+ |count| +-----+ | 0| +-----+ Total line number = 1 It costs 0.824s 测试用例编号 ddl_414-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln.*.*.status cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: Path [root.ln.*.*.status] does not exist 测试用例编号 ddl_414-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln.wf01.wt01.status cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: Path [root.ln.wf01.wt01.status] does not exist 测试用例编号 ddl_414-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root GROUP BY LEVEL=1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-------+-----+ | column|count| +-------+-----+ |root.ln| 1| +-------+-----+ Total line number = 1 It costs 0.483s 测试用例编号 ddl_414-6 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln GROUP BY LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----------+-----+ | column|count| +-----------+-----+ |root.ln.dev| 1| +-----------+-----+ Total line number = 1 It costs 0.242s 测试用例编号 ddl_414-7 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln.wf01 GROUP BY LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: ln does not have the child node wf01 测试用例编号 ddl_415-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES * cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:17 extraneous input '*' expecting 测试用例编号 ddl_415-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln111 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: Path [root.ln111] does not exist 测试用例编号 ddl_415-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln1,root.ln2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:25 mismatched input ',' expecting {, GROUP, '.'} 测试用例编号 ddl_415-4 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root GROUP BY LEVEL=a cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:37 mismatched input 'a' expecting INT 测试用例编号 ddl_415-5 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT TIMESERIES root.ln222 GROUP BY LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: root does not have the child node ln222 测试用例编号 ddl_416-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODES root LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----+ |count| +-----+ | 0| +-----+ Total line number = 1 It costs 0.898s 测试用例编号 ddl_416-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODES root.ln LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-----+ |count| +-----+ | 0| +-----+ Total line number = 1 It costs 0.082s 测试用例编号 ddl_416-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODES root.ln.dev LEVEL=3 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: ln does not have the child node dev 测试用例编号 ddl_417-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODES root LEVEL=a cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:23 mismatched input 'a' expecting {LEVEL, '.'} 测试用例编号 ddl_417-2 测试语句 set storage group to root.ln create timeseries root.ln.dev2.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODES root.ln111 LEVEL=2 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 500: Path [root.ln111] does not exist 测试用例编号 ddl_417-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); COUNT NODE root.ln.dev LEVEL=3 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:6 no viable alternative at input 'COUNT NODE' 测试用例编号 ddl_418-1 测试语句 set storage group to root.ln create timeseries root.ln.wf01.wt01.temperature(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); delete timeseries root.ln.wf01.wt01.status cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 304: Path [root.ln.wf01.wt01.status] does not exist 测试用例编号 ddl_418-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); delete timeseries root.ln.wf01.wt01.temperature,root.ln.wf02.wt02.hardware cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 304: Path [root.ln.wf01.wt01.temperature ... root.ln.wf02.wt02.hardware] does not exist 测试用例编号 ddl_418-3 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); delete timeseries root.ln.wf02.* cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 304: Path [root.ln.wf02.*] does not exist 测试用例编号 ddl_419-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); delete timeseries root.ln.wf01.wt01.status11111 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 304: Path [root.ln.wf01.wt01.status11111] does not exist 测试用例编号 ddl_419-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); delete timeseries root.ln.*.dev cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 304: Path [root.ln.*.dev] does not exist 测试用例编号 ddl_420-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show devices root.ln;show devices cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-------+ |devices| +-------+ +-------+ Empty set. It costs 0.515s +-----------+ | devices| +-----------+ |root.ln.dev| +-----------+ Total line number = 1 It costs 0.071s 测试用例编号 ddl_420-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show devices root.ln cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-------+ |devices| +-------+ +-------+ Empty set. It costs 0.591s 测试用例编号 ddl_421-1 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show devices root.lna cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-------+ |devices| +-------+ +-------+ Empty set. It costs 0.082s 测试用例编号 ddl_421-2 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); show devices root.ln.dev1 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. +-------+ |devices| +-------+ +-------+ Empty set. It costs 0.076s 测试用例编号 ddl_422 测试语句 set storage group to root.ln3 create timeseries root.ln3.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1); set ttl to root.ln3 3600000 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_423- 测试语句 set storage group to root.ln create timeseries root.ln.dev.ch(status) with datatype=FLOAT,encoding=RLE,compression=SNAPPY tags(tag1=v1) attributes(attr1=v1);create ttl to root.ln 3600000 set ttl1 to root.ln 3600000 set ttl on root.ln 3600000 set ttl to root.ln.dev 3600000 set ttl to root.ln.dev.ch 3600000 set ttl to root.ln -3600000 set ttl to root.ln aaa set ttl to root.ln '3600000' set ttl to root.ln 360+1000 set ttl to root.ln 360000000000000 set ttl to root.ln 0 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:7 no viable alternative at input 'create ttl' Msg: 401: line 1:4 no viable alternative at input 'set ttl1' Msg: 401: line 1:8 mismatched input 'on' expecting TO Msg: 303: Storage group is not set for current seriesPath: [root.ln.dev] Msg: 303: Storage group is not set for current seriesPath: [root.ln.dev.ch] Msg: 401: line 1:19 extraneous input '-' expecting INT Msg: 401: line 1:19 mismatched input 'aaa' expecting {'.', INT} Msg: The statement is executed successfully. Msg: 401: line 1:19 mismatched input '360+1000' expecting {'.', INT} Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_424-1 测试语句 set storage group to root.ln1; set ttl to root.ln1 3600000 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_424-2 测试语句 set storage group to root.ln; set ttl to root.ln 3600000; unset ttl to root.ln cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: The statement is executed successfully. 测试用例编号 ddl_425- 测试语句 set storage group to root.ln; set ttl to root.ln 3600000; delete ttl to root.ln unset ttl1 to root.ln unset ttlt on root.ln unset ttl to root.ln.dev unset ttl to root.ln1,root.ln2 unset ttl to root cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully. Msg: 401: line 1:7 no viable alternative at input 'delete ttl' Msg: 401: line 1:6 mismatched input 'ttl1' expecting TTL Msg: 401: line 1:6 mismatched input 'ttlt' expecting TTL Msg: 304: Path [root.ln.dev] does not exist Msg: 401: line 1:21 mismatched input ',' expecting {, '.'} Msg: 303: Storage group is not set for current seriesPath: [root] 测试用例编号 ddl_426 测试语句 set storage group to root.ln; set ttl to root.ln 3600000 cluster结果 Msg: The statement is executed successfully. Msg: The statement is executed successfully.