Commit Graph

1954 Commits

Author SHA1 Message Date
Pan Wei 8da5b891f5
Merge pull request #27691 from taosdata/fix/3.0/TD-31909
fix:[TD-31909] Avoid double free when error occurs in mode function.
2024-09-06 11:21:08 +08:00
Jing Sima ede112d39d fix:[TD-31909] Avoid double free when error occurs in mode function. 2024-09-05 17:25:31 +08:00
Jing Sima 87130db0e4 fix:[TD-31889] extend result buf size for percentile function to handle large double value. 2024-09-04 18:33:14 +08:00
Jing Sima 02dd9c9160 fix:[TD-31818] fix memory leak allocated by mode function. 2024-09-03 17:34:23 +08:00
lyh250-666 28d0dc8e5b modify error code pass in libs/catalog/, libs/function/ and libs/command/ 2024-09-02 22:59:49 +08:00
Jing Sima 46b1d9eb07 fix:[TD-31818] fix memory leak allocated by mode function. 2024-08-31 19:48:11 +08:00
dapan1121 0953983d26 fix: validate to_iso8601 parameters 2024-08-30 09:16:41 +08:00
xsren 95f283485a fix: tudf lock 2024-08-29 10:09:42 +08:00
xsren 4b872f849c fmFuncDynDataRequired: only return state 2024-08-27 17:07:13 +08:00
xsren 3b1a1ed2cd udf function required data load 2024-08-27 13:25:33 +08:00
xsren 809932b283 fix: reqStatus 2024-08-27 12:52:50 +08:00
xsren c60ea644e3 fix: return 2024-08-27 11:49:28 +08:00
xsren 3fb4dbbec4 fix: check the result of array init 2024-08-22 17:12:14 +08:00
xsren b06d16162d fix: tudf crash 2024-08-20 15:21:14 +08:00
sima 5fb431aff4 enh:[TD-31525] Remove ASSERT in libs/function. 2024-08-19 16:58:13 +08:00
sima 3c3507f283 fix:[TD-31503] Return null when expr in timediff is null, and use ms as default time_unit when time_unit is null. 2024-08-16 15:54:07 +08:00
sima f2dcd3f16a fix:[TD-31470] Fix replace function wrong length. 2024-08-15 15:29:27 +08:00
sima 1d77ea76e8 feat:[TS-4893] Backward Compatibility. 2024-08-14 09:19:25 +08:00
sima a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
sima 80bb0d7cf8 fix:[TD-31405] Return correct error code in spread function. 2024-08-13 14:41:19 +08:00
Haojun Liao 73308bcdb5
Merge pull request #27029 from taosdata/fix/3.0/TS-5259
cancel md5 generation for performance when creating physical plan
2024-08-09 13:42:14 +08:00
dapan1121 905d1eb762
Merge pull request #26972 from taosdata/fix/TD-29679/l2cache
Fix/td 29679/l2cache
2024-08-08 16:51:44 +08:00
wangjiaming0909 5d4569ce75 replace sprintf with strcat 2024-08-08 08:59:16 +08:00
xsren bec6dfe16b return value 2024-08-07 16:51:39 +08:00
yihaoDeng 66753111c9 fix return error 2024-08-06 16:52:28 +08:00
sima eec71bcd84 fix:[TD-31079] Reduce memory usage of percentile function. 2024-08-05 17:26:25 +08:00
xsren db47d2f8ab fix: udfd close 2024-08-01 14:05:28 +08:00
Haojun Liao d89dac8697 other: merge 3.0 2024-07-29 18:16:04 +08:00
dapan1121 59c3d3c5e5
Merge pull request #26818 from taosdata/enh/TD-30996-fix
enh:[TD-30996] Handling return value
2024-07-29 08:51:01 +08:00
Haojun Liao 878d77fc7f fix(query): check return value. 2024-07-29 01:42:30 +08:00
Haojun Liao 18f5b323c9 other: merge 3.0 2024-07-28 23:53:52 +08:00
dapan1121 d82c945663
Merge pull request #26813 from taosdata/enh/code/TD-30977
return value: udf
2024-07-28 21:45:31 +08:00
sima 77f97d2a6d enh:[TD-30996] Handling return value 2024-07-28 18:29:57 +08:00
Haojun Liao 75c121c18a fix(query): check return value. 2024-07-28 14:29:56 +08:00
Haojun Liao 7be2ecbe1f fix(common): check the return value. 2024-07-27 18:55:34 +08:00
xsren 911e6380b9 return value: udf 2024-07-27 18:33:08 +08:00
wangjiaming0909 6d283470fc util simplehash/tpagedbuf/losertree add ret check 2024-07-26 17:57:29 +08:00
wangjiaming0909 d35bdba180 fix parser/planner/nodes ret check ci 2024-07-26 17:57:29 +08:00
wangjiaming0909 1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
Hongze Cheng eaa3634764 enh: refactor error code 2024-07-25 08:51:19 +08:00
sima dc23446d6b enh:[TD-31063] use properer errcode. 2024-07-23 15:37:17 +08:00
sima 0473225362 enh:[TD-31063] Handling return value of serialize/deserialize. 2024-07-23 15:37:17 +08:00
sima de0fa610f8 enh:[TD-31043] Handling return value of taoshash and taosarray 2024-07-23 15:37:17 +08:00
sima 1285100f68 enh:[TD-31043] Handling return value in functionMgt.c 2024-07-23 15:37:17 +08:00
sima 06431b1249 enh:[TD-31043] Handling return value in tminmax.c 2024-07-23 15:37:17 +08:00
sima 8b50b282b4 enh:[TD-31043] Handling return value in tavgfunction.c 2024-07-23 15:37:17 +08:00
sima 2a6a1b620c enh:[TD-31043] Handling return value in tpercentile.c 2024-07-23 15:37:17 +08:00
sima ed892e5061 enh:[TD-31043] Handling return value in thistogram.c 2024-07-23 15:37:17 +08:00
sima 6a9441528a enh:[TD-31043] Handling return value in builtinsimpl.c 2024-07-23 15:37:17 +08:00
sima efa518f624 enh:[TD-31043] Handling return value in builtins.c 2024-07-23 15:37:17 +08:00