TDengine/include/util
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
..
cus_name.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
talgo.h add return code 2024-07-16 14:56:30 +08:00
taoserror.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tarray.h add return code 2024-07-16 14:56:30 +08:00
tarray2.h ehn: refactor return code 2024-07-29 14:04:46 +08:00
tbase58.h enh: return error code 2024-07-22 15:29:37 +08:00
tbase64.h enh: return error code 2024-07-22 15:29:37 +08:00
tbloomfilter.h adj stream function return 2024-07-15 13:38:34 +08:00
tbuffer.h refact return code 2024-07-27 18:46:30 +08:00
tbuffer.inc fix tsbs perf issue 2024-11-18 14:11:21 +08:00
tcache.h fix: disable life extending of conn cache obj when show queries/conns 2023-10-24 13:58:30 +08:00
tchecksum.h handle some of return -1 2024-08-14 17:50:20 +08:00
tcoding.h enh: remove some asserts 2024-08-20 10:43:28 +08:00
tcompare.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tcompression.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tconfig.h add ut . 2024-12-30 17:45:43 +08:00
tconv.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tcrc32c.h refact: format header file 2022-10-13 11:09:43 +08:00
tdef.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tdes.h tbase64 2022-02-28 10:34:05 +08:00
tdigest.h enh:[TD-32189] Add validation to prevent changes to resultinfo structure. 2024-10-12 15:14:59 +08:00
tencode.h enh: add strict message check for submit message 2025-01-08 17:29:32 +08:00
tenv.h fix make errors. 2024-12-16 12:18:06 +08:00
tgeosctx.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
thash.h hash key exist code 2024-07-18 14:30:59 +08:00
theap.h enh: optimize source code 2024-07-31 19:28:17 +08:00
tidpool.h refact: format header file 2022-10-13 11:09:43 +08:00
tjson.h enh: query 2024-11-12 16:11:47 +08:00
tlist.h adj stream operator result 2024-07-18 10:09:15 +08:00
tlockfree.h Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
tlog.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tlosertree.h remove asserts of nodes/planner/parser/tsdbread 2024-08-22 19:15:18 +08:00
tlrucache.h enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
tmd5.h md5 2022-02-28 14:07:11 +08:00
tpagedbuf.h fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
tpcre2.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tqueue.h fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
trbtree.h more code 2023-05-18 15:06:21 +08:00
tRealloc.h enh: refactor return code 2024-07-24 13:58:17 +08:00
tref.h fix: schedulerFreeJob reset jobId only on the last reference 2024-09-13 18:59:54 +08:00
tscalablebf.h adj stream operator result 2024-07-18 11:26:50 +08:00
tsched.h tsc: handle schedule error 2022-09-13 17:48:57 +08:00
tsimplehash.h fix(query): fix error. 2024-07-28 23:19:03 +08:00
tskiplist.h fix(coverage): remove the function about skiplist callback 2022-10-26 17:29:49 +08:00
tstrbuild.h minor changes 2022-02-28 14:26:54 +08:00
tthread.h refact: format header file 2022-10-13 11:09:43 +08:00
ttimer.h ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:42:19 +08:00
ttrace.h fix: trace id two character missing issue 2023-02-28 13:23:59 +08:00
tunit.h add cfg value check 2024-04-10 16:48:02 +08:00
tutil.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tuuid.h enh: getSystemUUIDLen 2024-10-12 09:07:08 +08:00
tversion.h fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
tworker.h refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
types.h enh: refactor error code 2024-07-25 08:51:19 +08:00
version.h refact: rename version to td_version 2024-11-04 15:16:15 +08:00