Fork自 taosdata / TDengine
system sh/stop_dnodes.sh sleep 3000 system sh/deploy.sh -n dnode1 -i 1 system sh/cfg.sh -n dnode1 -c wallevel -v 0 system sh/cfg.sh -n dnode1 -c http -v 1 system sh/cfg.sh -n dnode1 -c maxSQLLength -v 7340032 system sh/exec.sh -n dnode1 -s start sleep 3000 sql connect print ============================ dnode1 start print =============== step1 - prepare data sql create database d1 sql use d1 sql create table table_rest (ts timestamp, i int) print sql length is 270KB restful d1 table_rest 1591072800 10000 gzip sql select * from table_rest; print rows: $rows if $rows != 10000 then return -1 endi system sh/exec.sh -n dnode1 -s stop -x SIGINT