Commit Graph

90 Commits

Author SHA1 Message Date
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 e6649b78da fix:[TD-31703] fix memory leak when error occurs in filterMergeGroupUnits. 2024-08-26 19:06:51 +08:00
sima 50672cd1a8 enh:[TD-31529] Remove ASSERT in libs/scalar. 2024-08-20 07:58:55 +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
dapan1121 e8a6e15c49
Update filterInt.h 2024-08-07 16:10:27 +08:00
sima a4c120ee28 fix:[TD-31276] check malloc result. 2024-08-07 13:29:20 +08:00
Hongze Cheng eaa3634764 enh: refactor error code 2024-07-25 08:51:19 +08:00
sima 71e57b1dfc enh:[TD-30998] Handling return value in filterTest.c 2024-07-19 11:28:21 +08:00
sima a1fb874c22 enh:[TD-30998] Handling return value in sclvector.c 2024-07-19 11:28:21 +08:00
sima 434fd97615 enh:[TD-30998] Handling return value in filter.c 2024-07-19 11:28:21 +08:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
Shungang Li 308ba7a02e fix: type geometry predicates support
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
shenglian zhou 6456d5dccf enhance: code finish 2023-05-22 11:41:19 +08:00
Haojun Liao c801f3a7f6 Merge branch 'main' into feature/3_liaohj 2022-12-27 17:15:22 +08:00
Haojun Liao 1e69538c37 fix(query): opt filter perf. 2022-12-27 16:55:38 +08:00
dapan1121 978d45ffc1 enh: optimize converting timestamp at client side 2022-12-15 16:56:35 +08:00
dapan1121 1fcd99176b fix: filter memory leak cause of same const strings 2022-12-02 10:59:52 +08:00
dapan1121 f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
Hongze Cheng d8e32fb439 more code format 2022-10-13 14:03:23 +08:00
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
dapan1121 50b396c818 fix: fix case when issues 2022-09-30 18:13:55 +08:00
Haojun Liao 6f33ae921e refactor(query): do some internal refactor. 2022-09-23 10:02:43 +08:00
Haojun Liao 33c075542d refactor(query): do some internal refactor. 2022-09-21 10:26:55 +08:00
Shengliang Guan 1c7eb9daac
Merge pull request #16482 from taosdata/fix/filterResErr
fix: fix filter group merge error
2022-08-30 09:08:05 +08:00
dapan1121 a861537bc0 fix: fix filter group merge error 2022-08-29 15:44:10 +08:00
dapan1121 d18e7cd739 enh: remove compare type convertion 2022-08-26 16:20:07 +08:00
dapan1121 de55d16b60 enh: downgrade value type to speed up filter 2022-08-26 10:59:48 +08:00
Xiaoyu Wang e5da9167ff fix: escape character problem in auto create table insert 2022-08-19 11:52:30 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
dapan1121 6cd21fe04b enh: enhance in operator 2022-07-10 16:52:11 +08:00
Haojun Liao 3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
dapan1121 1a078d5d56 fix in issue 2022-06-08 18:36:46 +08:00
wangmm0220 020372cc75 feat: add sort/group logic for json 2022-06-05 18:26:16 +08:00
dapan1121 5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
slzhou 4a316eae3f Revert "feat: enhance udf scalar function calls"
This reverts commit e8690dabef.
2022-05-14 17:03:05 +08:00
Shengliang Guan 7b15cdb287
Merge branch '3.0' into feature/qnode 2022-05-13 23:27:59 +08:00
slzhou e8690dabef feat: enhance udf scalar function calls 2022-05-13 22:14:53 +08:00
dapan1121 1b2ca4c1b4 stmt query 2022-05-13 19:08:16 +08:00
Haojun Liao 3678aa9094
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
2022-05-12 23:49:21 +08:00
dapan 7771023d7b string to timestamp 2022-05-12 18:02:57 +08:00
Haojun Liao a41f6a3479 fix(query): fix the bug that special pseudo column tbname, along with other normal columns in select clause, cause taosd crash. 2022-05-12 17:33:36 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
dapan1121 960f885aef Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-26 15:55:11 +08:00
dapan1121 65a7d0f1c2 scalar constant 2022-04-26 15:51:46 +08:00
Ganlin Zhao 471b67ae45 fix(query): change some assert to ASSERT macro 2022-04-26 15:29:50 +08:00
Ganlin Zhao daea9b4d58 fix(query): fix taosshell crash when arithmetic operation with NULL
concstant

TD-15132
2022-04-26 15:06:20 +08:00
dapan bb33139572 feature/qnode 2022-04-24 20:11:34 +08:00
dapan1121 ef0365ebeb feature/qnode 2022-04-24 16:27:09 +08:00
dapan1121 8cfcd6d4f4 feature/qnode 2022-04-22 17:48:12 +08:00