Commit Graph

6065 Commits

Author SHA1 Message Date
Shengliang Guan ea9ed2e538
Merge pull request #28300 from taosdata/enh/TS-5441-3.0
enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info
2024-10-30 13:43:41 +08:00
wangjiaming0909 14ddaf7c39 add parition having tests and fix merge align interval + limit 2024-10-30 11:09:57 +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
54liuyao fc2e62a18c use len of context buffer 2024-10-29 14:14:26 +08:00
xsren 85989212c6 fix: set scolumnInfo nodata flag where table scan notload 2024-10-28 19:38:56 +08:00
dapan1121 9f2fba6269 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-28 18:48:40 +08:00
dapan1121 cea25e7f9d fix: scheduler ut issues 2024-10-28 18:47:15 +08:00
yihaoDeng b523cf8802 fix:conflicts from 3.0 2024-10-28 17:34:20 +08:00
54liuyao bb733ca52b fix issue 2024-10-28 11:18:31 +08:00
54liuyao 424e574e94 fix issue 2024-10-28 11:09:56 +08:00
54liuyao 658503f169 Merge branch 'fix/ly_res_main' of https://github.com/taosdata/TDengine into fix/ly_res_main 2024-10-27 15:51:22 +08:00
54liuyao 86e7371e87 fix issue for windows compile 2024-10-27 15:50:57 +08:00
xinsheng Ren 412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
54liuyao 417938d2b2 fix issue 2024-10-25 17:21:28 +08:00
54liuyao f5626d45bc fix issue for windows compile 2024-10-25 16:13:43 +08:00
54liuyao 077005a9f9 fix ci issue 2024-10-25 16:08:38 +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 6b2d338a20 enh(executor):avoid use dangerous functions 2024-10-25 13:47:09 +08:00
54liuyao 9475664494 add stream doc 2024-10-25 13:39:26 +08:00
54liuyao c590377bee merge 3.0 2024-10-24 19:29:14 +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
Shengliang Guan 9a7000da4a
Merge pull request #28485 from taosdata/merge/30tomain
merge: from 3.0 to main branch
2024-10-24 19:12:17 +08:00
xsren 5d20fde692 safetycheck, use reserve state 2024-10-24 17:44:13 +08:00
dapan1121 f7503a2ea9 fix: new merge code 2024-10-24 17:19:26 +08:00
dapan1121 4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
Shengliang Guan 402a9ad0d5
Merge pull request #28440 from taosdata/feat/3.0/TD-29667
fix fill with pesudo column exprs
2024-10-24 16:42:30 +08:00
dapan1121 8cd994645b fix: subplan test compile issue 2024-10-24 15:30:47 +08:00
dapan1121 7a45984c96 fix: table seq scan issue 2024-10-24 15:28:09 +08:00
dapan1121 f795e415e5 fix: add subplan test 2024-10-24 15:01:49 +08:00
54liuyao dc9d6a8a73 fix issue for _isfilled 2024-10-24 14:59:53 +08:00
Shengliang Guan 058d605c5b
Merge pull request #28473 from taosdata/fix/TS-5546-main
avoid free memory incorrectly
2024-10-24 14:09:21 +08:00
54liuyao 20c54a24f0 avoid free memory incorrectly 2024-10-24 11:25:43 +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
dapan1121 e52628ab57 fix: scheduler validate plan issues 2024-10-23 19:13:15 +08:00
wangjiaming0909 a7eb3c2607 fix filloperator memory leak 2024-10-23 18:19:37 +08:00
xsren 1e8565eca8 fix: check return value 2024-10-23 15:51:46 +08:00
xsren e8835c2caa blockDataCheck 2024-10-23 15:37:49 +08:00
wangjiaming0909 d1d6689684 add not fill exprs for fill operator 2024-10-23 15:16:16 +08:00
xsren 00d374358a fix: rowSize check 2024-10-23 13:51:46 +08:00
xsren 2ae51f3118 enh: safetyCheck config 2024-10-23 13:51:46 +08:00
xsren f57e3f3c85 enh: safetyCheck 2024-10-23 13:51:46 +08:00
xsren 7094a8ddcf fix: bytes of repeat and timezone 2024-10-23 13:51:46 +08:00
xsren 70c79abddc fix: concat null failed 2024-10-23 13:51:46 +08:00
xsren f35d2847b9 enh: blockencode 2024-10-23 13:51:46 +08:00
xsren d01a3481bc block buf len check 2024-10-23 13:51:46 +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
54liuyao b30097cc88 fix issue 2024-10-22 13:33:19 +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 4527e96d2b
Merge pull request #27907 from taosdata/enh/opt-transport
Enh: RPC transport optimization
2024-10-22 09:56:48 +08:00
dapan1121 a2665ebc82 fix: add plan validation in scheduler 2024-10-22 09:04:12 +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
dapan1121 6a9fd0c95e enh: add operator 2024-10-21 19:24:52 +08:00
yihaoDeng a7035daf17 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-21 14:06:35 +08:00
Shengliang Guan 4c6dfe3308
Merge pull request #28273 from taosdata/fix/3.0/TD-32184
fix:[TD-32184] Support backwards compatibility for function's result info.
2024-10-21 13:35:02 +08:00
xsren 7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
dapan1121 cde86c2e32 enh: add plan ut case 2024-10-18 18:18:10 +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
wangmm0220 bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
54liuyao e825d74213 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-17 17:12:00 +08:00
54liuyao 24b963d621 add ci 2024-10-17 16:43:47 +08:00
54liuyao 4a34ae2570 adj ci 2024-10-17 15:48:52 +08:00
54liuyao a62b5a3efd fix issue 2024-10-17 14:55:07 +08:00
dapan1121 44726fe42a enh: add subplan test 2024-10-17 11:28:05 +08:00
dapan1121 041f3380ba enh: add more rand plan 2024-10-16 19:24:42 +08:00
54liuyao 39379af1a2 add twa ci 2024-10-16 17:34:03 +08:00
54liuyao b24c9c5d20 fix ci check 2024-10-16 13:39:32 +08:00
54liuyao 17939a184b fix ci issue 2024-10-16 13:26:14 +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
Jing Sima 2b83a20c69 Revert "fix:[TD-32334] Generate correct time window when using interp with fill next and linear."
This reverts commit 77e63d0922.
2024-10-16 08:05:53 +08:00
dapan1121 a8965fa98c Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-10-15 19:20:36 +08:00
dapan1121 ab61e05194 enh: add rand query plan 2024-10-15 19:19:21 +08:00
Shengliang Guan 868ccd86ab fix: forecast and anomaly can input up to 10000 rows 2024-10-15 16:25:14 +08:00
wangmm0220 10436cacff enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-15 16:17:58 +08:00
Shengliang Guan 55c7770d84 fix: param start and every calculation errors 2024-10-15 16:11:33 +08:00
Shengliang Guan adbea71230 refact: adjust forecast paras such as wncheck 2024-10-15 16:00:07 +08:00
yihaoDeng c4a8248f14 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-15 14:24:12 +08:00
Shengliang Guan c723452f83 fix: func return value 2024-10-15 11:00:18 +08:00
Shengliang Guan 3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan 9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
54liuyao 7799898896 fix(stream): adj result flag 2024-10-14 19:40:55 +08:00
54liuyao 55b5b905b7 init groupResInfo 2024-10-14 17:30:36 +08:00
Jing Sima 9bd22e4e61 fix:[TD-32184] result row do decode only when version is different. 2024-10-14 14:05:58 +08:00
wangmm0220 61531e7339 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-14 13:55:45 +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
Jing Sima cf3db4f1a6 fix:[TD-32184] fix heap use after free. 2024-10-14 11:24:02 +08:00
Jing Sima 06121e6c9d fix:[TD-32184] fix compile error. 2024-10-14 11:00:20 +08:00
Jing Sima 11ed8a1540 fix:[TD-32184] Support backwards compatibility for function's result info. 2024-10-14 11:00:20 +08:00
yihaoDeng ae770e1dd0 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 19:20:21 +08:00
yihaoDeng a0324f41a6 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 16:45:55 +08:00
wangmm0220 3cb60211de enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-12 15:43:58 +08:00
Haojun Liao e0018734a4
Merge pull request #28322 from taosdata/fix/ly_stream
fix(stream): check reload function
2024-10-12 09:22:33 +08:00
Hongze Cheng 142d111c19
Merge pull request #28307 from taosdata/fix/TD-32505
fix mem leak
2024-10-12 08:40:46 +08:00
yihaoDeng 514b04a6bd Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 16:43:56 +08:00
54liuyao ef0782d378 fix(stream): check reload function 2024-10-11 15:27:29 +08:00
Haojun Liao cd7734735b
Merge pull request #28299 from taosdata/fix/ly_stream
fix(stream):check release function of stream
2024-10-11 15:21:00 +08:00
yihaoDeng dc9027bb90 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 11:13:36 +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
yihaoDeng ca3aee591f fix mem leak 2024-10-11 09:15:09 +08:00
Shengliang Guan 2076a6b5f5 Merge branch 'feat/anode7' into feat/anode8 2024-10-10 21:06:48 +08:00
54liuyao 91cb5aa919 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/ly_stream 2024-10-10 19:11:12 +08:00
wangmm0220 a9f393aa56 fix:[TS-5441] conflicts from 3.0 2024-10-10 18:32:25 +08:00
wangmm0220 42b7520d34 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-10 18:27:42 +08:00
yihaoDeng 486b559167 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-10 18:13:10 +08:00
54liuyao 1ce919b5b7 fix(stream):check release function of stream 2024-10-10 17:17:21 +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
Haojun Liao 928b123612
Merge pull request #28280 from taosdata/fix/TD-32437
add limit on number fo history window
2024-10-10 15:02:51 +08:00
Shengliang Guan 8d15823d43 Merge remote-tracking branch 'origin/3.0' into feat/anode3 2024-10-10 11:36:27 +08:00
dapan1121 01a4256d0a fix: add merge join 2024-10-10 11:32:37 +08:00
54liuyao 9f72bd7e70 add limit on number fo history window 2024-10-10 10:42:04 +08:00
yihaoDeng 1ba3178a85 add config 2024-10-09 20:11:56 +08:00
yihaoDeng e58f667611 add config 2024-10-09 20:11:21 +08:00
54liuyao 669c3aa4db fix windows ci issue 2024-10-09 19:48:24 +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 6ab7eff6ea feat: enable analysis 2024-10-09 19:21:57 +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
wangmm0220 e6bf8dcfde enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-09 18:10:43 +08:00
54liuyao 69b8505a8d fix ci issue 2024-10-09 17:49:24 +08:00
Shengliang Guan 22f50c4bbf feat: analysis operator 2024-10-09 17:46:40 +08:00
Shengliang Guan 4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
54liuyao 8709a12ce2 fix ci issue 2024-10-09 17:00:09 +08:00
54liuyao e6f11c180c fix ci issue 2024-10-09 16:03:09 +08:00
lyh250-666 676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
dapan1121 ff5e7556c4 enh: add merge join ut 2024-10-09 14:29:56 +08:00
54liuyao 58d8b9f84e fix ci issue 2024-10-09 11:32:20 +08:00
54liuyao 609fb0b198 fix ci issue 2024-10-09 10:19:31 +08:00
54liuyao 67237ae615 fix ci issue 2024-10-09 10:07:39 +08:00
54liuyao 1353614dc2 fix ci issue 2024-10-09 10:02:52 +08:00
Jing Sima 8acdbe597d fix:[TD-32372] Clean up in a right way. 2024-10-09 09:26:57 +08:00
54liuyao 1e5a9870ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 09:05:25 +08:00
dapan1121 0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
dapan1121 e51199d541 fix: data deleter memory leak issue 2024-10-08 15:16:48 +08:00
dapan1121 bde18abb60 enh: add projection plan 2024-09-30 18:07:14 +08:00
54liuyao c9308e7482 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 17:12:25 +08:00
dapan1121 1b6bb5e4b9 fix: random test issues 2024-09-30 16:30:47 +08:00
Pan Wei 76f7d4a702
Merge pull request #28209 from taosdata/fix/TD-32401/mem
fix: mem  free
2024-09-30 16:20:29 +08:00
xsren 8db52fbf97 fix: mem free 2024-09-30 13:58:28 +08:00
54liuyao 2a6e0ed386 calculate stream fill row buff size 2024-09-30 11:33:44 +08:00
dapan1121 c18da7f273 Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-09-30 09:55:09 +08:00
dapan1121 1143adce33 fix: add random case 2024-09-30 09:54:37 +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
Haojun Liao 4173144ded fix(stream): return value. 2024-09-29 22:59:18 +08:00
Haojun Liao f8b46586ed
Merge pull request #28180 from taosdata/fix/TD-32391
fix(stream):fix issue for stream count window state buff
2024-09-29 17:44:14 +08:00
dapan1121 a068f807a2 fix: add random test case 2024-09-29 17:04:57 +08:00
Pan Wei ef18811654
Merge pull request #28170 from taosdata/fix/TD-32360-3.0
fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
2024-09-29 17:01:10 +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
Jinqing Kuang f5c9bf9b5d fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
When extracting data from the sort source, an error may cause a long
jump to the outermost execution layer. This leads to a local variable in
createBlocksQuickSortInitialSources not being released, resulting a
memory leak. This fix ensures proper resource cleanup in such cases to
prevent leaks.
2024-09-29 14:53:21 +08:00
54liuyao 7517228dde fix(stream):fix issue for stream count window state buff 2024-09-29 14:16:16 +08:00
Jing Sima 5a2c78daa2 fix:[TD-32385] Return true errcode when error occurs. 2024-09-29 10:09:15 +08:00
54liuyao 370fb56a0d add ci 2024-09-27 18:24:28 +08:00
dapan1121 65985c7aaa enh: add tag scan test 2024-09-27 18:08:36 +08:00
Shungang Li 10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Haojun Liao e134ed1c99 refactor: do some internal refactor. 2024-09-27 17:19:11 +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
Pan Wei 1be93844ef
Merge pull request #28153 from taosdata/fix/TD-32353-3.0
fix(query)[TD-32353]. Fix error handling during tag scan
2024-09-27 15:20:51 +08:00
Pan Wei dc7f309f85
Merge pull request #28130 from taosdata/fix/3.0/TD-32334
fix:[TD-32334] Generate correct time window when using interp with fill next and linear.
2024-09-27 15:06:51 +08:00
Haojun Liao 5780740623
Merge pull request #28149 from taosdata/fix/syntax
fix(query): fix memory leak.
2024-09-27 14:55:16 +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
54liuyao df8cfa65c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-27 11:37:37 +08:00
xinsheng Ren 8ee207881f
Merge branch '3.0' into enh/TD-32203/taosndup 2024-09-27 09:52:40 +08:00
Haojun Liao b1942889d8 refactor: remove unused code. 2024-09-27 09:34:46 +08:00
Haojun Liao 64cb7a1d5e fix(query): fix memory leak. 2024-09-27 09:27:58 +08:00
Jing Sima 77e63d0922 fix:[TD-32334] Generate correct time window when using interp with fill next and linear. 2024-09-27 09:08:17 +08:00
xsren 9972357c17 file function result 2024-09-26 18:13:52 +08:00
dapan1121 8be15d5b13 enh: add plan test cases 2024-09-26 16:29:57 +08:00
54liuyao 459a53c20b enh:optimize code 2024-09-26 14:51:57 +08:00
Haojun Liao 09600132ec other: merge 3.0 2024-09-26 09:59:29 +08:00
Pan Wei 6d8ab955cf
Merge pull request #28094 from taosdata/fix/3.0/TD-32310
fix:[TD-32310] Avoid access null pointer when error occurs..
2024-09-26 09:50:13 +08:00
54liuyao 818a1f6a81 adj code 2024-09-25 16:53:06 +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 8d02e3e310 fix:[TD-32310] Avoid access null pointer when error occurs.. 2024-09-25 11:15:48 +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
54liuyao cc3ec61089 add ci and fix issue 2024-09-25 10:29:55 +08:00
Pan Wei 159a625cc1
Merge pull request #28051 from taosdata/fix/TD-32258-3.0
fix(query)[TD-32258]. Fix error handling in operator interface functions
2024-09-25 09:45:08 +08:00
Haojun Liao 3c7f718210 fix(query): check for null ptr. 2024-09-25 09:37:23 +08:00
Haojun Liao 922b0681ea fix(query): check for null ptr. 2024-09-24 19:38:49 +08:00
54liuyao 2d56c8f058 fix issue & add log 2024-09-24 19:34:34 +08:00
54liuyao 72bd34a6b2 Merge branches '3.0' and 'fix/TD-32265' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 19:25:05 +08:00
Haojun Liao cc6daa0855 Merge branch '3.0' into fix/3_liaohj 2024-09-24 19:14:50 +08:00
Jinqing Kuang 7f3c6c5e97 fix(query)[TD-32259]. Fix error handling in merge sort
- Ensure proper release of allocated datablocks on error
- Address potential double free issue
2024-09-24 19:06:20 +08:00
Haojun Liao c1333a920d fix(query): check for null. 2024-09-24 18:58:49 +08:00
Haojun Liao 4e4003c5a7 Merge branch '3.0' into fix/3_liaohj 2024-09-24 18:36:18 +08:00
Haojun Liao 2b78b660bd refactor: update the error logs. 2024-09-24 18:19:47 +08:00
Jinqing Kuang 83f1a590b0 fix(query)[TD-32258]. Fix error handling in operator interface functions
- Contain errors within individual operators, preventing error
  propagation to upper-level operators
- Use longjmp to jump directly to the outermost error handler
  for unresolvable issues, avoiding unnecessary error code
  returns through multiple layers
- Simplify error-handling logic for better maintainability
2024-09-24 18:15:14 +08:00
54liuyao db50c9230a fix issue 2024-09-24 16:58:46 +08:00
54liuyao 9764d210a8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 16:30:01 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
54liuyao 8eff35cd77 fix(stream):rebuild stream event window 2024-09-24 14:33:53 +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 c26385d19f
Merge pull request #28025 from taosdata/fix/3.0/TD-32262
fix:[TD-32262] Avoid mem leak when error occurs.
2024-09-23 16:09:50 +08:00
Pan Wei 5d83ea76dc
Merge pull request #28022 from taosdata/fix/TD-32256
fix: memory leak in group cache issue
2024-09-23 15:33:07 +08:00
Jing Sima 23b525458e fix:[TD-32262] Avoid mem leak when error occurs. 2024-09-23 13:50:55 +08:00
dapan1121 5bdb9ce563 fix: compile issue 2024-09-23 11:35:43 +08:00
Haojun Liao 2f698f525e
Merge pull request #28003 from taosdata/fix/ly_stream_3.0
fix(stream):fix issue for stream operator decode
2024-09-23 11:11:41 +08:00
dapan1121 d2d6a6078a fix: memory leak in group cache issue 2024-09-23 10:23:41 +08:00
Hongze Cheng ec143691ef
Merge pull request #28012 from taosdata/fix/fixMemleak
Fix/fixMemleak
2024-09-23 10:19:08 +08:00
54liuyao a0e7791e49 fix issue 2024-09-23 10:13:42 +08:00
Pan Wei 3a7c03e2d8
Merge pull request #28005 from taosdata/fix/TD-32196-3.0
fix(query)[TD-32196]. Fix error code handling in group sort
2024-09-23 09:53:06 +08:00
yihaoDeng 962d77db62 fix mem leak 2024-09-20 18:24:46 +08:00
54liuyao b9c39b59fc Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-09-20 18:03:32 +08:00
Pan Wei 918a20a9fd
Merge pull request #27993 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-20 17:26:58 +08:00
54liuyao 681b20bdfb fix(stream):fix issue for stream operator decode 2024-09-20 16:41:14 +08:00
Jinqing Kuang 0dacdff1f3 fix(query)[TD-32196]. Fix error code handling in group sort 2024-09-20 16:37:50 +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
54liuyao ecaa66e53f set watermark and interval 2024-09-20 15:30:44 +08:00
lyh250-666 e45edbbda2 enh:modify error code passing 2024-09-20 15:20:04 +08:00
lyh250-666 116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
dapan1121 7bbe197e47 enh: add query plan test 2024-09-20 08:49:02 +08:00
54liuyao a032de131b fix issue 2024-09-19 19:42:23 +08:00
54liuyao 2938233519 Merge branch 'fix/TD-30837' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-19 19:07:41 +08:00
54liuyao f71b14da13 fix(stream):set correct primary key column index 2024-09-19 18:39:00 +08:00
Haojun Liao c5eca0486e Merge remote-tracking branch 'origin/fix/TD-30837' into fix/TD-30837
# Conflicts:
#	source/dnode/vnode/src/tq/tq.c
#	source/libs/stream/inc/streamInt.h
#	source/libs/stream/src/streamSched.c
2024-09-19 16:39:54 +08:00
Pan Wei 380470bceb
Merge pull request #27918 from taosdata/enh/TD-32130-3.0
enh(query)[TD-32130]. Handle return values of memory allocation functions
2024-09-19 16:32:08 +08:00
Haojun Liao e1d8e98b11 feat(stream): support the force_window_close trigger. 2024-09-19 16:23:51 +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
Haojun Liao eb5ee966a3
Merge pull request #27915 from taosdata/fix/TD-32138
fix(stream):fix mem leak and  adj malloc res
2024-09-19 13:51:48 +08:00
Pan Wei c40d31a105
Merge pull request #27925 from taosdata/fix/TD-32131
fix: group cache retrieve block failed issue
2024-09-19 10:20:15 +08:00
Pan Wei 9742c11039
Merge pull request #27943 from taosdata/fix/TD-32162
fix: memory init issue
2024-09-19 10:20:06 +08:00
Hongze Cheng c0b3cc17fc
Merge pull request #27899 from taosdata/enh/TD-32121-3.0
enh: retrieveRows no more if got all data
2024-09-19 09:12:14 +08:00
Jinqing Kuang 4b46c4c1fc enh(query)[TD-32130]. Handle return values of memory allocation functions 2024-09-19 09:06:01 +08:00
dapan1121 315aad8834 fix: memory init issue 2024-09-18 18:36:21 +08:00
54liuyao 442bf96b87 add check 2024-09-18 17:24:00 +08:00
54liuyao bfb66d5486 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-09-18 16:55:30 +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
dapan1121 41f8f211f0 fix: group cache retrive block failed issue 2024-09-18 14:17:02 +08:00
54liuyao b8cd739383 add ci and fix issue 2024-09-18 11:08:47 +08:00
Pan Wei 7a33fb7c9f
Merge pull request #27900 from taosdata/fix/memCheck
pointer check
2024-09-18 11:01:50 +08:00
54liuyao 19a51d82eb fix(stream):fix mem leak and malloc res 2024-09-18 10:58:27 +08:00
Pan Wei eb32a41c29
Merge pull request #27902 from taosdata/fix/memoryAllocCheck
Fix: memory alloc check
2024-09-18 08:55:41 +08:00
xsren f684e12c27 pointer check 2024-09-14 18:11:36 +08:00
Haojun Liao 5f486d6976 Merge branch '3.0' into fix/3_liaohj 2024-09-14 17:29:29 +08:00
dapan1121 1ccc74d768 fix: add memory alloc validation 2024-09-14 17:28:24 +08:00
Shungang Li 0fd4928dc2 enh: retrieveRows no more if got all data 2024-09-14 17:02:38 +08:00
Haojun Liao b78cbb7dc5
Merge pull request #27888 from taosdata/fix/ly_stream
fix(stream):adj build file state res
2024-09-14 13:50:51 +08:00
Haojun Liao b494163f28 refactor: check return value. 2024-09-14 13:39:23 +08:00
Pan Wei 42abc16774
Merge pull request #27816 from taosdata/enh/TD-31903-3.0
enh(query)[TD-31903]. Handle return values for function calls
2024-09-14 11:28:19 +08:00
54liuyao b649f1f1c4 fix(stream):adj build file state res 2024-09-14 10:51:57 +08:00
Haojun Liao 1a90e9612d refactor: check return value. 2024-09-13 23:04:41 +08:00
Pan Wei 571a704cdc
Merge pull request #27805 from taosdata/fix/TD-31962
fix:[TD-31962]memory leak by crash_gen
2024-09-13 15:34:16 +08:00
Jinqing Kuang 0cb4c927ec enh(query)[TD-31903]. Handle return values for function calls 2024-09-13 11:45:59 +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
Pan Wei 12d8dfc801
Merge pull request #27829 from taosdata/fix/TD-31870/os2
semphore
2024-09-13 10:59:53 +08:00
wangmm0220 3c8ae1fc9f fix:[TD-31962]memory leak by crash_gen 2024-09-13 09:27:11 +08:00
Pan Wei 527283a7e8
Merge pull request #27824 from taosdata/fix/ly_res
fix(query):use window start key when ts column is null
2024-09-13 08:50:23 +08:00
Pan Wei 446d3ab97c
Merge pull request #27849 from taosdata/fix/TD-31896
fix: function return code issue
2024-09-13 08:41:28 +08:00
Haojun Liao c13248dd4e refactor: remove void. 2024-09-12 19:23:05 +08:00
dapan1121 007b64a3c1 fix: void function call issue 2024-09-12 15:48:07 +08:00
54liuyao aa80aa39bc fix(query):use window start key when ts column is null 2024-09-12 15:34:57 +08:00
dapan1121 a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
Hongze Cheng 3cbe6cfce1
Merge pull request #27817 from taosdata/fix/TD-31991
fix meta dead lock
2024-09-12 09:43:41 +08:00
54liuyao 7c32cc7796 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-12 09:08:40 +08:00
Pan Wei b795638456
Merge pull request #27760 from taosdata/fix/3.0/TD-31974
fix:[TD-31974] fix memory leak when error occurs after mode function init
2024-09-12 08:44:08 +08:00
Haojun Liao 3297c59dcd
Merge pull request #27821 from taosdata/fix/syntax
fix(query): fix race condition for table group list.
2024-09-12 00:28:57 +08:00
xsren e226898e17 semphore 2024-09-11 20:36:03 +08:00
Pan Wei e4d218cddf
Merge pull request #27811 from taosdata/fix/TS-5400
fix(query):fix the issue of return db error when the timestamp is 0
2024-09-11 18:51:04 +08:00
Haojun Liao 2bb9dc609a fix(query): fix race condition for table group list. 2024-09-11 18:18:44 +08:00
Pan Wei 8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +08:00
yihaoDeng 9b418bee78 fix meta dead lock 2024-09-11 16:37:06 +08:00
Pan Wei 798718e903
Merge pull request #27793 from taosdata/fix/TD-31948
fix: block data shrink issue
2024-09-11 16:32:58 +08:00
54liuyao 5cfe7b8ec9 fix(query):fix the issue of return db error when the timestamp is 0 2024-09-11 14:58:06 +08:00
Jing Sima d670778802 fix:[TD-31974] fix memory leak when error occurs after mode function init. 2024-09-11 14:47:14 +08:00
wangmm0220 1850f3fb52 fix:[TD-31962]memory leak by crash_gen 2024-09-11 11:51:02 +08:00
xsren aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
dapan1121 dc983b9a39 fix: add block data check 2024-09-10 16:56:36 +08:00
xsren aa5683cfd9 osfile 2024-09-10 14:55:14 +08:00
54liuyao bb785ce53e fix(query):set scan flag info 2024-09-10 14:47:42 +08:00
xsren 2a3917029f osFile 2024-09-10 11:29:50 +08:00
dapan1121 b57cd27827 enh: add block check 2024-09-09 18:20:00 +08:00
54liuyao dc0b2fb614 remove assert 2024-09-09 18:00:55 +08:00
54liuyao 75727e47b5 remove assert 2024-09-09 17:58:40 +08:00
54liuyao 88d01d8980 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-09 11:21:23 +08:00
Haojun Liao 46246c47bb
Merge pull request #27729 from taosdata/fix/3_liaohj
fix(query): fix memory leak and do some internal refactor.
2024-09-08 18:24:05 +08:00
Haojun Liao dfcff062e3
Merge pull request #27741 from taosdata/fix/syntax
fix(stream): reset error code.
2024-09-08 18:23:47 +08:00
Haojun Liao 199de25410 fix(stream): fix syntax error. 2024-09-08 15:17:08 +08:00
Haojun Liao 23ccbbdda5 fix(stream): fix syntax error. 2024-09-08 15:10:54 +08:00
Haojun Liao b3e5997336 fix(stream): reset error code. 2024-09-08 14:54:08 +08:00
dapan1121 cbafc37880 fix: memory leak in dispatcher 2024-09-07 17:19:20 +08:00
Haojun Liao 370ba19062 fix(query): fix memory leak. 2024-09-06 17:30:31 +08:00
Haojun Liao 6470cfc26e fix(query): fix memory leak. 2024-09-06 15:58:52 +08:00
Haojun Liao 7bf9ca8e82 refactor: remove invalid code. 2024-09-06 15:48:28 +08:00
Haojun Liao 0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
Haojun Liao 8a1d527da9 refactor: adjust log. 2024-09-06 13:58:03 +08:00
Haojun Liao 482eab9666 refactor: adjust log. 2024-09-06 13:45:15 +08:00
54liuyao 7501c5a865 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-06 13:26:23 +08:00
Haojun Liao f67e7d2b63 refactor: do some internal refactor. 2024-09-06 11:32:54 +08:00
Pan Wei 87476b3ffc
Merge pull request #27627 from taosdata/fix/TD-31830_debug
fix: tag scan return code issue
2024-09-06 09:59:41 +08:00
Haojun Liao 2544f0313e
Merge pull request #27672 from taosdata/fix/ly_res
enh(query):remove void for operator
2024-09-06 09:49:10 +08:00
Haojun Liao 1e57724533
Merge pull request #27688 from taosdata/fix/3_liaohj
fix(stream): handle continuous retrieve during checkpoint procedure.
2024-09-06 09:11:08 +08:00
54liuyao 7cd34dddf5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-05 17:52:55 +08:00
54liuyao ff3db4cd9e fix(stream):set null for invalid column 2024-09-05 17:32:27 +08:00
Haojun Liao 277528996e fix(stream): handle continuous retrieve during checkpoint procedure. 2024-09-05 16:04:36 +08:00
yihaoDeng 2e3e5d0a99 fix mem leak 2024-09-05 14:40:14 +08:00
54liuyao 27446f8df1 fix(query):free data block 2024-09-04 19:01:14 +08:00
54liuyao d3e4203dcb enh(query):remove void for operator 2024-09-04 18:37:41 +08:00
54liuyao a9fe796484 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/ly_res 2024-09-04 16:15:06 +08:00
54liuyao f5b6e800f3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-04 10:56:36 +08:00
Pan Wei 7ada20aa8e
Merge pull request #27617 from taosdata/fix/TD-31838/freeError
fix: free invalid mem
2024-09-04 09:24:10 +08:00
54liuyao 43390b1c36 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-04 09:20:11 +08:00
Pan Wei 1e977a324e
Merge pull request #27654 from taosdata/fix/3.0/TD-31818
fix:[TD-31818] fix memory leak allocated by mode function.
2024-09-04 09:16:12 +08:00
facetosea 73fb43de2a only for memLeak 2024-09-04 07:11:51 +08:00
54liuyao 4e27f5f9d5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/ly_res 2024-09-03 19:12:16 +08:00
Pan Wei aeb6fa9b25
Merge pull request #27613 from taosdata/fix/3.0/TD-31682-TD-31793
fix querytask.c memory leak when random malloc error
2024-09-03 18:30:22 +08:00
Pan Wei 090e8d9921
Merge pull request #27630 from taosdata/enh/TD-31691
enh:modify error code passing in libs/executor/
2024-09-03 18:23:21 +08:00
54liuyao 2b6dc42d0e fix fill next's issue 2024-09-03 17:54:07 +08:00
Jing Sima 02dd9c9160 fix:[TD-31818] fix memory leak allocated by mode function. 2024-09-03 17:34:23 +08:00
54liuyao e2b2085052 fix(query):check scan operator error code 2024-09-03 13:44:35 +08:00
54liuyao aaad472f58 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-03 13:38:07 +08:00
lyh250-666 9c8f630759 enh:modify error code passing in libs/executor/ 2024-09-03 11:01:02 +08:00
54liuyao 54f81fa1f8 add log 2024-09-03 09:49:37 +08:00
54liuyao d4062efa1c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-03 09:29:41 +08:00
54liuyao a0a1414af5 fix issue 2024-09-03 09:23:42 +08:00
wangjiaming0909 38e8d9f2fa fix querytask.c memory leak when random malloc error
remove (void)
2024-09-03 09:13:40 +08:00
dapan1121 b939a9daab fix: return code issue 2024-09-03 08:35:24 +08:00
dapan1121 cd04e9e39d fix: downstream free issue 2024-09-02 18:52:11 +08:00
54liuyao ae158487b7 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31833 2024-09-02 16:00:50 +08:00
xsren a673f500b8 fix: free invalid mem 2024-09-02 15:12:47 +08:00
Pan Wei 51678350cd
Merge pull request #27595 from taosdata/fix/3.0/TD-31828
fix:[TD-31828] fix crash in mode function.
2024-09-02 14:16:22 +08:00
54liuyao f1cbd426d6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-02 13:53:32 +08:00
54liuyao 983962238e fix(query):fix query operator memory leak 2024-09-02 13:46:21 +08:00
Jing Sima c2d9178bf0 fix:[TD-31828] fix crash in mode function. 2024-09-02 10:25:23 +08:00
dapan1121 39293899e3 fix: cache value double free issue 2024-09-02 10:22:54 +08:00
Haojun Liao 4c91928db3
Merge pull request #27554 from taosdata/fix/syntax
refactor: remove assert
2024-08-31 15:57:27 +08:00
dapan1121 d1013b20f9 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-30 18:26:26 +08:00
54liuyao 9d8e8892b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-30 16:04:09 +08:00
Haojun Liao 82ad1958f4 fix(query): fix memory leak. 2024-08-30 10:30:16 +08:00
Haojun Liao 9aac625068 Merge branch '3.0' into fix/3_liaohj 2024-08-30 10:20:37 +08:00
Haojun Liao 5a5bfa5b8c fix(query): fix memory leak. 2024-08-30 10:19:16 +08:00
Pan Wei a22025ea00
Merge pull request #27553 from taosdata/fix/TD-31775/memLeak
fix: free operator
2024-08-30 09:26:53 +08:00
Pan Wei 759ab30366
Merge pull request #27545 from taosdata/fix/removeassert
fix: remove asserts
2024-08-30 08:47:08 +08:00
Haojun Liao fb8867f403 refactor: remove assert. 2024-08-29 19:55:09 +08:00
xsren d43df78537 fix: free operator 2024-08-29 19:43:59 +08:00
54liuyao 694a454f40 Merge branch '3.0' of github.com:taosdata/TDengine into fix/ly_res 2024-08-29 16:20:25 +08:00
Hongze Cheng 222979402d
Merge pull request #27441 from taosdata/fix/TD-31163-3.0
fix: memory leak of geos
2024-08-29 16:20:14 +08:00
54liuyao 925b288945 limit the number of stream results 2024-08-29 16:00:40 +08:00
54liuyao 01e8fc583d fix(query):adj error code for aggretate operator 2024-08-29 16:00:26 +08:00
dapan1121 feb1c8518e fix: remove asserts 2024-08-29 15:08:38 +08:00
Hongze Cheng 3342dcf43c
Merge pull request #27492 from taosdata/enh/TD-31603
change log qid
2024-08-29 09:30:05 +08:00
kailixu 31ac2c26ce Merge branch '3.0' into fix/TD-31163-3.0 2024-08-28 19:12:46 +08:00
Pan Wei 7d97190b33
Merge pull request #27506 from taosdata/fix/TD-31754
fix(query):init SExprInfo instance first
2024-08-28 15:41:44 +08:00
54liuyao 7361d95516 adj error code 2024-08-28 14:07:55 +08:00
Haojun Liao 09e31670ce
Merge pull request #27495 from taosdata/fix/syntax
fix(query): fix memory leak.
2024-08-28 11:58:03 +08:00
54liuyao 1aa2d87f8a add log 2024-08-28 11:11:45 +08:00
Haojun Liao 21f60d1784 fix(query): set correct result ptr check. 2024-08-28 10:52:14 +08:00