Commit graph

67 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
Linhe Huo
e273a943ea
fix: add show connMode string (#30323)
* fix: add show connMode string

* fix: add stdbool.h to pub.h

* fix: remove trash file army/output.txt

* fix: caseBase.py modify syntax error

* fix: restore -R option for taosdump

* fix: taosdumpCommandline.py case

* fix: native stmt write normal table failed

* fix: taosdumpCommandline.py case passed

* fix: restore test.py from main branch

* fix: taosCli.py check default conn mode

* fix: commandline-sml.py case pass

* fix: websiteCase.py case passed

* fix: connMode.py case

* fix: modify default port is 0

* fix: taos_options with config dir not work

* fix: websocket.py delete -D timeout options

* fix: default_tmq_json.py context move to default_json.py, so delete

* fix python kafka bug

* chore: improve taos_init in wrapper

* chore: add installation path preparation in build workflow

* fix connMode bug

* fix: fix tmq conf/consumer new error in wrapperFunc.c

* fix: correct the spelling toss -> taosGetInstall...

* chore: fix compile error in wrapperFunc.c

* fix: createConnect fix memory leak

* fix: tsim forbid CHECK  ODR

* modify userOperTest uuse static lib

* reverse userOperTest use static lib

---------

Co-authored-by: Alex Duan <417921451@qq.com>
Co-authored-by: taos-support <it@taosdata.com>
Co-authored-by: “chris <“zk662144@163.com”>
Co-authored-by: t_max <1172915550@qq.com>
Co-authored-by: sheyanjie-qq <249478495@qq.com>
2025-03-22 20:44:07 +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
Mario Peng
f5a339f03e
enh(stmt2): [TD-33660] interlace mode support auto create table (#30084)
* enh: remove interlace autocreate tb limit

* enh: autocreate tb with single ctb

* enh: multi-insert in one ctb

* enh: Function realization

* fix: some unit test error

fix: stmt1 unit test

* fix: review and autoCreateTb & interlace support insert into stb syntax

* fix: insert into tags fixed value auto create table

* fix: remove a wrong test

* fix: adapter segment fault

* fix: adaptor core

* fix: get fields make interlace error

* fix: adapter core problem 2

* fix: multi bind exec invalid message problem
2025-03-14 14:13:26 +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
Yaming Pei
da3e36c8b5 test: clean up the temp profile generated by test 2025-03-13 15:04:14 +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
Yaming Pei
b82e3bb067 style: standardization of naming abbreviation 2025-03-12 15:57:26 +08:00
Yaming Pei
8aabce3519 test: add json template file of csv export 2025-03-12 15:45:37 +08:00
Yaming Pei
d8e4f1c935 test: adds more test cases for csv export 2025-03-12 15:44:13 +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
Yaming Pei
cc220ca3ae feat: change the output path parameter to output_dir 2025-03-06 14:10:56 +08:00
Yaming Pei
2c29c1a3fd test: add csv exporting batch case 2025-03-06 09:55:57 +08:00
Yaming Pei
59ef7cd3be test: add csv interlace case 2025-03-06 09:01:02 +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
ddebb61bf4 fix: log informat modify main 2025-02-16 20:49:29 +08:00
Alex Duan
981e8e1101 fix: log informat modify 2025-02-16 20:48:51 +08:00
Alex Duan
cb3813267b fix: insertMix.py case failed 2025-02-13 20:06:57 +08:00
Alex Duan
d3e1e53569 fix: adjust oem name only with cus_name.h define 2025-02-13 14:12:34 +08:00
Alex Duan
8d9539f86e fix: adjust ci case for four lines version output 2025-02-13 13:33:38 +08:00
Alex Duan
b68f68bdaa fix: oem taosdump taosBenchmark --version support 2025-02-13 10:17:05 +08:00
Alex Duan
f4774273ee enh: unified oem --version output 2025-02-13 10:12:36 +08:00
Alex Duan
fa4fc1bb45 fix: reduce version check length 2025-02-12 13:45:30 +08:00
Alex Duan
6ec1dad6ea fix: reduce version check length 2025-02-12 13:41:54 +08:00
Alex Duan
646336a213 fix: doc taosdump 2025-02-11 21:59:53 +08:00
Alex Duan
b6df0d17f7 fix: add comment for case 2025-02-11 21:55:10 +08:00
Alex Duan
449d003859 fix: --version show information check 2025-02-11 15:09:41 +08:00
Alex Duan
fde835b450 fix: add check case 2025-02-11 15:01:12 +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