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
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
Shengliang Guan
3ad2eb939c
fix: unitest error
2024-10-10 11:54:32 +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
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
Jing Sima
3924b1fbc6
enh:[TD-32414] replace unsafe function in scalar and function.
2024-10-09 17:02:01 +08:00
lyh250-666
676f8759e2
enh:modify error code passing
2024-10-09 15:37:00 +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
18bc5a048f
taosStrndup
2024-09-26 14:46: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
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
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
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
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
Jing Sima
d670778802
fix:[TD-31974] fix memory leak when error occurs after mode function init.
2024-09-11 14:47:14 +08:00
Jing Sima
64bb49e0db
fix:[TS-5839] Fix crash when use last function on a column with all null value with partition subclause.
2024-09-11 13:49:06 +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
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
xsren
3fb89fb814
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-06 14:16:58 +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
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
sima
5fb431aff4
enh:[TD-31525] Remove ASSERT in libs/function.
2024-08-19 16:58:13 +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
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
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
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
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
xsren
2a675ccf6b
group const value func
2024-07-22 11:19:11 +08:00
xsren
b72792e20e
unuesd code
2024-07-22 08:48:26 +08:00