Commit graph

222 commits

Author SHA1 Message Date
mariopeng
225fb2a628
enh(stmt2): select support timestamp adaptive preicision (rd-public/tsdb!320) 2026-05-23 14:11:27 +08:00
Mario Peng
18fb7d5297
feat(client): expose DB timestamp precision in taos_stmt2_get_fields … (#35167) 2026-04-28 22:34:06 +08:00
Yihao Deng
2b980e0023
enh: add func readme (#34921) 2026-03-25 09:23:13 +08:00
Bomin Zhang
516695669b
feat: implement token notification (#34273) 2026-01-15 17:22:22 +08:00
Bomin Zhang
9f0271d715
feat: support token authentication (#34026) 2025-12-25 16:30:10 +08:00
guozhenwei
1c2ebfb61d
feat: support taos_connect_with func (#33952)
* feat: support taos_connect_with

* refactor: enhance connection options and add tests for taos_set_option and taos_connect_with

* fix: handle NULL keys and values in taos_connect_with options

* fix: revert TAOSWS_GIT_TAG to default value "main"

* docs: add TLS configuration options for WebSocket connections in documentation

* docs: modify zh docs and add en docs

* chore: update taos.cfg

* docs: add examples

* docs: add error handling for connection failure in example code
2025-12-20 21:15:31 +08:00
Yihao Deng
f5298caa15
enh: support reload ssl (#33858) 2025-12-15 16:48:20 +08:00
Bomin Zhang
d4e29c97fc
feat[TS-7529]: support TOTP authentication (#33852) 2025-12-10 15:25:21 +08:00
Tony Zhang
66cb641c3d Merge branch 'main' into merge/tony 2025-12-07 08:34:47 +08:00
Bomin Zhang
93fe726f9c
feat[TS-7231]: identity authentication (#33702) 2025-12-05 17:35:10 +08:00
guozhenwei
2d9cebe80f
feat: add taos_connect_with_dsn func (#33816)
* feat: add taos_connect_with_dsn func

* docs: add taos_connect_with_dsn doc
2025-12-05 11:22:48 +08:00
Mario Peng
3b0d0e3742
feat:register instance (#33666) 2025-11-28 10:10:37 +08:00
WANG MINGMING
101c8c6745
feat(taos): add connector info for perf_connections (#33458) 2025-11-05 17:48:58 +08:00
WANG MINGMING
bd4767d270
feat(taos): add connector info for perf_connections (#33426) 2025-10-30 16:59:28 +08:00
Yihao Deng
dc6dba0e06
feat: database engine (taosd) supports IPV6 (#31101) 2025-06-10 09:18:58 +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
wangjiaming
f50fcb85b8
feat(decimal): support decimal data type (#30060)
* decimal: create table

* decimal: add test case decimal.py

* decimal: add decimal.c

* support input decimal

* decimal test

* refactor svalue

* fix test cases

* add decimal unit test

* add decimal test cmake

* support insert and query decimal type

* define wide integer, support decimal128

* support decimal128 divide

* set decimal type expr res types

* scalar decimal

* convert to decimal

* fix decimal64/128 from str and to str

* fix decimal from str and decimal to str

* decimal simple conversion

* unit test for decimal

* decimal conversion and unit tests

* decimal + - * /

* decimal scalar ops and comparision

* start to refactor GET_TYPED_DATA

* support decimal max func, cast func

* refactor GET_TYPED_DATA interface

* decimal scalar comparision

* start to implement sum for decimal

* support sum and avg for decimal type

* decimal tests

* add decimal test

* decimal add test cases

* decimal use int256/int128

* decimal testing

* fix decimal table meta and add tests for decimal col streams

* fix create stream and create tsma

* test insert decimal values

* decimal from str

* test decimal input

* test parse decimal from string

* add taos_fetch_field_e api

* decimal insert tests

* test decimal operators

* decimal operator test

* feat:support decimal in raw block

* decimal operator tests

* decimal test

* feat:support decimal in raw block

* feat:support decimal in raw block

* feat:add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* decimal test operators

* decimal operator test

* test decimal operators

* test decimal compare operators

* decimal unary operator test

* decimal col with decimal col oper test

* test decimal col filtering

* fix decimal float operator test

* decimal test where filtering

* fix decimal filtering

* fix decimal order by

* fix decimal op test

* test decimal agg funcs

* test decimal functions

* remove assert

* fix ci build for ret check

* fix decimal windows build

* fix ci ret check

* skip decimal ret check

* skip decimal ret check

* fix decimal tests

* fix decimal ci test

* decimal test

* fix(tmq): heap user after free

* fix(tmq): double free

* fix(tmq): double free

* fix decimal tests

* fix(decimal): decimal test ci build

* fix(decimal): windows build

* fix(decimal): decimal test build

* fix(decimal): fix decimal build and tests

* fix(decimal): fix decimal tests

* fix(decimal): fix taos_fetch_fields_e api

* fix(decimal): fix decimal taos_fetch_fields_e api

* fix(decimal): rebase 3.0

* fix(decimal): fix decimal functions

* fix(decimal): fix decimal test case memory leak

* fix(decimal): fix decimal tests

* fix(decimal): fix decimal test case

* fix(decimal): fix decimal tests

* feat(decimal): fix unit tests

* feat(decimal): fix deicmal unit test

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 18:08:07 +08:00
Shengliang Guan
ba210659d1
Merge pull request #29824 from taosdata/enh/3.0/TD-32645
enh(stmt)[td-32645] add api taos_stmt2_bind_param_a
2025-02-19 16:49:24 +08:00
pengrongkun94@qq.com
aef5611d1b switch create thread to taosc task queue 2025-02-18 18:10:26 +08:00
pengrongkun94@qq.com
7025be999b bind async 2025-02-10 18:32:34 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
Pengrongkun
f6b9bc44c7 refactor stmt2_get_fields 2024-12-13 15:28:13 +08:00
wangmm0220
5cfadb657f feat:[TD-32642] add timezone support in windows 2024-12-06 17:00:50 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
wangmm0220
e015f98334 feat:[TD-32642] add timezone support in windows 2024-12-05 19:41:23 +08:00
wangmm0220
77b9871c0e feat:[TD-32642] add timezone support in windows 2024-12-05 18:55:48 +08:00
Pengrongkun
7610e6d174 fix stmt2 get fields bug 2024-12-03 10:49:01 +08:00
wangmm0220
d52e9a1c5c feat:[TD-32642] add userApp & userIp for connection support 2024-11-29 17:59:53 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
wangmm0220
7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +08:00
wangmm0220
3156eed774 feat:[TD-32642] add tz source code to TD 2024-11-08 18:53:40 +08:00
Pengrongkun
b011ef49e0 TD-32120:add api taos_stmt2_get_all_fields
fix some format

convert TAOS_FIELD_E to TAOS_FIELD_ALL, to prevent modifications to the original API

rename taos_stmt2_get_stb_fields

refact parse for ctbname parameterized

refactor some code, fix some core problem.
2024-11-04 16:59:13 +08:00
Hongze Cheng
e260eb7a07
Revert "enh(stmt2):add api taos_stmt2_get_all_fields" 2024-10-31 13:35:42 +08:00
Pengrongkun
3895a7707a convert TAOS_FIELD_E to TAOS_FIELD_ALL, to prevent modifications to the original API 2024-10-30 18:12:08 +08:00
Pengrongkun
aa3c79100b fix some format 2024-10-30 14:24:10 +08:00
Pengrongkun
e9feec94b3 TD-32120:add api taos_stmt2_get_all_fields 2024-10-29 17:27:48 +08:00
wangmm0220
f537832664 fix:[TD-32412] unsafe function 2024-10-11 10:53:32 +08:00
wangmm0220
c2fb23d841 fix:conflicts from 3.0 2024-09-23 10:15:57 +08:00
wangmm0220
f1d900bf75 enh:[TD-30270]merge from 3.0 2024-09-09 16:57:02 +08:00
wangmm0220
d870d0a967 enh:[TD-30270]opti data struct in tmq 2024-09-09 16:05:32 +08:00
Minglei Jin
df8997d73b feat(stmt2/struct): not use anonymous structs 2024-09-09 14:28:21 +08:00
Minglei Jin
aa16f0adac Merge branch '3.0' into feat/TD-30813-2 2024-09-03 15:21:45 +08:00
wangmm0220
b86f416645 feat:[TD-31242]add new interface taos_get_column_data_null to get if raw data is null 2024-08-28 18:00:40 +08:00
Minglei Jin
4cab7ea4f7 stmt2/meta: tbname (multi-insert) parameterized or not 2024-08-26 16:45:18 +08:00
Minglei Jin
68bd8d28f0 stmt2/binding: no hole for cols binding 2024-08-21 15:30:21 +08:00
Minglei Jin
298c4b4812 feat(stmt2): initial commit for stmt2 2024-08-15 09:28:32 +08:00
wangmm0220
aad439c09a feat:[TD-31242]add new interface taos_get_column_data_null to get if raw data is null 2024-08-09 15:40:38 +08:00
wangmm0220
7dd1b84dd1 fix:merge from 3.0 2024-08-07 16:02:54 +08:00
Alex Duan
c130b0e04c feat: add export buildInfo api 2024-06-19 10:45:01 +08:00
dapan1121
ddf15fa55c Merge remote-tracking branch 'origin/3.0' into enh/stmtPerf.3 2024-06-05 17:13:48 +08:00