Commit graph

1633 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
Simon Guan
43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Shengliang Guan
2bee60a41a Merge branch 'main' into merge/mainto3.0 2025-02-20 18:12:02 +08:00
54liuyao
870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
Shengliang Guan
6db8a25c98 Merge branch 'main' into merge/mainto3.0 2024-11-27 22:31:17 +08:00
54liuyao
39564a41ae fix(stream):build create table request for force_window_close 2024-11-25 13:54:31 +08:00
Shengliang Guan
a607951115 Merge branch 'main' into merge/mainto3.0 2024-11-22 13:39:44 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +08:00
54liuyao
6464077cec add log 2024-11-21 09:50:45 +08:00
54liuyao
53ae014354 fix issue for streamscan 2024-11-20 19:13:05 +08:00
wangjiaming0909
b589f9089c add test case 2024-11-18 09:33:43 +08:00
54liuyao
ea7c30505a fix(stream):fix bloom filter decode issue 2024-11-13 19:37:22 +08:00
wangjiaming0909
2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909
de8576a6a1 refine comments and functions 2024-11-08 09:50:07 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909
65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
wangjiaming0909
f2860b766a add ret check for deletePartName 2024-11-08 09:42:59 +08:00
54liuyao
2b924c68fd ignore delete result 2024-11-08 09:42:59 +08:00
54liuyao
f452ca47fe delete window state when drop table 2024-11-08 09:42:56 +08:00
Shengliang Guan
10df16b01a
Merge pull request #28667 from taosdata/merge/3.0tomain
merge: from 3.0 to main branch
2024-11-06 20:46:56 +08:00
54liuyao
719a3faa12 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 11:13:15 +08:00
Shengliang Guan
0be118c0aa
Merge pull request #28408 from taosdata/enh/TD-32181/client
Enh/td 32181/client
2024-11-06 09:42:05 +08:00
54liuyao
d010323eb6 fix ci issue 2024-11-05 13:15:32 +08:00
54liuyao
ecf8f92ac8 fix ci issue 2024-11-05 11:11:23 +08:00
54liuyao
35a1d79b98 fix(stream):check scan range of stream operator 2024-11-05 10:37:39 +08:00
xsren
73be7ddbc6 fix: set tablefield of stream block to NULL 2024-10-30 19:38:08 +08:00
54liuyao
d065d71821 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 10:09:48 +08:00
54liuyao
a0818d2a2d fix issue 2024-10-29 18:34:51 +08:00
xsren
85989212c6 fix: set scolumnInfo nodata flag where table scan notload 2024-10-28 19:38:56 +08:00
54liuyao
bb733ca52b fix issue 2024-10-28 11:18:31 +08:00
54liuyao
6b2d338a20 enh(executor):avoid use dangerous functions 2024-10-25 13:47:09 +08:00
54liuyao
7a3f1afe68 fix issue 2024-10-18 16:08:22 +08:00
54liuyao
e9550a6b2c feat(stream):save force window close scan range 2024-10-18 15:40:37 +08:00
54liuyao
3e49f40c74 stream twa 2024-10-16 12:16:59 +08:00
54liuyao
58d8b9f84e fix ci issue 2024-10-09 11:32:20 +08:00
54liuyao
1353614dc2 fix ci issue 2024-10-09 10:02:52 +08:00
Haojun Liao
09b729f97d
Merge pull request #28201 from taosdata/fix/3_liaohj
refactor: update the error logs.
2024-09-30 13:00:15 +08:00
54liuyao
d13819bbf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 09:05:46 +08:00
Haojun Liao
84da5eab2e
Merge pull request #28187 from taosdata/fix/3_liaohj
fix(stream): use meta id instead of ptr.
2024-09-30 09:00:56 +08:00
Hongze Cheng
fe18c77809
Merge pull request #28163 from taosdata/fix/TD-32338-3.0
enh: add lrucache overwriter
2024-09-29 16:06:13 +08:00
Shungang Li
10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Pan Wei
b9df867479
Merge pull request #28155 from taosdata/fix/ly_res
adjust log level
2024-09-27 15:48:04 +08:00
54liuyao
c52da5ab33 adjust log level 2024-09-27 14:21:51 +08:00
Jinqing Kuang
03c33e77aa fix(query)[TD-32353]. Fix error handling during tag scan
Correct the row count in the result data block when the tag scan
tolerates partial errors. This prevents upper-layer operators from
accessing invalid memory address.
2024-09-27 13:55:11 +08:00
Haojun Liao
09600132ec other: merge 3.0 2024-09-26 09:59:29 +08:00
54liuyao
d44529e62f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-25 15:12:15 +08:00
Haojun Liao
c2ff609c5f
Merge pull request #28068 from taosdata/fix/TD-32265
fix(stream):rebuild stream event window
2024-09-25 10:49:11 +08:00