Commit Graph

42 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
Mario Peng f5a339f03e
enh(stmt2): [TD-33660] interlace mode support auto create table (#30084)
* enh: remove interlace autocreate tb limit

* enh: autocreate tb with single ctb

* enh: multi-insert in one ctb

* enh: Function realization

* fix: some unit test error

fix: stmt1 unit test

* fix: review and autoCreateTb & interlace support insert into stb syntax

* fix: insert into tags fixed value auto create table

* fix: remove a wrong test

* fix: adapter segment fault

* fix: adaptor core

* fix: get fields make interlace error

* fix: adapter core problem 2

* fix: multi bind exec invalid message problem
2025-03-14 14:13:26 +08:00
Simon Guan 76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
pengrongkun94@qq.com 2f817e1781 refactor stmt-async-bind loop usleep to Producer Consumer Model 2025-01-20 10:08:20 +08:00
Pengrongkun 653eff8c1a taos_stmt2_get_stb_fields support insert into ? using stb tags(?) values(?) 2024-11-29 10:12:29 +08:00
xjzhou b444e18d90 enh: stmt supports 'insert into db.?' 2024-06-25 16:16:32 +08:00
dapan1121 0616d886cb enh: optimize table columns allocation 2024-06-07 13:50:57 +08:00
dapan1121 3f99e5e064 fix: memory issues 2024-06-07 09:25:17 +08:00
dapan1121 c0e4ab20a4 enh: optimize stmt performance 2024-05-30 13:26:17 +08:00
dapan1121 e2b5d27c2a enh: stmt ignore get fields errors 2023-04-11 10:22:47 +08:00
dapan1121 f79eeb3032 fix: add stmt error handling 2023-04-04 08:54:28 +08:00
dapan1121 0143b4fe64 enh: optimize stmt auto create table 2022-12-03 14:56:51 +08:00
dapan1121 34662ea10a enh: support column mode write 2022-11-30 16:57:24 +08:00
yihaoDeng 69afe77ed9 add req_id interface 2022-11-03 20:08:30 +08:00
dapan1121 2779fe56a7 fix: fix auto create table issue in stmt 2022-11-02 18:34:25 +08:00
Hongze Cheng 17040610e5 more code format 2022-10-13 14:37:03 +08:00
dapan1121 80808766c1 fix: fix memory leak 2022-07-19 15:17:43 +08:00
dapan1121 947aecb74f show queries/connection; kill connection 2022-06-15 11:27:53 +08:00
dapan1121 719cebdd87 stmt new api 2022-05-31 21:03:47 +08:00
Shengliang Guan 7b15cdb287
Merge branch '3.0' into feature/qnode 2022-05-13 23:27:59 +08:00
afwerar 0815843e94 fix(os): make taosd.exe taos.exe run on windows. 2022-05-13 21:42:16 +08:00
dapan1121 5c1be75b9b stmt query 2022-05-13 10:53:25 +08:00
dapan1121 0a1e3f144c fix taosd crash issue 2022-05-12 11:09:05 +08:00
dapan 66bcbbba47 stmt auto create table 2022-05-11 11:44:09 +08:00
dapan 005ff0eda9 stmt auto create table 2022-05-10 15:50:41 +08:00
dapan1121 6f49a2ca73 stmt insert 2022-05-07 21:10:52 +08:00
dapan1121 54fe93f77e stmt query 2022-04-28 17:09:21 +08:00
dapan1121 1850dc0371 stmt query 2022-04-28 11:47:55 +08:00
dapan1121 15d7abf46f stmt query 2022-04-25 20:03:28 +08:00
dapan1121 36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
dapan1121 b77731702e stmt 2022-04-20 18:27:00 +08:00
dapan1121 a1c4f5c2ce stmt 2022-04-18 19:12:10 +08:00
dapan1121 0c2f22fb82 stmt 2022-04-18 19:08:27 +08:00
dapan1121 1e1cca9857 stmt 2022-04-18 13:22:47 +08:00
dapan1121 c8fe5bc88b stmt 2022-04-18 10:19:15 +08:00
dapan1121 93ca1168f3 stmt 2022-04-16 19:41:18 +08:00
dapan1121 1c499c94a7 stmt 2022-04-16 17:47:42 +08:00
dapan1121 9547c0a09b stmt 2022-04-16 15:59:19 +08:00
dapan1121 e3ea173046 stmt 2022-04-15 20:10:51 +08:00
dapan1121 69f09fd0e3 stmt 2022-04-14 20:14:52 +08:00
dapan1121 a823535f27 stmt 2022-04-13 19:57:21 +08:00
dapan1121 d57ecd97b0 stmt 2022-04-13 17:52:26 +08:00