Commit graph

665 commits

Author SHA1 Message Date
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
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
dapan1121
0953983d26 fix: validate to_iso8601 parameters 2024-08-30 09:16:41 +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
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
sima
efa518f624 enh:[TD-31043] Handling return value in builtins.c 2024-07-23 15:37:17 +08:00
xsren
2a675ccf6b group const value func 2024-07-22 11:19:11 +08:00
xsren
ebe0074da4 fix: interp crash 2024-07-22 00:06:47 +08:00
factosea
28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
factosea
5f0ac46029 diff 2024-07-04 11:04:59 +08:00
sima
5685346d78 fix:[TD-30730] Modify precision rules for input parameters of function to_iso8601 and add test. 2024-06-27 08:42:59 +08:00
dapan1121
7809533c79 enh: eliminate not null condition 2024-05-06 13:45:16 +08:00
dapan1121
90c0bb53c9 enh: eliminate cond 2024-05-06 09:30:55 +08:00
wangjiaming0909
cb008f18dc usable tsma 2024-04-29 09:18:40 +08:00
wangjiaming0909
f971cfb778 1. fix stream wrong group id for new child tables.
2. fix md5 function wrong bytes returned
2024-04-22 14:00:06 +08:00
wangjiaming0909
1978a06e6e merge with 3.0 2024-04-16 14:27:06 +08:00
wangjiaming0909
f6200dd923 support long ctb names 2024-04-16 14:25:34 +08:00
wangjiaming0909
6ce0616ffd fix ci and TODOs 2024-04-16 14:25:34 +08:00
wangjiaming0909
a2cbbba24d find TODO 2024-04-16 14:23:26 +08:00
wangjiaming0909
34dbdfd4dc support stddev and hyperloglog for tsma 2024-04-16 14:23:25 +08:00
wangjiaming0909
40a7262fcd support spread 2024-04-16 14:23:25 +08:00
wangjiaming0909
fa85d1caa7 support other tsma funcs 2024-04-16 14:23:25 +08:00
wangjiaming0909
cc9550f45e add tsma funcs 2024-04-16 14:20:59 +08:00
wangjiaming0909
98ca847eb8 add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909
895a4584e6 generate tsma plan 2024-04-16 14:14:39 +08:00
wangjiaming0909
ef47fd57d6 support tsma catalog cache 2024-04-16 14:14:34 +08:00
dapan1121
55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
Minglei Jin
49a9c5abad Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 16:24:24 +08:00
factosea
4686d82a2d cast support 2024-04-10 11:48:50 +08:00
factosea
239844e3b0 feat/binary without length supported 2024-04-09 18:00:48 +08:00
dapan1121
8407eb3791 enh: outer join performance optimization 2024-04-09 09:48:38 +08:00
slzhou
595ae2c5b8 fix: irate on super table merge phase and translate 2024-03-26 17:05:40 +08:00
slzhou
5fe03fe3f4 feat: irate support pk 2024-03-26 09:18:45 +08:00
dapan1121
3f71b53101 fix: case issues 2024-03-26 08:42:17 +08:00
dapan1121
42b0d00575 enh:support join type 2024-03-25 15:19:16 +08:00
shenglian zhou
cee96e2048 feat: begin coding function 2024-03-19 13:57:12 +08:00
dapan1121
b26716f2e8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-18 22:15:43 -08:00
wangmm0220
a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
Haojun Liao
cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
wangmm0220
a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
dapan1121
dc309d67b8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-29 17:08:41 +08:00
Alex Duan
1f72313332
Merge pull request #24627 from taosdata/coverage/TD-28401-3.0
coverage: sclfunc.c with query_basic.py
2024-01-26 09:06:17 +08:00
factosea
2513531eee fix: statecount function checkou arg full equal 2024-01-25 10:19:51 +08:00