Commit graph

73 commits

Author SHA1 Message Date
Simon Guan
0b009f3286 Merge branch 'main' into merge/mainto3.0 2025-05-09 10:15:44 +08:00
Matteo Nicoli
063d07ef4e tests fix 2025-05-02 15:50:56 +02:00
Matteo Nicoli
6d232d59de tests updated 2025-05-02 14:57:55 +02:00
Matteo Nicoli
990a182627 crc32.csv fixed 2025-05-02 00:01:31 +02:00
Matteo Nicoli
991548dafd cr fix 2025-05-02 00:01:31 +02:00
Matteo Nicoli
a49d3eba53 added crc32 tests 2025-05-02 00:01:31 +02:00
Simon Guan
16f90d4de1 Merge branch 'main' into merge/mainto3.0 2025-04-27 19:16:46 +08:00
Jing Sima
bd5aeda005
fix: [TD-34631] Fix timetruncate crash when using year as time unit in where clause. (#30863) 2025-04-24 09:56:14 +08:00
Matteo Nicoli
bca708dfc1 changed "base64" to "to_base64" 2025-04-16 00:37:56 +02:00
Matteo Nicoli
10d82c2452 feat: added base64 SQL function 2025-04-08 10:41:50 +02: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
facetosea
c7efa34bc8 fix: test case 2025-03-13 10:58:18 +08:00
factosea
7e6edb82ba fix: param check 2025-03-11 13:40:36 +08:00
factosea
3bcbc12001 fix: rename compareAsStrInGreatest in test case 2025-03-11 13:40:36 +08:00
factosea
0959423d5b docs: greatest/least function desc 2025-03-11 13:40:30 +08:00
factosea
8f5134913c feat: test case 2025-03-11 13:38:57 +08:00
factosea
b3ef8b2f44 fix: print folat when title name is too long 2025-03-11 13:38:57 +08:00
dapan1121
0d3887ba05 docs: modify interp function docs 2025-02-12 17:21:15 +08:00
dapan1121
f6f0294684 fix: add test cases and fix error message 2025-02-12 13:58:09 +08:00
dapan1121
e0ba96f649 Merge remote-tracking branch 'origin/3.0' into feat/TS-5486 2025-02-12 10:22:08 +08:00
dapan1121
e6799c9070 fix: correct expected result 2025-02-12 10:20:58 +08:00
Pan Wei
15efd7abb8
Merge pull request #29748 from taosdata/fix/TS-5972/castDouble3.0
Fix/ts 5972/cast double3.0
2025-02-12 09:17:14 +08:00
factosea
dfc953074e fix: format case 2025-02-11 19:20:16 +08:00
factosea
edd5754f56 test case 2025-02-11 19:19:47 +08:00
factosea
53d77c6049 fix: cast double 2025-02-11 19:19:39 +08:00
dapan1121
bf13c90a61 feat: support range fill with interval limitation 2025-02-11 19:14:15 +08:00
Jing Sima
c2e15394d6 fix:[TS-5941] fix interpolate varchar/nchar data error 2025-01-22 13:40:26 +08:00
Shengliang Guan
3c807c59af
Merge pull request #29302 from taosdata/merge/mainto3.0
merge: from main to 3.0
2024-12-24 17:45:15 +08:00
Jing Sima
4bc4894d7c fix:[TS-5798] Fix crash when function's param num more than 127. 2024-12-23 17:28:41 +08:00
Jing Sima
3f6039d36b enh:[TD-33274] Add more test cases 2024-12-23 08:06:16 +08:00
Shengliang Guan
9c15eb7b3b Merge branch 'main' into merge/mainto3.0 2024-12-14 18:20:51 +08:00
Jing Sima
7658144359 fix:[TS-5763] Fix error when using selection function with JSON param. 2024-12-13 13:49:46 +08:00
Jinqing Kuang
c2256e9443 feat(query)[TS-5058]: support AUTO OFFSET in INTERVAL clause
Add the AUTO keyword, which allows automatic determination of the
INTERVAL OFFSET based on the WHERE condition. It simplifies usage by
allowing users to rely on the system to infer the correct offset
without manual specification.
2024-12-04 10:06:47 +08:00
Jinqing Kuang
f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
chenhaoran
0e25efcec5 test:update install py connector in ci 2024-11-13 11:37:37 +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
54liuyao
ba31bf2c52 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 09:42:50 +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
Jing Sima
9df427c0cd fix:[TD-32506] Add test case for TD-32506 2024-11-04 09:40:35 +08:00
Jing Sima
5a4c7c2e2a fix:[TD-32727] Add test case for TD-32727. 2024-10-31 09:50:57 +08:00
Jing Sima
412c20968e fix:[TD-32727] Add test case for TD-32727. 2024-10-30 18:11:14 +08:00
xinsheng Ren
412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
54liuyao
f79dcffc8c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-25 14:14:43 +08:00
Jing Sima
c26ab17f19 enh:[TD-32459] Abstract function properties into a struct. 2024-10-24 15:08:56 +08:00
xsren
ea6c90e023 fix: repeat.csv 2024-10-23 13:52:53 +08:00
54liuyao
b025fd29b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-23 09:32:52 +08:00
qevolg
65199c9826 test(func): modify updatecfg_dict to updatecfgDict 2024-10-22 15:08:14 +08:00
qevolg
7af2a8dbc3 test(func): delete unused files and rename 2024-10-21 14:09:25 +08:00
qevolg
80f2e3aee3 test(func): modify sql func test cases 2024-10-21 10:31:26 +08:00
qevolg
d2b2c4e381 test(func): modify sql func test cases 2024-10-20 09:41:04 +08:00