Commit graph

219 commits

Author SHA1 Message Date
wangmm0220
b13967b8f3 feat(stream): move SStorageAPI from stream directory to vnode 2025-05-17 16:00:50 +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
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Shengliang Guan
d0eb99809f Merge branch 'main' into merge/mainto3.03 2025-02-20 11:38:41 +08:00
wangmm0220
425edfad72 fix:[TD-33755]set tag=false error in tmq_get_json 2025-02-18 15:01:57 +08:00
wangmm0220
9dcac195cb fix:[TS-5776]error in ci 2025-02-18 11:20:42 +08:00
wangmm0220
6f2ccfc3b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-17 17:41:25 +08:00
wangmm0220
daea0ec61a fix:[TS-5776]add raw type from consumer 2025-02-13 13:54:54 +08:00
wangmm0220
878bac1556 fix:[TS-5776]avoid memcpy fo DataRspObj 2025-02-11 18:04:53 +08:00
wangmm0220
b5edb79d48 fix:[TS-5776]add raw type from consumer 2025-01-24 16:55:53 +08:00
wangmm0220
79dbf09131 fix:[TD-33606]coder is uninilized if error happens in middle 2025-01-24 15:55:17 +08:00
wangmm0220
902d067776 fix:[TS-5776]add raw type from consumer 2025-01-24 14:56:00 +08:00
wangmm0220
7fad4bceb0 fix:[TS-5776]add raw type from consumer 2025-01-24 13:44:56 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
wangmm0220
ba9892bae0 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2025-01-08 16:50:38 +08:00
wangmm0220
42a5f69dd1 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2024-12-31 18:18:28 +08:00
wangmm0220
226701ad14 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2024-12-31 16:48:23 +08:00
wangmm0220
c7615868b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32166 2024-12-18 17:37:02 +08:00
wangmm0220
c2baa7e177 fix:ci error 2024-12-18 17:36:06 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
wangmm0220
7f6e0c5980 feat:[TD-32166] fix conflicts from 3.0 2024-12-10 15:09:09 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
wangmm0220
c6932abcca feat:[TD-32166] check input params for clientRaw 2024-12-09 18:01:17 +08:00
wangmm0220
325dcac84b fix:[TD-33057] memory leak 2024-12-09 17:23:02 +08:00
wangmm0220
3e9b303b0b fix:[TD-33057] memory leak 2024-12-09 09:30:29 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
yihaoDeng
95a1005e1f update test case and remove invalid code 2024-11-28 15:09:20 +08:00
yihaoDeng
fcec7c522d support subscribe 2024-11-27 16:12:57 +08:00
yihaoDeng
6997386455 support subscribe 2024-11-27 15:22:29 +08:00
yihaoDeng
1f96f3ad72 fix mem leak 2024-11-27 15:07:59 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
yihaoDeng
28aae929d4 support subscript 2024-11-25 17:03:02 +08:00
yihaoDeng
ac012b83ec fix mem leak 2024-11-25 16:04:47 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
wangmm0220
c54855cdd9 fix:[TD-32166] change createRequest to buildRequest to avoid printing error because request not in pRequests hash 2024-11-05 17:18:20 +08:00
wangmm0220
5a6e13c360 fix:[TD-32166] change createRequest to buildRequest to avoid printing error because request not in pRequests hash 2024-11-05 17:17:29 +08:00
wangmm0220
688b159bec fix:[TD-32166] change createRequest to buildRequest to avoid printing error because request not in pRequests hash 2024-11-05 17:09:52 +08:00
wangmm0220
0100d383ee enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-28 15:02:03 +08:00
dapan1121
f7503a2ea9 fix: new merge code 2024-10-24 17:19:26 +08:00
wangmm0220
94a70c9389 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-22 23:24:39 +08:00
wangmm0220
4d26469ac5 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-21 18:44:22 +08:00
wangmm0220
02c16bddc6 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-21 14:40:49 +08:00
wangmm0220
a6f6d41297 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-21 09:25:22 +08:00
wangmm0220
ccfe524636 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 18:28:09 +08:00
wangmm0220
51c7f8b4f0 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 17:36:57 +08:00
wangmm0220
bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
wangmm0220
0002ede469 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-16 10:19:40 +08:00
wangmm0220
61531e7339 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-14 13:55:45 +08:00