Commit Graph

31 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
dapan1121 47394a6a0d fix: add more UT cases 2024-12-23 16:07:47 +08:00
dapan1121 14b9979325 fix: job retry issues 2024-12-10 17:27:02 +08:00
dapan1121 bcdcdd194a fix: force stop issue 2024-12-06 17:35:32 +08:00
dapan1121 011ff04234 fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
dapan1121 ce07aaf774 fix: job retire issues 2024-12-02 14:51:31 +08:00
dapan1121 30eb4b2633 fix: job retry issue 2024-11-27 09:50:00 +08:00
dapan1121 3d3956efda fix: retire job issue 2024-11-26 16:46:33 +08:00
dapan1121 80b1ab8f45 fix: task delay timer not closed issue 2024-11-26 13:36:15 +08:00
dapan1121 050a0dfe9f fix: scheduler timer issue 2024-11-26 09:09:15 +08:00
dapan1121 8455949575 enh: add memory full func mode 2024-11-25 15:31:29 +08:00
dapan1121 3dc61bf0f4 fix: restore direct alloc 2024-11-22 14:34:37 +08:00
dapan1121 9ffe0bcd8c fix: job rerun retry latency issue 2024-11-22 10:17:19 +08:00
dapan1121 205d47d981 fix: job destroy issue 2024-11-21 18:02:42 +08:00
dapan1121 e2accc307c fix: rpc dead loop issue 2024-11-21 10:22:05 +08:00
dapan1121 a5bd91492d fix: memory leak and dead lock issues 2024-11-19 10:12:45 +08:00
dapan1121 9941dcae9b fix: mempool ut issues 2024-11-18 15:05:02 +08:00
dapan1121 ce2b2bb024 fix: race condition issue 2024-11-15 18:15:50 +08:00
dapan1121 15e26827db fix: memory pool close issue 2024-11-15 17:05:46 +08:00
dapan1121 85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
dapan1121 40f9e366e9 fix: data deleter schema issue 2024-11-14 17:38:20 +08:00
dapan1121 34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
dapan1121 7cd98a1902 fix: memory leak issues 2024-11-12 08:42:54 +08:00
dapan1121 dd2ab5b361 fix: ut issues 2024-11-07 16:46:18 +08:00
dapan1121 c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
dapan1121 60063b4d65 fix: add more UT 2024-08-30 18:13:35 +08:00
dapan1121 b95ef255d0 fix: add ut case 2024-08-16 18:22:31 +08:00
dapan1121 a15d340e5e fix: ut issues 2024-08-08 18:31:33 +08:00
dapan1121 f0aacc7e4a fix: add ut case 2024-08-07 19:22:01 +08:00
dapan1121 1a2dbe53a1 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-05 09:47:28 +08:00
dapan1121 534fca559d enh: add ut 2024-08-02 16:08:19 +08:00