Commit graph

37 commits

Author SHA1 Message Date
kevin men
c2116c7752
fix: tag data from a CSV file cause core dump (#30855)
* fix: tag data from a CSV file, a core dump occurred.

* fix: add auto create table case

* fix: modfify auto create table case

* fix: modfify auto create table json

* fix: modify stmt2 automatic table creation tag binding
2025-04-25 09:09:36 +08:00
Alex Duan
b6a63a76f5
merge: taos-tools and case 3.0 to main branch (#30802)
* merge: taos-tools and case 3.0 to main branch

* add -s option and modify concurrent name to threads
2025-04-17 15:29:23 +08:00
kevin men
55dbdb81c9
fix: json configuration not effective (#30785)
* fix: json configuration not effective

* fix: add ci cases config
2025-04-16 19:33:59 +08:00
kevin men
f1b45f2298
fix: taosBenchmark online issues (#30722)
* fix: add abnormal exit logic

* fix: add interrupt exit mechanism

* fix: add insert error case

* fix: add Mac memory statistics

* fix: multi threaded table building with skip logic added

* fix: multi threaded table building increases task allocation

* fix: add csv tag file multi-threaded table creation case

* fix: add 'contrl c' to tmq and exit

* fix: add 'contrl c'  cases

* fix: add 'contrl c'  cases

* fix: add tmq cancel cases

* fix: add ci execute cases

* fix: restore mistakenly deleted files

---------

Co-authored-by: taos-support <it@taosdata.com>
2025-04-10 22:04:15 +08:00
Yaming Pei
4d16f5bfe1
feat(taosBenchmark): supports decimal data type on main branch (#30504)
* feat: taosBenchmark supports decimal data type

* build: decimal script not use pytest.sh

* fix: fix typo for decimal script

* test: insertBasic.py debug

* build: update python connector version to 2.7.23

* docs: add decimal data type for python connector

* docs: format optimization

* docs: fix typo

* build: update docker taospy version to v2.7.23
2025-03-26 20:28:37 +08:00
Alex Duan
c133489917
new-libtaos-with-ws (#29971)
* enh: rename libtaos.so to libtaosinternal.so

* enh: let python system-test work

* enh: shell for libinternal.so

* enh: refact script

* enh: wrapper for libtaosinternal

* enh: rename some files

* enh: let shell support internal driver

* enh: minor changes

* enh: minor changes

* add intenal.h

* enh: remove unused codes

* enh: minor changs

* feat: mac os issues

* enh: let python test use internal connection

* enh: let nettest work

* enh: let taosc -C work

* enh: test shell in mac os

* enh: minor changes

* enh: let libtaosinternal.so work in linux

* enh: update install script

* enh: for ci

* enh: for windows compile

* enh: minor changes

* enh: compile in windows

* enh: minor changes

* enh: taosinternal work in windows

* enh: add taos_internal_static

* enh: rollback os_for_wrapper

* fix: conflicts

* fix: conflicts

* fix: compile errors

* fix: conflicts

* enh: rename taosinternal to taosnative

* enh: rename taosinternal to taosnative

* fix: compile error

* enh: remove taosnative.h

* fix: compile errors

* enh: set default shell options

* fix: compile errors

* fix: compile errors

* debug: switch taosws branch to feat/new-libtaos-with-ws

* enh: taosBenchmark remove WEBSOCKET finished

* fix: CMakeLists.txt remove WEBSOCKET

* fix: compile errors

* fix: taosBenchmark delete restful code

* .gitignore remove taos-tools folder

* fix: remove taosdump WEBSOCKET MACRO

* fix: build error for taosdump

* fix: build project passed

* fix: support -Z for connect mode

* fix: build error

* fix: build error fixed

* fix: add -Z options

* fix: native and websocket with string

* fix: -Z option core

* fix: build unit test

* fix: build error

* fix: add colon for array

* fix: unit test can not include fun

* fix: CTest pointer null is nullptr

* fix: include pub.h

* fix: taosdump add -Z --driver options

* fix: taosdump support -Z with pub.h pub.c

* fix: toolsGetTimeDay move to pub.c

* fix: restore pub.c only simple fun

* fix: add error tips

* fix: tmfree remove from taosdump

* fix: remove double declare taos variant

* fix: taos support -Z option

* enh: configDir set with main fun

* fix: add g_arguments.configDir

* fix: show tips add cfgdir

* fix: g_argument is pointer

* fix: configDir is global var

* fix: declare g_configDir in benchMain.c

* fix: taos version not show on websocket

* stmt2 websocket prepare with supertable

* stmt2 websocket prepare build

* fix: stmt and stmt2 prepare add db name

* fix: remove -R --restful test case

* fix: taosBenchmark adjust priority cmd > json > evn

* fix: add connect mode test case connMode.py

* fix: clear evn and add host port check

* fix: army/test.py modify start taosAdapter is default

* change: system-test/test.py default start taosAdapter

* fix: add taosAdapter variant to system-test/test.py

* fix: -y must put behind other options

* fix: remove rest sml and add -N normal case

* fix: add -c work cfg test case

* del: queryMain.py remove rest query

* fix: remove groups have a blank append bug

* fix: caseBase.py add db in sql query

* fix: query_json.py remove rest test

* fix: taosBenchmark uniform dsn describe

* fix: add pub.h pub.c to tools public

* fix: case remove restful interface

* fix: build error

* fix: taosDriverCleanup no arg call

* fix: taosdump add test conn mode case taosdumpCommandline.py

* fix: modify insertFullType.json db name

* fix: taosdump connMode test case taosDumpCommandline.py passed

* enh: priority cmd > env > json

* fix: taosCli remove is_native variant

* fix: password is not pointer

* fix: comment -o test case

* fix: solve fun return code check

* fix: windows unresolved strcasecmp

* fix: remove coverHostToServAddr

* fix: forbid check ODR violation

* ci: trigger pr run

* fix: build error not del >>>>>3.0

* fix: support json dbinfo->vgroups have blank space

* fix: solve conflict with merge

* fix: with TrimCaseCmp fun to compare vgroups

* fix: del vgroups support blank code

* feat: wrapper add taos_fetch_fields_e

* fix: move jni from libtaosnative.so to libtaos.so

* fix: move clientTmqConnector.c for jni

* fix: fix assert check with del comment code

* fix: taosBenchmark add prepare stmt debug log

* fix: stmt2 already have debug log on preapare

* fix:  (double)LLONG_MAX force covert

* fix: stmt insert normal table with websocket

* fix: normal table with stmt too many ?

* fix: taosdump stmt_prepare with child tbname

* fix: build error add int code

* feat: stmtPrepare with child table to do

* taos -a options move to native test case

* fix:unit test benchmarkTest passed

* fix: query_json-with-sqlfile.py case no check results

* fix: queryMain.py case lost, put in tasks again

---------

Co-authored-by: Shengliang Guan <slguan@taosdata.com>
2025-03-20 22:54:29 +08:00
Simon Guan
08da50dc8f Merge branch 'main' into merge/mainto3.0 2025-03-20 17:52:00 +08:00
Alex Duan
d27848fe3b
docs: query forbid super table and special-table together (#30284)
* docs: query forbid super table and special-table together

* fix: taosBenchmark official case add to CI

* fix: tmq check consumer result

* docs: adjust json format and add note tips for both query

* docs: json format indent for query.json

* fix: forbid both query from v3.3.5.6
2025-03-20 15:59:07 +08:00
Alex Duan
e333f44dfb
fix(taosbenchmark): pass db options support prefix suffix with blank (#30205)
* fix: pass db parameter support prefix suffix blank

* fix: add check vgroups have blank case

* fix: remove strlen from trimCaseCmp

* fix: case init variant and remove taos-tools from .gitignore
2025-03-18 17:48:24 +08:00
Linhe Huo
67e5d5b7d7
Merge pull request #30132 from taosdata/enh/TS-5089
test: add more test cases for taosBenchmark csv export
2025-03-14 09:16:49 +08:00
Yaming Pei
b9f00e4432 test: move csv template json file to 'json' directory 2025-03-13 20:25:04 +08:00
Alex Duan
d80e5d5545 cherry-pick from main->add batch query new feature 2025-03-12 18:15:53 +08:00
Alex Duan
3f846984c2 feat: add batch query new feature 2025-03-12 18:03:05 +08:00
Linhe Huo
12e2b2830e
Merge pull request #30061 from taosdata/fix/TD-33964-3.0
fix: stmt not support many stb with single = false stmt_init
2025-03-10 14:35:35 +08:00
Alex Duan
2c901cd4b2 fix: support multi database multi super table insert. case in insertBase.py 2025-03-07 21:36:38 +08:00
Alex Duan
6bfc24d4ae fix: stmt not support many stb with single = false stmt_init 2025-03-07 21:04:52 +08:00
Yaming Pei
8292b8df25 docs: optimize document description 2025-03-07 18:19:57 +08:00
Yaming Pei
53b9743ac4 feat: enhanced time format verification 2025-03-06 20:03:13 +08:00
Yaming Pei
77a4b818fb test: add csv test config file 2025-03-06 16:06:11 +08:00
Alex Duan
0c2695ec6d tmq add tmpBasic.py 2025-02-23 18:24:55 +08:00
Alex Duan
9b395d8b19 fix: Remove TD_VER_COMPATIBLE define 2025-02-23 16:42:27 +08:00
Alex Duan
ad64b681c8
ci: taosBenchmark add coverage cases branch 3.0 (#29788)
* fix: add unit test for taos-tools

* fix: only .cpp include

* fix: remove no use function

* fix: restore toolsSys.c

* fix: add toolsSys case

* fix: rebuild error fixed

* fix: fix build error

* fix: support get vgroups with core and memory limit

* fix: build error for strcasecmp

* fix: add insertBasic.py case

* fix: add command line set vgroups=3

* fix: change with ns database

* toolscJson read with int replace float and add insertPrecison.py

* fix: add insertBindVGroup.json case

* fix: remove public fun removeQuotation

* fix: vgroups change method

* fix: memory leak for runInsertLimitThread slot

* insertPrecision.py word write wrong

* fix: check isFloat number

* fix: vgroups change logic error

* fix: insertBasic.py real and expect error

* fix: adjust default vgroups

* fix: adjust default vgroups modify comment
2025-02-21 17:00:44 +08:00
Alex Duan
cb3813267b fix: insertMix.py case failed 2025-02-13 20:06:57 +08:00
Linhe Huo
4eb0f1adcc
Merge pull request #29712 from taosdata/fix/TD-33652-3.0
fix: reduce write rows from 30w to 3w
2025-02-08 19:23:25 +08:00
Alex Duan
ea03444f89 fix: reduce write rows from 30w to 3w 2025-02-08 16:02:27 +08:00
Alex Duan
e2733b0cbb merge: taos-tool migrate to TDengine repo 2025-02-05 14:25:14 +08:00
Alex Duan
63dc04d2de feat: with new feature -B option to run taosadapter 2025-02-04 10:26:20 +08:00
Alex Duan
51cd0b05fc fix: restful must have database prefix 2025-02-03 23:54:06 +08:00
Alex Duan
bce692d8d1 fix: benchUtil.c delayList free memory leak 2025-02-03 18:26:27 +08:00
Alex Duan
f66ca372a2 fix: json csv and txt file postion 2025-02-03 17:03:49 +08:00
Alex Duan
be9502376a fix: only one dnode test 2025-02-02 22:42:25 +08:00
Alex Duan
a5440df5f8 fix: loss insertMix.json 2025-02-02 22:36:50 +08:00
Alex Duan
772202b84e feat: merge taos-tools 3.0 latest code 2025-02-02 17:57:38 +08:00
Alex Duan
1a8149cb07 enh: add taosbenchmark and taosdump case to cases.task 2025-02-02 16:26:06 +08:00
Alex Duan
5502324f6d add txt file force 2024-12-25 09:43:35 +08:00
Alex Duan
5cb8a5de3c fix: replace getPath with etools function 2024-12-23 20:50:24 +08:00
Alex Duan
7a961f1d1f feat: add taos-tools cases to army 2024-12-23 19:10:37 +08:00