Commit Graph

199 Commits

Author SHA1 Message Date
Shuduo Sang fa6c851cea
[TD-3577] <fix>: taosdemo print stb insert interval. (#5610)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-29 17:31:27 +08:00
Shuduo Sang 5e7a7d31cf
[TD-3576] <fix>: taosdemo print query times. (#5609)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-29 16:09:42 +08:00
Shuduo Sang 92179b8108
Hotfix/sangshuduo/td 3575 support stb query times (#5605)
* [TD-3575] <fix>: support query times in specified and super query.

refactor code.

* [TD-3575] <fix>: support query times in specified and super query.

refactor code 2.

* [TD-3575] <fix>: support query times in specified and super query.

refactor code 3.

* [TD-3575] <fix>: support query times in specified and super query.

add query times parse in sub sections.

* [TD-3575] <fix>: support query times in specified and super query.

replace query times with specified query or super query.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-29 13:55:40 +08:00
Shuduo Sang 41741a599f
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5602)
* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix coverity scan issues.

check super tbl info pointer.

* [TD-3197] <fix>: fix coverity scan issues.

move sub tbl query thread join into loop

* [TD-3197] <fix>: fix coverity scan issues.

remove unused variable

* [TD-3197] <fix>: fix coverity scan issues.

use more secure random library

* [TD-3197] <fix>: fix coverity scan issues.

use strncpy for more safe

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

replace arc4random with rand().

* [TD-3197] <fix>: fix coverity scan issues.

check stb info pointer for start time

* [TD-3197] <fix>: fix coverity scan issues.

fix strcpy vulnerability

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

modify taosdemoTest2. try to check database continously.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-28 20:23:11 +08:00
Shuduo Sang f69557fb6c
[TD-3544] <fix>: move query times detect to query meta file parse. (#5597)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-27 19:57:12 +08:00
Shuduo Sang 868ee10750
[TD-3546] <fix>: fix taosdemo quer crash as index variable mistake. (#5598)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-27 19:56:45 +08:00
Shuduo Sang 2c4bcbe306
Feature/sangshuduo/td 3317 taosdemo interlace (#5596)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3317] <feature>: support interlace mode insertion.

change rows_per_tbl to interlace_rows.

* [TD-3317] <feature>: taosdemo suppoert interlace mode.

remove trailing spaces.

* [TD-3317] <feature>: taosdemo support interlace insertion.

prompt if interlace > num_of_records_per_req

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-27 13:30:14 +08:00
Shuduo Sang 4acaa5dfc0
Feature/sangshuduo/td 3317 taosdemo interlace (#5593)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3317] <feature>: support interlace mode insertion.

change rows_per_tbl to interlace_rows.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-26 20:46:54 +08:00
Shuduo Sang c89ada70fd
[TD-3524] <fix>: taosdemo query multithreading workaround. (#5587)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-26 19:29:17 +08:00
Shuduo Sang e9e5acd696
Hotfix/sangshuduo/td 3400 max query sql count 100 (#5564)
* [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100.

* [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100.

use query times too instead of infinite loop.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-26 09:44:40 +08:00
Shuduo Sang 162e84dcf0
Hotfix/sangshuduo/td 3321 better stb describe2 (#5578)
* [TD-3321] <fix>: describe stb with better logic.

* [TD-3321] <fix>: describe stb with better logic.

* [TD-3321] <fix>: describe stb with better logic.

describe stb to check if exists.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-26 07:43:05 +08:00
Shuduo Sang e9b3f5d35b
[TD-3478] <fix>: increase thread num of table creation same as insert… (#5577)
* [TD-3478] <fix>: increase thread num of table creation same as insertion.

* [TD-3478] <fix>: increase thread num of table creation same as insertion.

fix potential refer to derefed buffer.

* [TD-3478] <fix>: increase thread num of table creation same as insertion.

change rowsPerTbl to interlaceRows

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-25 21:35:13 +08:00
Shuduo Sang 1b998f06a4
[TD-3472] <fix>: fix query times determination miss. (#5576)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-25 21:00:52 +08:00
Shuduo Sang 5e77d162aa
[TD-3402] <feature>: taosdemo version. (#5574)
feature completed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-25 19:02:50 +08:00
Shuduo Sang afd0869a7c
[TD-3321] <fix>: describe stb with better logic. (#5559)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-24 20:04:31 +08:00
Shuduo Sang 6e3322d35d
Feature/sangshuduo/td 3434 taosdemo support query times (#5541)
* [TD-3434] <feature>: taosdemo support query times

first commit.

* [TD-3434] <feature>: taosdemo support query times.

refine interlace test case.

* [TD-3434] <feature>: taosdemo support query times.

change cmdline parameters according to TD-3431.

* [TD-3434] <feature>: taosdemo support query times.

fix typo in fulltest.sh

* [TD-3434] <feature>: taosdemo support query times.

add 2 sec sleep to avoid segfault.

* [TD-3434] <feature>: taosdemo support query times.

make query test easier to pass.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-24 16:58:09 +08:00
Shuduo Sang b7ec3a3c70
[TD-3357] <fix>: fix child table count if exists. (#5542)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-24 11:08:20 +08:00
Shuduo Sang 49b674c3d2
[TD-3433] <fix>: fix child table count issue. (#5552)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-24 10:37:30 +08:00
Shuduo Sang 94bb5fe80d
[TD-3407] <fix>: print more info to result file. (#5538)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-23 15:28:25 +08:00
Shuduo Sang 3b97bd716d
Feature/sangshuduo/td 3317 taosdemo interlace (#5537)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3317] <feature>: support interlace mode insertion.

change rows_per_tbl to interlace_rows.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-23 15:14:50 +08:00
Shuduo Sang dfdeb7e0cc
[TD-3431] <fix>: fix taosdemo cmdline incorrect arguments. (#5536)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-23 11:15:11 +08:00
Shuduo Sang 835886d11e
Hotfix/sangshuduo/td 3393 taosdemo timestamp rework (#5531)
* [TD-3393] <fix>: taosdemo timestamp rework.

change default timestamp step to 1ms.

* [TD-3393] <fix>: taosdemo timestamp rework.

adjust shift timestamp logic to table sequence turn to start.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-22 18:44:06 +08:00
Shuduo Sang 82ad11630d
Feature/sangshuduo/td 3416 taosdemo interlace testcase (#5524)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

* [TD-3317] <feature>: support interlace insert.

rework timestamp.

* [TD-3416] <feature>: add taosdemo interlace testcase.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-22 15:44:06 +08:00
Shuduo Sang de97080d85
Hotfix/sangshuduo/td 3197 fix taosdemo coverity scan (#5521)
* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-22 14:36:30 +08:00
Shengliang Guan e600ffa154
Merge pull request #5519 from taosdata/release/s118
Release/s118
2021-03-22 10:30:28 +08:00
Shuduo Sang bf684ed118 cast to long in taodemo.c 2021-03-21 18:42:15 +00:00
Shuduo Sang 30b2611257
Feature/sangshuduo/td 3317 taosdemo interlace (#5515)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

* [TD-3197] <fix>: fix taosdemo coverity scan issues.

* [TD-3197] <fix>: fix taosdemo coverity scan issue.

fix subscribeTest pids uninitialized.

* [TD-3317] <feature>: support interlace mode insertion.

add time shift for no sleep time.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-20 09:21:05 +08:00
Shuduo Sang b294d3ebaa
Feature/sangshuduo/td 3317 taosdemo interlace (#5500)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

* [TD-3317] <feature>: support interlace mode insertion.

fix delay time bug.

* [TD-3317] <feature>: support interlace mode insertion.

fix progressive timestamp bug.

* [TD-3317] <feature>: support interlace mode insertion.

add an option for performance print.

* [TD-3317] <feature>: support interlace mode insertion.

change json test case with less table for acceleration.

* [TD-3317] <feature>: support interlace mode insertion.

change progressive mode timestamp step and testcase.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-19 17:43:18 +08:00
Shuduo Sang d5bacb71c6
[TD-3369] <fix>: fix taosdemo invalid write valgrind reports. (#5496) 2021-03-19 11:51:13 +08:00
Shuduo Sang d8f1b34f56
[TD-3356] <fix>: fix bug regarding limit offset with exist child table. (#5495)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-18 21:33:52 +08:00
Shuduo Sang 624a9191ce
[TD-3357] <fix>: fix child table count if exists. (#5488)
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-18 19:17:19 +08:00
Shuduo Sang 7610e8111d
Feature/sangshuduo/td 3317 taosdemo interlace (#5485)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

* [TD-3317] <feature>: support interlace mode insertion.

cleanup.

* [TD-3317] <feature>: support interlace mode insertion.

adjust algorithm of loop times.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-18 17:43:09 +08:00
Shuduo Sang 199e61ec54
Feature/sangshuduo/td 3317 taosdemo interlace (#5477)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

* [TD-3317] <feature>: support interlace mode insertion.

perfect

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-18 09:41:26 +08:00
Shuduo Sang 3f312f8bf4
Feature/sangshuduo/td 3317 taosdemo interlace (#5476)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

* [TD-3317] <feature>: make taosdemo support interlace mode.

json parameter rows_per_tbl support.

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode.

refactor

* [TD-3317] <feature>: support interlace mode insertion.

refactor.

* [TD-3317] <feature>: support interlace mode insertion.

change json file.

* [TD-3317] <feature>: support interlace mode insertion.

fix multithread create table regression.

* [TD-3317] <feature>: support interlace mode insertion.

working but not perfect.

* [TD-3317] <feature>: support interlace mode insertion.

rename lowaTest with taosdemoTestWithJson

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-17 23:15:18 +08:00
Shuduo Sang 3cb51e980f
Hotfix/sangshuduo/td 3316 testcase for taosdemo limit offset (#5462)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.
2021-03-17 00:10:45 +08:00
Shuduo Sang 8e455df297
Hotfix/sangshuduo/td 3327 taosdemo segfault sampledata (#5458)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.

* [TD-3316] <fix>: add test case for limit and offset. fix sample data issue.

* [TD-3327] <fix>: fix taosdemo segfault when import data from sample data file.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-03-16 18:51:11 +08:00
Shuduo Sang bbfde59f0a
Hotfix/sangshuduo/td 3316 testcase for taosdemo limit offset (#5451)
* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

check offset 0.

* [TD-3316] <fix>: add testcase for taosdemo limit and offset.

fix sample file import bug.
2021-03-16 07:55:22 +08:00
Shuduo Sang 86f4851520 [TD-3192] <feature>: support child table limit and offset.
resolve memory alloc issue.
2021-03-15 17:57:05 +08:00
Shuduo Sang 013c5cb0ab [TD-3197] <fix>: fix coverity scan issues. use secure random() 2021-03-14 20:37:08 +08:00
Shuduo Sang 8d62e8dd8f [TD-3197] <fix>: fix coverity scan issues. 2021-03-13 22:54:14 +08:00
Shuduo Sang 7e152de359 [TD-3192] <feature>: support stb limit and offset. merge develop. 2021-03-12 19:18:49 +08:00
Shuduo Sang e4d619538e [TD-3192] <feature>: support stb limit and offset. verified. 2021-03-12 17:34:44 +08:00
Shuduo Sang 57c1f20f2d [TD-3192] <feature>: support stb limit and offset. create tables works. 2021-03-12 15:24:51 +08:00
Shuduo Sang 5c84228eb8 [TD-3228] <fix>: support quorum on database creation. merge develop 2021-03-12 14:01:54 +08:00
Shuduo Sang ee5f20034a Merge branch 'develop' into hotfix/sangshuduo/TD-3228-taosdemo-support-quorum 2021-03-12 13:54:31 +08:00
Shuduo Sang 3e64ef252f [TD-3192] <feature>: support stb limit and offset. generate data refactor. 2021-03-12 13:51:55 +08:00
Shuduo Sang 7f2116fb96 [TD-3192] <feature>: support stb limit and offset. refactor. 2021-03-12 11:41:12 +08:00
Shuduo Sang 0b02db5eb2 Merge branch 'develop' into hotfix/sangshuduo/TD-3228-taosdemo-support-quorum 2021-03-11 22:16:31 +08:00
Shuduo Sang 867f443c5b [TD-3192] <feature>: support stb limit and offset. fix sleep time. 2021-03-11 20:57:39 +08:00
Shuduo Sang 1489c458f0 [TD-3192] <feature>: support stb limit and offset. refactoring.
stb and tb insert works.
2021-03-11 19:34:20 +08:00