Commit Graph

107 Commits

Author SHA1 Message Date
Mario Peng cbce5c58c1
fix: insert into ntb get fields problem (#30402) 2025-03-24 14:06:59 +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
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
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
Simon Guan d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
Simon Guan c0932e3ce0 refactor: adjust some logs 2025-02-28 23:22:38 +08:00
pengrongkun94@qq.com 703a9924a4 fix:review 2025-02-28 16:16:15 +08:00
Simon Guan 76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +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 e46913e1fe enh stmt2 TD-33802 2025-02-20 18:35:34 +08:00
pengrongkun94@qq.com 2279e931b8 fix row clear problem 2025-02-05 18:30:30 +08:00
pengrongkun94@qq.com 0992136ef5 fix disorder row build problem 2025-01-27 12:58:07 +08:00
pengrongkun94@qq.com 19e4d80835 fix insert into ? values(?,?) 2025-01-17 15:53:47 +08:00
pengrongkun94@qq.com 3b741a26fa fix col clone and release problem 2025-01-17 15:53:37 +08:00
pengrongkun94@qq.com e362a045c0 test code 2025-01-17 15:53:29 +08:00
pengrongkun94@qq.com 6a0206d317 fix some case error 2024-12-23 10:57:35 +08:00
Haolin Wang 02bd68be22 morefix: not allow duplicate table names in stmt2 bind with interlace mode 2024-12-17 20:22:25 +08:00
Haolin Wang 074c3e7eb2 fix: enable client dedup for stmt/stmt2 inserts in interlace mode 2024-12-17 10:41:07 +08:00
Pengrongkun 3d2156aa98 refactor stmt2_get_fields 2024-12-17 09:31:30 +08:00
Pengrongkun 5cadc797a4 fix mem leak 2024-12-14 19:09:29 +08:00
Pengrongkun 9ba9b21ff0 fix stmt_get_tags error code 2024-12-11 11:29:18 +08:00
WANG MINGMING 4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
Shengliang Guan b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
WANG MINGMING 88f0a42cdc
Merge branch '3.0' into feat/TD-32642 2024-12-07 20:43:26 +08:00
Pengrongkun ad9ed168ee add test and fix tagbound schema problem 2024-12-06 16:42:51 +08:00
wangmm0220 0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
Pengrongkun e844eea30f fix some bugs 2024-12-05 20:09:16 +08:00
Pengrongkun 7705a5856e Merge remote-tracking branch 'origin/3.0' into TD-32937-2 2024-12-05 14:00:58 +08:00
Pengrongkun ede70d0465 stmt2 support insert into stb(?)values(tbname) 2024-12-05 13:59:24 +08:00
Pengrongkun 3146db60a1 1.taos_stmt2_get_stb_fields add query type nums
2.all fields add presision
2024-12-04 11:01:42 +08:00
Pengrongkun 7610e6d174 fix stmt2 get fields bug 2024-12-03 10:49:01 +08:00
wangjiaming0909 718b0ad16e replace unsafe functions 2024-12-02 13:46:07 +08:00
Pengrongkun 653eff8c1a taos_stmt2_get_stb_fields support insert into ? using stb tags(?) values(?) 2024-11-29 10:12:29 +08:00
wangmm0220 0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
Pengrongkun 09a9298de7 TD-32797:fix array realloc problem 2024-11-22 17:43:54 +08:00
Pengrongkun f3b4aa14be add checkWKBGeometry function 2024-11-19 16:44:28 +08:00
Pengrongkun ff2d0e6d67 fix CI problem 2024-11-19 09:22:34 +08:00
Pengrongkun a774d3b428 fix some review problem 2024-11-16 09:27:52 +08:00
Pengrongkun 8d5508a7a6 fix compile problem 2024-11-16 08:52:57 +08:00
Pengrongkun 6f3c6548cb add geometry check during stmt_bind_param 2024-11-14 21:25:14 +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
Hongze Cheng f9405b35d3 fix: add tag length check in stmt 2024-10-14 14:21:38 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
Pan Wei 04663cb4b3
Merge pull request #28011 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-23 08:54:34 +08:00