-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25716 from taosdata/test/3.0/TD-29957
test:add last cache test in compatibility
- Loading branch information
Showing
2 changed files
with
368 additions
and
53 deletions.
There are no files selected for viewing
248 changes: 248 additions & 0 deletions
248
tests/system-test/0-others/all_insertmode_alltypes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
{ | ||
"filetype": "insert", | ||
"cfgdir": "/etc/taos", | ||
"host": "127.0.0.1", | ||
"port": 6030, | ||
"user": "root", | ||
"password": "taosdata", | ||
"thread_count": 4, | ||
"connection_pool_size": 10, | ||
"result_file": "./insert_res.txt", | ||
"confirm_parameter_prompt": "no", | ||
"prepared_rand": 10, | ||
"chinese": "no", | ||
"insert_interval": 0, | ||
"num_of_records_per_req": 10, | ||
"databases": [{ | ||
"dbinfo": { | ||
"name": "db_all_insert_mode", | ||
"drop": "yes" | ||
}, | ||
"super_tables": [{ | ||
"name": "sml_json", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb1_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml", | ||
"line_protocol": "json", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "BOOL"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "sml_line", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb2_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml", | ||
"line_protocol": "line", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "TINYINT"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "sml_telnet", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb3_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml", | ||
"line_protocol": "telnet", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "SMALLINT"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "rest", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb4_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "rest", | ||
"line_protocol": "json", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "INT"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "stmt", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb5_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "stmt", | ||
"line_protocol": "json", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "BIGINT"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "sml_rest_json", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb6_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml-rest", | ||
"line_protocol": "json", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "FLOAT"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "sml_rest_line", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb7_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml-rest", | ||
"line_protocol": "line", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "DOUBLE"}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "sml_rest_telnet", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb8_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "sml-rest", | ||
"line_protocol": "telnet", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "BINARY", "len": 8}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
},{ | ||
"name": "taosc", | ||
"child_table_exists":"no", | ||
"childtable_count": 8, | ||
"childtable_prefix": "stb9_", | ||
"escape_character": "no", | ||
"auto_create_table": "no", | ||
"batch_create_tbl_num": 10, | ||
"data_source": "rand", | ||
"insert_mode": "taosc", | ||
"line_protocol": "json", | ||
"childtable_limit": 0, | ||
"childtable_offset": 0, | ||
"insert_rows": 2, | ||
"insert_interval": 0, | ||
"interlace_rows": 0, | ||
"disorder_ratio": 0, | ||
"disorder_range": 1000, | ||
"timestamp_step": 1, | ||
"start_timestamp": "now", | ||
"sample_file": "", | ||
"use_sample_ts": "no", | ||
"tags_file": "", | ||
"columns": [{"type": "NCHAR", "len": 8}], | ||
"tags": [{"type": "INT"}, {"type": "BIGINT"}, {"type": "FLOAT"}, {"type": "DOUBLE"}, {"type": "SMALLINT"}, {"type": "TINYINT"}, {"type": "BOOL"}, {"type": "NCHAR","len": 17, "count":1}, {"type": "BINARY", "len": 19, "count":1}] | ||
}] | ||
}] | ||
} |
Oops, something went wrong.