TDengine/tests/pytest/tools/insert.json

45 lines
1.1 KiB
JSON

{
"filetype":"insert",
"cfgdir": "/etc/taos",
"host": "127.0.0.1",
"port": 6030,
"user": "root",
"password": "taosdata",
"thread_count": 2,
"num_of_records_per_req": 10,
"create_table_thread_count": 4,
"databases": [{
"dbinfo": {
"name": "db01",
"drop": "yes",
"replica": 1,
"precision": "ms",
,
"maxtablesPerVnode": 1000
},
"super_tables": [{
"name": "stb01",
"childtable_count": 3,
"childtable_prefix": "stb01_",
"auto_create_table": "no",
"data_source": "rand",
"insert_mode": "taosc",
"insert_rate": 0,
"insert_rows": 20,
"timestamp_step": 1000,
"start_timestamp": "2020-10-01 00:00:00.000",
"sample_format": "csv",
"sample_file": "/home/data/sample.csv",
"tags_file": "",
"columns": [{
"type": "INT"
}],
"tags": [{
"type": "INT"
}]
}]
}]
}