mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
Add the AUTO keyword, which allows automatic determination of the INTERVAL OFFSET based on the WHERE condition. It simplifies usage by allowing users to rely on the system to infer the correct offset without manual specification.
67 lines
2.4 KiB
JSON
67 lines
2.4 KiB
JSON
{
|
|
"filetype": "insert",
|
|
"cfgdir": "/etc/taos",
|
|
"host": "127.0.0.1",
|
|
"port": 6030,
|
|
"user": "root",
|
|
"password": "taosdata",
|
|
"connection_pool_size": 8,
|
|
"thread_count": 4,
|
|
"create_table_thread_count": 4,
|
|
"result_file": "./insert_res.txt",
|
|
"confirm_parameter_prompt": "no",
|
|
"num_of_records_per_req": 10000,
|
|
"prepared_rand": 10000,
|
|
"chinese": "no",
|
|
"escape_character": "yes",
|
|
"continue_if_fail": "no",
|
|
"databases": [
|
|
{
|
|
"dbinfo": {
|
|
"name": "test",
|
|
"drop": "yes",
|
|
"vgroups": 4,
|
|
"precision": "ms",
|
|
"keep": "3650"
|
|
},
|
|
"super_tables": [
|
|
{
|
|
"name": "st",
|
|
"child_table_exists": "no",
|
|
"childtable_count": 1,
|
|
"childtable_prefix": "ct",
|
|
"auto_create_table": "no",
|
|
"batch_create_tbl_num": 5,
|
|
"data_source": "rand",
|
|
"insert_mode": "taosc",
|
|
"non_stop_mode": "no",
|
|
"line_protocol": "line",
|
|
"insert_rows": 100000,
|
|
"childtable_limit": 0,
|
|
"childtable_offset": 0,
|
|
"interlace_rows": 0,
|
|
"insert_interval": 0,
|
|
"partial_col_num": 0,
|
|
"timestamp_step": 60000,
|
|
"start_timestamp": "2020-10-01 00:00:00.000",
|
|
"sample_format": "csv",
|
|
"sample_file": "./sample.csv",
|
|
"use_sample_ts": "no",
|
|
"tags_file": "",
|
|
"columns": [
|
|
{"type": "INT", "name": "i1"},
|
|
{"type": "BIGINT", "name": "bi2"},
|
|
{"type": "FLOAT", "name": "f3"},
|
|
{"type": "DOUBLE", "name": "d4"}
|
|
],
|
|
"tags": [
|
|
{"type": "TINYINT", "name": "groupid", "max": 10, "min": 1},
|
|
{"name": "location","type": "binary", "len": 16, "values":
|
|
["San Francisco", "Los Angles", "San Diego", "San Jose", "Palo Alto", "Campbell", "Mountain View","Sunnyvale", "Santa Clara", "Cupertino"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|