Commit graph

2247 commits

Author SHA1 Message Date
Jing Sima
4bc4894d7c fix:[TS-5798] Fix crash when function's param num more than 127. 2024-12-23 17:28:41 +08:00
factosea
a360b71f7c enh: udf exception test case 2024-12-20 16:57:17 +08:00
factosea
1cb0e2fec2 udf merge: temporarily block code 2024-12-19 15:43:24 +08:00
factosea
50dbfdd4a3 udfd: coverage 2024-12-19 15:05:32 +08:00
factosea
20f8d17c16 cols func 2024-12-19 10:48:40 +08:00
factosea
7964e5e6b7 cols function 2024-12-17 15:12:14 +08:00
Shengliang Guan
ea96f51ba2 Merge branch '3.0' into merge/mainto3.0 2024-12-14 18:24:39 +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
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
Shengliang Guan
b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
factosea
4a0b6adca4 fix: group_const_value 2024-12-04 11:50:17 +08:00
wangmm0220
931a40985c feat:[TD-32642] add timezone support in windows 2024-12-04 10:53:33 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
yihaoDeng
3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
kailixu
0303480f01 Merge branch '3.0' into enh/TD-30933-3.0 2024-11-30 20:36:20 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
kailixu
4b2aea8100 Merge branch '3.0' into enh/TD-30933-3.0 2024-11-29 13:41:25 +08:00
kailixu
b4e6e2dfa8 enh: support specify log output by -o option 2024-11-29 13:40:33 +08:00
wangjiaming0909
3239a10b76 support interp fill extension 2024-11-28 20:30:53 +08:00
wangmm0220
375c3c4873 feat:[TD-32642] add timezone for connection support 2024-11-28 17:17:16 +08:00
Shengliang Guan
b1433deebe
Merge pull request #28839 from taosdata/enh/TD-32179/operatorInputCheck
enh: operator input check
2024-11-28 16:37:58 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
yihaoDeng
2c0a6ed7ba refactor code 2024-11-27 13:34:48 +08:00
yihaoDeng
bfb651b8c6 refactor code 2024-11-27 11:15:05 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
factosea
c46278a863 fix: col type 2024-11-25 13:56:14 +08:00
wangmm0220
69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
wangjiaming0909
a6ab76b02e fix lastrow function tests 2024-11-18 14:11:21 +08:00
wangjiaming0909
6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
yihaoDeng
6ad894b356 support quick cmd 2024-11-14 17:04:11 +08:00
Shengliang Guan
ab4e0267de
Merge pull request #28716 from taosdata/enh/TD-32167/parameterValidation
enh: param valid, udf
2024-11-13 14:38:52 +08:00
yihaoDeng
eddc7918d3 add quick cmd 2024-11-12 21:10:17 +08:00
factosea
057d388451 fix: set pointer to null after free 2024-11-12 17:59:58 +08:00
Jing Sima
f7a2c857f4 fix:[TD-32855] Improve percentile function when calculating on a small amount of data. 2024-11-12 15:01:09 +08:00
facetosea
61ccba3ce7 enh: check level 2024-11-11 17:23:13 +08:00
xsren
bf9ea14f86 data check: udf 2024-11-11 11:04:11 +08:00
xsren
1c01bd801b param valid: udf 2024-11-11 09:23:02 +08:00
Shengliang Guan
d36b6fd214
Merge pull request #28682 from taosdata/enh/TD-32167/os
Parameter validation
2024-11-08 09:30:09 +08:00
xsren
9adc756975 enh: parameter validation 2024-11-07 17:37:33 +08:00
Haojun Liao
a8f7f153d9 refactor: do some internal refacrtor. 2024-11-07 16:44:43 +08:00
xsren
04565b23ef Parameter validation 2024-11-07 13:36:53 +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
54liuyao
48d5f0e7cd fix issue 2024-11-05 18:14:35 +08:00
Shengliang Guan
cca24b7381
Merge pull request #28634 from taosdata/feat/contrib30
refact: rename version to td_version
2024-11-05 13:33:20 +08:00
Shengliang Guan
1539e04e8b
Merge pull request #28639 from taosdata/main
merge: from main to 3.0 branch
2024-11-05 09:04:38 +08:00
Shengliang Guan
f8bd752e59
Merge pull request #28627 from taosdata/feat/contrib3
fix: compile errors on macOS 14.4 m2 chip
2024-11-04 16:40:49 +08:00
Shengliang Guan
03814cfe5a refact: rename version to td_version 2024-11-04 15:16:15 +08:00
Shengliang Guan
031146b3b5 fix: check memory calloc 2024-11-04 11:53:24 +08:00
Shengliang Guan
07f7b57cd7 Merge remote-tracking branch 'laiyongtao/fix-udfd-env-var-cfg' into feat/contrib30 2024-11-04 11:39:41 +08:00
Shengliang Guan
d8858a5113 Merge remote-tracking branch 'suzp1984/fix/3.0-compile-error-macos' into feat/contrib3 2024-11-04 11:06:15 +08:00
Jing Sima
9df427c0cd fix:[TD-32506] Add test case for TD-32506 2024-11-04 09:40:35 +08:00
54liuyao
de92e455a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-04 09:11:43 +08:00
Shengliang Guan
65f41cad20
Merge pull request #28577 from taosdata/enh/TD-32652-main
enh(query)[TD-32652]: enable AVX implementation with CPU dispatching
2024-11-01 17:30:52 +08:00
Jinqing Kuang
647066c4f9 enh(query)[TD-32652]: enable AVX implementation with CPU dispatching
Extract AVX implementation of specific functions into separate files.
The CPU dispatching mechanism will now check the machine's instruction
set at runtime to determine whether to use the AVX implementation or
fallback to the naive version.

This enhancement improves performance on most machines while ensuring
compatibility with older hardwares.
2024-11-01 12:44:59 +08:00
54liuyao
0e0a7ae2e9 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-01 09:54:51 +08:00
xsren
6d4d79a4d3 fix: geometry ST_AsText 2024-10-30 14:04:12 +08:00
dapan1121
9f2fba6269 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-28 18:48:40 +08:00
xsren
fb34549ae7 fix: json tag length check 2024-10-28 11:50:25 +08:00
xsren
323088dc71 fix: create partialfunction 2024-10-27 22:41:34 +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
54liuyao
cea454b002 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-24 19:24:55 +08:00
Jing Sima
5f7dbde47f enh:[TD-32459] Abstract function properties into a struct. 2024-10-24 16:39:12 +08:00
Jing Sima
c26ab17f19 enh:[TD-32459] Abstract function properties into a struct. 2024-10-24 15:08:56 +08:00
Shengliang Guan
81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
dapan1121
54bcd56da8 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-23 19:14:13 +08:00
xsren
7094a8ddcf fix: bytes of repeat and timezone 2024-10-23 13:51:46 +08:00
54liuyao
3365da365f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-22 10:17:49 +08:00
Shengliang Guan
25d43c139c
Merge pull request #28363 from taosdata/feature/TS-5530
feat: data analysis
2024-10-21 19:51:24 +08:00
xsren
7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
54liuyao
6a2a5b80a1 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-18 09:28:18 +08:00
Jing Sima
15c13cc853 fix:[TD-32592] fix bug when percentile split bucket. 2024-10-17 15:02:17 +08:00
Jing Sima
d0618b6e85 fix:[TD-32592] fix bug when percentile split bucket. 2024-10-17 15:01:23 +08:00
54liuyao
a62b5a3efd fix issue 2024-10-17 14:55:07 +08:00
54liuyao
3e49f40c74 stream twa 2024-10-16 12:16:59 +08:00
54liuyao
944457d7a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-16 12:09:17 +08:00
dapan1121
a8965fa98c Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-10-15 19:20:36 +08:00
Shengliang Guan
3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan
b315b446e8
Merge pull request #28360 from taosdata/feat/anal7
revert: data analysis
2024-10-15 09:05:28 +08:00
Pan Wei
0db5fe41e4
Merge pull request #28249 from taosdata/enh/TS-4661-3.0
enh(query)[TS-4661] Add AVX2 support for decompression and MIN/MAX comparison
2024-10-15 08:47:39 +08:00
Shengliang Guan
9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
Jinqing Kuang
636c65d62f enh(query)[TS-4661]. Add AVX2 support for decompression and MIN/MAX comparison
- Implement AVX2 instructions to decompress float and double data types
- Add AVX2-based MIN/MAX comparison for both integer and floating-point data types
- Include unit tests to verify functionality and performance improvements
2024-10-14 15:31:40 +08:00
54liuyao
9377450199 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-14 13:55:05 +08:00
Pan Wei
80e2e426f0
Merge pull request #28277 from taosdata/enh/TD-32413/snprintf
Enh/td 32413/snprintf
2024-10-14 10:59:03 +08:00
Jing Sima
6231d46cc5 enh:[TD-32189] Add validation to prevent changes to resultinfo structure. 2024-10-12 15:14:59 +08:00
xinsheng Ren
9f645a0879
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-11 16:07:25 +08:00
Pan Wei
fc05f92fc9
Merge pull request #28250 from taosdata/fix/TD-32409
fix: use safe function
2024-10-11 10:25:09 +08:00
Shengliang Guan
10d7adca54
Merge pull request #28290 from taosdata/feat/anode314
fix: unitest error
2024-10-10 20:57:31 +08:00
Pan Wei
67bf944413
Merge pull request #28292 from taosdata/fix/buildRelease
fix: ret error
2024-10-10 18:18:25 +08:00
Shengliang Guan
463c7f45dd fix: unittest error 2024-10-10 16:00:06 +08:00
54liuyao
5c121fd90d Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-10 15:58:07 +08:00
xsren
ef8367fbb4 fix: ret error 2024-10-10 14:40:59 +08:00
Shengliang Guan
3e2de990d9 fix: unitest error 2024-10-10 14:26:53 +08:00
Shengliang Guan
16ed3be979 fix: unitest error 2024-10-10 14:05:45 +08:00
Shengliang Guan
1ad7745fe8 fix: unitest error 2024-10-10 13:34:32 +08:00
Shengliang Guan
ad61980e40 fix: unitest error 2024-10-10 13:17:24 +08:00
Shengliang Guan
43fa9b4cc7 fix: unitest error 2024-10-10 13:04:17 +08:00
Shengliang Guan
3ad2eb939c fix: unitest error 2024-10-10 11:54:32 +08:00
Shengliang Guan
e792c1a986 fix: unitest error 2024-10-10 11:49:26 +08:00
xinsheng Ren
dff505b87d
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-10 10:37:31 +08:00
xsren
e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
xsren
c7f6349e14 tsnprintf 2024-10-10 10:35:29 +08:00
dapan1121
d55a0032b1 fix: localtime issue 2024-10-10 09:45:37 +08:00
Pan Wei
822638144a
Merge pull request #28211 from taosdata/enh/TD-32414
enh:[TD-32414] replace unsafe functions
2024-10-10 08:55:51 +08:00
54liuyao
dd7f705dcc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 19:31:44 +08:00
Shengliang Guan
ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Pan Wei
2ab40b9abe
Merge pull request #28261 from taosdata/enh/TD-31691
enh:modify error code passing
2024-10-09 18:31:20 +08:00
Shengliang Guan
4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
Jing Sima
3924b1fbc6 enh:[TD-32414] replace unsafe function in scalar and function. 2024-10-09 17:02:01 +08:00
Pan Wei
0fe3565c90
Merge pull request #28235 from taosdata/enh/TD-32413/safeFunc
enh: safe function
2024-10-09 16:40:12 +08:00
lyh250-666
676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
xsren
eaf8bf0ca6 tstrncpy 2024-10-09 11:26:35 +08:00
54liuyao
08283a34c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 11:19:29 +08:00
Pan Wei
6c68777fee
Merge pull request #28238 from taosdata/fix/3.0/TD-32452
fix:[TD-32452] Clean up when error occurs to avoid mem leak.
2024-10-09 09:49:40 +08:00
xsren
e88a8317af fix: buff size 2024-10-09 09:45:56 +08:00
Jing Sima
f5872e6cec fix:[TD-32454] Use SMA when using min/max on numeric column. 2024-10-08 17:02:25 +08:00
Jing Sima
83f0601ea9 fix:[TD-32452] Clean up when error occurs to avoid mem leak. 2024-10-08 14:57:04 +08:00
xsren
7f2a2cfbd0 enh: safe function 2024-10-08 14:25:51 +08:00
dapan1121
c18da7f273 Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-09-30 09:55:09 +08:00
dapan1121
65985c7aaa enh: add tag scan test 2024-09-27 18:08:36 +08:00
54liuyao
df8cfa65c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-27 11:37:37 +08:00
xsren
18bc5a048f taosStrndup 2024-09-26 14:46:53 +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
Jing Sima
ad7b2ddc1b enh:[TD-32158] Free memory only when function need cleanup. 2024-09-24 11:35:36 +08:00
Jing Sima
122b707ac8 enh:[TD-32158] Free memory allocated in function setup. 2024-09-24 11:35:36 +08:00
Pan Wei
04663cb4b3
Merge pull request #28011 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-23 08:54:34 +08:00
lyh250-666
69d62454d7 enh:modify error code passing 2024-09-20 17:48:04 +08:00
54liuyao
e53fafc08f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-20 15:31:03 +08:00
Hongze Cheng
80152c1e48
Merge pull request #27948 from taosdata/enh/TD-32144-3.0
enh: check memory allocation
2024-09-20 09:04:34 +08:00
Pan Wei
db77a7dc66
Merge pull request #27954 from taosdata/fix/deakLock
fix: deak lock
2024-09-19 16:29:59 +08:00
54liuyao
813cab6e33 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-19 14:45:38 +08:00
xsren
bffba8e440 fix: deak lock 2024-09-19 10:22:25 +08:00
Jing Sima
de16ac5faa enh:[TD-32128] Haneld return value of memory alloc functions. 2024-09-19 08:15:19 +08:00
kailixu
1b53ba2df4 enh: check memory allocation 2024-09-18 23:17:08 +08:00
54liuyao
c4566f98b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-18 16:26:37 +08:00
Pan Wei
4c459155f1
Merge pull request #27890 from taosdata/fix/TD-31870/os4
fix: os return
2024-09-18 11:03:44 +08:00
xsren
f684e12c27 pointer check 2024-09-14 18:11:36 +08:00
xsren
1b48080a94 fix: os return 2024-09-14 11:47:20 +08:00
xsren
a91085eef6 fix: void 2024-09-13 16:14:40 +08:00
54liuyao
de44c5dc5e Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-13 11:13:04 +08:00
54liuyao
aa80aa39bc fix(query):use window start key when ts column is null 2024-09-12 15:34:57 +08:00
Pan Wei
c8b087fc2d
Merge pull request #27776 from taosdata/fix/3.0/TS-5839
fix:[TS-5839] Fix crash when use last function on a column with all null value with partition subclause.
2024-09-12 09:13:23 +08:00