Commit Graph

691 Commits

Author SHA1 Message Date
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
xsren ebe0074da4 fix: interp crash 2024-07-22 00:06:47 +08:00
sima c25bc3f2ca fix:[TS-5150] Fix stddev wrong result with null type. 2024-07-12 09:19:46 +08:00
dapan1121 e4c624f286
Merge pull request #26489 from taosdata/fix/3.0/TD-30819
feat:[TD-30819] Reduce memory usage when use percentile with interval.
2024-07-11 13:35:39 +08:00
sima f17c535ca0 feat:[TD-30819] Reduce memory usage when using percentile with interval. 2024-07-10 19:43:19 +08:00
factosea 81b62f4a15 fix: use int64 for timestamp 2024-07-09 18:47:33 +08:00
factosea 163b31a4ee fix: type overflow 2024-07-09 14:48:21 +08:00
factosea 20f4eda56d fix: tinyint 2024-07-09 07:05:40 +08:00
factosea 3e320ebdf1 build failed 2024-07-08 23:22:41 +08:00
factosea 28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
factosea 593d8adc42 test case 2024-07-04 15:56:12 +08:00
factosea 5f0ac46029 diff 2024-07-04 11:04:59 +08:00
dapan1121 e34a8b48df
Merge pull request #26008 from taosdata/fix/TS-4833/dataloaded
partition interval and limimt, dataload error
2024-06-17 08:32:19 +08:00
dapan1121 7cc3eeee3d fix: first dynamic data filter issue 2024-06-11 15:03:17 +08:00
“happyguoxy” 6d98a56778 fix group count 2024-06-07 16:49:29 +08:00
Haojun Liao ac860f7fe8 fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column. 2024-04-25 09:29:42 +08:00
Haojun Liao b0f68a9147 refactor: do some internal refactor. 2024-04-23 14:58:51 +08:00
Haojun Liao 1adf59e7d8 fix(stream): do check when task is paused, and do some internal refactor. 2024-04-23 13:53:23 +08:00
wangjiaming0909 e43580f71b fix ci 2024-04-16 14:25:20 +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
dapan1121 1d24b3da77 fix: compile issues 2024-04-16 09:46:58 +08:00
dapan1121 55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
54liuyao 1d42e927c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-11 15:35:42 +08:00
Haojun Liao a2a237a4b0 fix(query): avoid process data that belongs to the next session window. 2024-04-11 14:31:48 +08:00
54liuyao e161556f51 set ts column index for function 2024-04-10 15:35:25 +08:00
Minglei Jin dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
54liuyao 2a6c40e8c5 set winkey for selectivity function 2024-04-08 16:53:13 +08:00
Haojun Liao 97f7e67234 fix(tsdb): set correct merge row. 2024-04-08 10:44:10 +08:00
dapan1121 337f39191e fix: eliminate project issue 2024-04-03 18:35:50 +08:00
Haojun Liao 15f2882bba Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-04-02 16:10:54 +08:00
Haojun Liao 5a546e37d7 fix(query): set correct forward step for twa query. 2024-04-02 16:10:42 +08:00
slzhou 771c6940b1 fix: initialize pk type and pk data of output SFirstLastRes when merge 2024-04-02 13:39:52 +08:00
slzhou b504627830 fix: new group block to reset func input iter hasPrev 2024-03-29 17:01:56 +08:00
slzhou 595ae2c5b8 fix: irate on super table merge phase and translate 2024-03-26 17:05:40 +08:00