Commit Graph

1992 Commits

Author SHA1 Message Date
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
Pan Wei 8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +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
xsren aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
54liuyao 77ffe89bf6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-10 10:22:20 +08:00
Jing Sima 4a8bbc36bd feat:[TS-4893] refactor of rand function. 2024-09-09 18:48:24 +08:00
Jing Sima a249bef104 feat:[TS-4893] Add random and support use min/max on string column. 2024-09-09 18:48:24 +08:00
Pan Wei 1238960c75
Merge pull request #27750 from taosdata/fix/TD-31946.2
fix: percentile empty result issue
2024-09-09 15:46:27 +08:00
Hongze Cheng 8c64b1049c
Merge pull request #27749 from taosdata/enh/TD-31803-11
enh: error handle in message encode and decode
2024-09-09 14:47:14 +08:00
Pan Wei 07424b7a06
Merge pull request #27719 from taosdata/fix/TD-31790/errCheck
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-09 14:10:20 +08:00
Hongze Cheng a260a5f2f7 enh: error handle in message encode and decode 2024-09-09 11:49:44 +08:00
dapan1121 8308a42c0c fix: percentile empty result issue 2024-09-09 11:31:32 +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 88b0d10dfe
Merge pull request #27696 from taosdata/fix/TD-31923/crash
Fix/td 31923/crash
2024-09-06 18:02:01 +08:00
Haojun Liao 9150c0b07e
Merge pull request #27673 from taosdata/enh/TD-31902
enh:[TD-31902] Remove void.
2024-09-06 15:46:29 +08:00
xsren 3fb89fb814 fix: distinguish the calling scenarios of the metaGetTbTSchema function 2024-09-06 14:16:58 +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
xsren aa526fe13a unused code 2024-09-06 11:54:22 +08:00
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 dde0ad1e54 enh:[TD-31902] Remove void. 2024-09-06 10:38:10 +08:00
xsren 0a118243ea fix: free invalid hash 2024-09-06 09:38:23 +08:00
xsren 46355de7f9 fix: crash 2024-09-05 17:30:46 +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
54liuyao f5b6e800f3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-04 10:56:36 +08:00
Jing Sima 02dd9c9160 fix:[TD-31818] fix memory leak allocated by mode function. 2024-09-03 17:34:23 +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 28d0dc8e5b modify error code pass in libs/catalog/, libs/function/ and libs/command/ 2024-09-02 22:59:49 +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
Jing Sima 46b1d9eb07 fix:[TD-31818] fix memory leak allocated by mode function. 2024-08-31 19:48:11 +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
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
54liuyao 7efb648a5f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-23 14:49:32 +08:00
xsren 3fb4dbbec4 fix: check the result of array init 2024-08-22 17:12:14 +08:00
54liuyao 3583237942 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-22 14:47:16 +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
54liuyao 141de6e19b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-14 19:21:59 +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
54liuyao fd0f117544 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-12 09:37:43 +08:00