Commit graph

70 commits

Author SHA1 Message Date
pengrongkun94@qq.com
245dc41644 feat:fetch pVgInfo from server 2025-05-07 11:06:02 +08:00
pengrongkun94@qq.com
d0eb0c5962 fix:invalid but no error output 2025-05-07 11:05:52 +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
wangmm0220
3fb2ec432e fix:[TS-5776]add raw type from consumer 2025-01-22 17:40:59 +08:00
dapan1121
85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
dapan1121
411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
dapan1121
c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
dapan1121
a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
yihaoDeng
2e3e5d0a99 fix mem leak 2024-09-05 14:40:14 +08:00
dapan1121
d1013b20f9 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-30 18:26:26 +08:00
dapan1121
044f7d6658 fix: remove assert 2024-08-21 14:41:14 +08:00
dapan1121
dfc3fc4987 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-29 11:16:36 +08:00
dapan1121
14383a32a3 fix: sink function return code processing 2024-07-22 18:42:43 +08:00
dapan1121
b3eb938527 enh: add query memory pool 2024-07-01 17:22:43 +08:00
Haojun Liao
92b247e5b4 refactor: move compress data in query threads. 2024-05-16 15:55:48 +08:00
kailixu
507e40ddb7 enh: primary key column should not be null 2024-04-10 18:56:55 +08:00
kailixu
7f11a3682b enh: primary key column should not be null 2024-04-10 18:41:20 +08:00
kailixu
7d34c767e9 fix: insert from select and sort merge 2024-04-08 18:23:16 +08:00
kailixu
cc660de9d0 chore: error prompt for null primary key column 2024-04-03 08:14:30 +08:00
kailixu
adb6de0595 fix: null value check for target column with pk 2024-04-02 17:33:11 +08:00
Hongze Cheng
4b71031014 more code 2024-02-21 14:29:10 +08:00
factosea
a0e356bf84 Keep the last data with the same timestamp when inserting 2023-12-06 15:20:05 +08:00
xsren
83d8e3a524 mem exception handle 2023-09-18 13:48:09 +08:00
dapan1121
0b18689fa6 fix: fix coverity issues 2023-09-06 10:57:49 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121
cb70861986 fix: memory leak issue 2023-08-22 18:40:42 +08:00
dapan1121
fe4e45647e fix: global data sink manager issue 2023-08-22 18:29:25 +08:00
Haojun Liao
a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
Haojun Liao
09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
Haojun Liao
da0d9c78ef refactor: do some internal refactor. 2023-04-28 11:42:34 +08:00
Haojun Liao
db1d75bb48 refactor: do some internal refactor. 2023-04-27 09:28:20 +08:00
Haojun Liao
97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
dapan1121
8514f1c7f0 fix: report error when NULL ts is inserted 2023-02-23 18:56:32 +08:00
Xiaoyu Wang
d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Xiaoyu Wang
8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121
98a2eb03f0 fix: index not updated issue 2022-12-30 17:48:24 +08:00
dapan1121
d674bae88e fix: fix index not update issue 2022-12-30 17:47:06 +08:00
dapan1121
ad777cc793 fix: insert into select with disorder column issue 2022-12-30 14:34:02 +08:00
dapan1121
ee719d02b4 fix: insert into select with disorder column issue 2022-12-30 14:31:56 +08:00
dapan1121
32e8202a25 enh: refact insert into select processing 2022-12-20 16:55:11 +08:00
Haojun Liao
364e023ba5 fix(query): fix memory leak. 2022-12-16 19:07:09 +08:00
Haojun Liao
28559dc41c fix(query): fix the invalid decode. 2022-12-16 00:43:19 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
dapan1121
842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
dapan1121
991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
dapan1121
20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
dapan1121
0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00