Commit graph

206 commits

Author SHA1 Message Date
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
dapan1121
c0e4ab20a4 enh: optimize stmt performance 2024-05-30 13:26:17 +08:00
54liuyao
d815bb117b add json for batch meta 2024-05-28 16:56:23 +08:00
54liuyao
441a150d66 optimize tmq snapshot meta 2024-05-23 17:35:54 +08:00
wangmm0220
b4f33eacf2 feat:add paras for schemaless interface 2024-03-13 10:10:20 +08:00
wangmm0220
e6df389151 fix:add req_id for raw block interface 2023-10-27 11:46:59 +08:00
Haojun Liao
68c329e1f7
Merge pull request #23015 from taosdata/mark/tmq-3.0
fix:add interface tmq_get_connect to get TAOS from tmq
2023-09-22 14:02:19 +08:00
Cary Xu
1bbb812557
Merge branch '3.0' into enh/TS-3934-3.0 2023-09-21 17:32:51 +08:00
wangmm0220
06afd0bd33 fix:add interface tmq_get_connect to get TAOS from tmq 2023-09-21 15:13:38 +08:00
slzhou
de411ebad1 fix: review comments 2023-09-21 09:55:13 +08:00
kailixu
2b25982495 enh: user dropped notification 2023-09-21 09:53:45 +08:00
shenglian zhou
94a616fcc1 fix: save and continue 2023-09-18 16:59:07 +08:00
slzhou
a44d0bceb6 Merge branch 'szhou/enh/ipWhiteList' into enh/ipWhiteList 2023-09-12 16:21:29 +08:00
shenglian zhou
8db96a0085 enhance: update notification and get user whitelist api 2023-09-12 14:10:41 +08:00
shenglian zhou
64caae83fd enhance: add hb whitelist version and notify taosadapter 2023-09-12 14:10:41 +08:00
wangmm0220
f0fbe08e1d fix:core dump if tmq is null 2023-09-01 16:45:46 +08:00
Haojun Liao
ad9f3cbc43 other: merge main. 2023-08-16 09:14:10 +08:00