Commit Graph

430 Commits

Author SHA1 Message Date
Mario Peng cbce5c58c1
fix: insert into ntb get fields problem (#30402) 2025-03-24 14:06:59 +08:00
Linhe Huo 8ad8bc741a
fix: userOperTest in linux (#30363)
Co-authored-by: taos-support <it@taosdata.com>
2025-03-23 00:46:55 +08:00
Linhe Huo 685fa2c42d
fix: windows ci error in 3.0 [ci skip] (#30357) 2025-03-22 23:45:24 +08:00
Mario Peng c625106609
fix(stmt2):stmt2 get fields return wrong when tag is value (#30283)
* ci: add 3.3.6 branch

* fix: delete taos-tools repo in Jenkinsfile2

* ci:add 3.3.6 branch to taosd-ci.yml

* fix: [TD-34074] compile error (#30220)

* fix: add case

* fix: stmt2 get fields return wrong when tag is value

* enh: replace preCtb bool to flag,handle more situation

* fix: some unit test error

* diff: add case and fix some problem

* fix: remove async test, handle in TD-34077

* fix: [TD-34074] Forbid virtual table in tq and stmt and forbid supertable query's origin table from different databases.

fix: [TD-34074] Forbid virtual table in tq and stmt and forbid supertable query's origin table from different databases.

* fix(sml): process space in the end if writing raw data in sml & change some log level  #30306

 fix(sml): process space in the end if writing raw data in sml & change some log level

* fix: taosadapter version 3.3.6 (#30324)

* docs(stream): document streaming computation support for virtual tables in user manual (#30319)

* docs(stream): document streaming computation support for virtual tables in user manual

- Added section to user manual describing streaming computation support for virtual tables
- Listed known limitations and behavior when using virtual tables in streaming mode

* Update 14-stream.md

---------

Co-authored-by: Pan Wei <72057773+dapan1121@users.noreply.github.com>

* fix: review

* ci: add tdgpt .c file into TDengine and TDgpt workflow

* ci: add tdgpt .c file into TDengine and TDgpt workflow

---------

Signed-off-by: WANG Xu <feici02@outlook.com>
Co-authored-by: WANG Xu <feici02@outlook.com>
Co-authored-by: haoranchen <haoran920c@163.com>
Co-authored-by: Simon Guan <slguan@taosdata.com>
Co-authored-by: Feng Chao <flyingangel_2008@163.com>
Co-authored-by: facetosea <285808407@qq.com>
Co-authored-by: Jing Sima <simondominic9997@outlook.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: dapan1121 <wpan@taosdata.com>
Co-authored-by: Pan Wei <72057773+dapan1121@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: huohong <346479823@qq.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: freemine <freemine@yeah.net>
Co-authored-by: Yihao Deng <luomoxyz@126.com>
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Bomin Zhang <localvar@hotmail.com>
Co-authored-by: 蟑螂·魂 <cockroach888@outlook.com>
Co-authored-by: wangjiaming <wangjiaming0909@sina.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: dongming chen <cademfly@hotmail.com>
Co-authored-by: Zhiyu Yang <69311263+zyyang90@users.noreply.github.com>
Co-authored-by: Nie Minhui <143420805+minhuinie@users.noreply.github.com>
Co-authored-by: Zhixiao Bao <62235797+xiao-77@users.noreply.github.com>
Co-authored-by: Kaili Xu <klxu@taosdata.com>
Co-authored-by: Linhe Huo <linhehuo@gmail.com>
Co-authored-by: tjuzyp <ypzhang@taosdata.com>
Co-authored-by: yanyuxing <yuxing.bitcapybara@gmail.com>
Co-authored-by: WANG MINGMING <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Minglei Jin <49711132+stephenkgu@users.noreply.github.com>
Co-authored-by: She Yanjie <57549981+sheyanjie-qq@users.noreply.github.com>
Co-authored-by: jiajingbin <39030567+jiajingbin@users.noreply.github.com>
Co-authored-by: Alex Duan <51781608+DuanKuanJun@users.noreply.github.com>
Co-authored-by: kevin men <men_shi_bin@163.com>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Yaming Pei <sanwenyuv@sina.com>
Co-authored-by: Xuefeng Tan <1172915550@qq.com>
2025-03-22 21:14:08 +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
Mario Peng fd09c267a9
fix(stmt2):fix init db is NULL problem (#30256)
* fix: stmt2 interlace mode db is NULL
* fix: add test and fix one interlace no pk error
2025-03-19 10:09:00 +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
Zhixiao Bao 45d05761ae
Merge branch '3.0' into enh/3.0/TD33165 2025-03-04 14:46:51 +08:00
Hongze Cheng 9a544eb894
Merge pull request #29981 from taosdata/fix/3.0/TD-33858-2
fix(stmt2):TD-33858 async bind block bug
2025-03-04 14:01:17 +08:00
pengrongkun94@qq.com 4fecfd43ac fix: async bind block bug 2025-03-04 10:53:00 +08:00
xiao-77 e2b18a7182 End(insert):Use cache to improve auto create table performance. 2025-03-04 10:04:58 +08:00
pengrongkun94@qq.com e1d09c0042 Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32686 2025-02-27 10:49:08 +08:00
Mario Peng 03bd3190b4
Merge pull request #29935 from taosdata/fix/3.0/TD-33858
fix(stmt2)[TD-33858]:fix stmt2 unit test deadlock
2025-02-27 10:45:47 +08:00
pengrongkun94@qq.com 536042caae Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32686 2025-02-26 20:05:27 +08:00
pengrongkun94@qq.com 10f3a388f2 add row format bind control argument 2025-02-26 20:04:33 +08:00
pengrongkun94@qq.com 8cf363fbf3 Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32686 2025-02-26 10:36:19 +08:00
pengrongkun94@qq.com b1467e33bf fix stmt2 unit test deadlock 2025-02-25 20:05:31 +08:00
wangmm0220 e2bbb11e72 fix:unit test 2025-02-25 19:10:28 +08:00
Shengliang Guan 5ad05a662a Merge branch '3.0' into feat/TS-5470-3.0 2025-02-24 16:12:47 +08:00
Jinqing Kuang 51ffff2079 feat(query)[TS-5470]: add syntax to specify minimum duration for event and state windows
Introduce the `true for` syntax to allow users to specify the minimum
duration for event and state windows. Add corresponding tests to
validate the feature. Updated the user manual with usage instructions.
2025-02-24 08:02:48 +08:00
pengrongkun94@qq.com e46913e1fe enh stmt2 TD-33802 2025-02-20 18:35:34 +08:00
pengrongkun94@qq.com b0bf9bb502 add unit test async stmt order 2025-02-13 11:02:11 +08:00
pengrongkun94@qq.com b55980d71d fix some thread sync problem 2025-02-13 10:16:09 +08:00
pengrongkun94@qq.com ee31bd9a9c Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32645 2025-02-12 17:16:33 +08:00
pengrongkun94@qq.com 2f67ebbd50 add test 2025-02-12 10:27:58 +08:00
pengrongkun94@qq.com baec572537 fix TD-33665 2025-02-10 19:43:09 +08:00
pengrongkun94@qq.com 0992136ef5 fix disorder row build problem 2025-01-27 12:58:07 +08:00
dapan1121 84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
Shengliang Guan 5350709228
Merge pull request #29614 from taosdata/fix/main/TD-33582
Fix:[td-33582] stmt get dont add errcode
2025-01-21 15:55:42 +08:00
pengrongkun94@qq.com 3e90b67d5b add test 2025-01-20 20:26:12 +08:00
pengrongkun94@qq.com 6588f9bec3 fix TD-33570 2025-01-20 17:09:41 +08:00
pengrongkun94@qq.com 5b64c3429c fix async error in unit test 2025-01-14 14:56:17 +08:00
pengrongkun94@qq.com 9729b8b9dc fix other async create database case 2025-01-13 15:51:15 +08:00
pengrongkun94@qq.com 847ce16506 fix stmt/stmt2 unit test 2025-01-13 15:13:20 +08:00
pengrongkun94@qq.com 6ed524c513 fix unit test 2025-01-08 09:35:54 +08:00
pengrongkun94@qq.com 7ca71f8150 fix TD-33470 and add some test 2025-01-07 19:20:49 +08:00
pengrongkun94@qq.com 1b91e1acf4 fix CI problem 2025-01-06 19:32:54 +08:00
pengrongkun94@qq.com 21a9534d32 add all type test 2025-01-06 14:32:18 +08:00
pengrongkun94@qq.com 1ff597d9e6 add some case 2025-01-06 11:42:40 +08:00
pengrongkun94@qq.com b59e42674e add stmt test 2025-01-06 10:52:36 +08:00
pengrongkun94@qq.com 2e2c56a25b add stmt test 2025-01-05 17:46:16 +08:00
pengrongkun94@qq.com 19bb492b16 add interlace test 2025-01-03 17:34:47 +08:00
pengrongkun94@qq.com f1de713205 fix TD-33419 and some CI problem 2025-01-03 13:45:39 +08:00
pengrongkun94@qq.com 8e24c29230 TD33419 2025-01-03 09:11:13 +08:00
pengrongkun94@qq.com 5dcb75d43c fix TD-33417 2025-01-02 20:50:07 +08:00
pengrongkun94@qq.com 7c400e85ac reform stmt2 interlace 2024-12-31 14:41:50 +08:00
pengrongkun94@qq.com 2ca9035b6f add test case 2024-12-30 20:41:44 +08:00
pengrongkun94@qq.com 8d3c0a8d91 refactor stmt2 stb interlace mode 2024-12-30 18:51:51 +08:00
pengrongkun94@qq.com eafbe63683 add case 2024-12-30 17:43:25 +08:00