Commit Graph

1707 Commits

Author SHA1 Message Date
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 aa82702963
Merge pull request #27054 from taosdata/fix/TD-31003/timezoneOnWin
fix: set timezone on windows
2024-08-14 08:50:11 +08:00
Haojun Liao 8d751ca5e3
Merge pull request #27148 from taosdata/fix/3.0/TD-31362-TD-31359-TD-21481
1. lock not released when return
2024-08-12 17:34:25 +08:00
wangjiaming0909 19952995af fix fill order by returned wrong values 2024-08-12 15:27:15 +08:00
wangjiaming0909 882cfb7deb 1. lock not released when return
2. fix tsma err msg
3. fix fill prev wrong results
2024-08-12 08:53:27 +08:00
Alex Duan a23f877c89
Merge pull request #27088 from taosdata/test/TD-31203
test: Adding test case for TD-31203
2024-08-09 17:33:29 +08:00
wangjiaming0909 be4effd0c8 fix test when using -R 2024-08-09 10:25:04 +08:00
xsren ce122d7cd8 fix: timezone test case 2024-08-09 10:02:09 +08:00
xsren 2c68cffe6e test case 2024-08-08 19:40:38 +08:00
xiao-77 645b49023b add hyperloglog to requirements.txt 2024-08-08 19:39:43 +08:00
wangjiaming0909 d1ed3b3abb 1. fix interval query with month interval day slidng returning wrong window
2. fix error msg for creating tsma
2024-08-08 18:10:49 +08:00
xiao-77 c02ac1fe4c test: Adding test case for TD-31203 2024-08-08 16:48:17 +08:00
Ping Xiao cccec022eb add test case for TS-4236 2024-08-07 19:20:07 +08:00
xiao-77 8dcafe343e test:fix test case logical_operators failed while use param '-R' 2024-08-06 15:19:17 +08:00
xiao-77 dd46121a8a test: adding test case for TS-30951 2024-08-05 16:24:39 +08:00
dapan1121 37fc4f5674
Merge pull request #26533 from taosdata/enh/3.0/TD-26258
fix asc/desc fill windows
2024-08-05 09:00:14 +08:00
wade zhang 8e01044408
Merge pull request #26920 from taosdata/test/3.0/TD-31005
test: scan returned values in ci
2024-08-05 08:03:05 +08:00
chenhaoran ed1e3c304a test: scan returned values in ci 2024-08-02 14:03:07 +08:00
dapan1121 dd6674fe38
Merge pull request #26543 from taosdata/fix/3.0/TD-30951
fix project with bool condition node
2024-08-01 19:11:57 +08:00
dapan1121 6e6f353328
Merge pull request #26896 from taosdata/fix/3.0/TD-31113
fix:[TD-31113] return 0.0 instead of -0.0 when using round(),floor() and ceil()
2024-08-01 14:08:03 +08:00
sima 04d525d429 feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
sima a81d8261e5 fix:[TD-31113] return 0.0 instead of -0.0 when using round() and ceil() 2024-07-31 14:00:06 +08:00
dapan1121 4e62fda958
Merge pull request #26877 from taosdata/fix/3.0/TD-31133
fix:[TD-31133] Fix crash when using partition by with having clause.
2024-07-31 10:31:57 +08:00
dapan1121 51a28996c0
Merge pull request #26852 from taosdata/fix/TD-29991/inNull
fix: in null
2024-07-30 18:11:26 +08:00
sima 880921e165 fix:[TD-31133] Fix crash when using partition by with having clause. 2024-07-30 15:55:04 +08:00
wangjiaming0909 2c3cddb8b4 add tests for fix fill asc/desc 2024-07-30 14:59:08 +08:00
wangjiaming0909 0e868735be fill add test 2024-07-30 14:59:08 +08:00
wangjiaming0909 e1e5a7780c revise fill start and end timestamp 2024-07-30 14:59:08 +08:00
wangjiaming0909 f3698adebf fix project with bool condition node 2024-07-30 14:56:55 +08:00
xsren d0131bb83a fix: not in null 2024-07-30 14:33:47 +08:00
xsren 915ec87f8d test case 2024-07-30 09:53:35 +08:00
xsren d7aab4c7b6 fix: in null 2024-07-29 19:15:48 +08:00
wangjiaming0909 b9bb3fd1de fix tsma test 2024-07-29 18:52:18 +08:00
wangjiaming0909 bfeb90e19f fix tsma test case 2024-07-29 11:47:25 +08:00
wangjiaming0909 1cbfed8a69 fix tsma py test 2024-07-28 09:29:16 +08:00
xsren 74f1bb4ff9 test case 2024-07-26 14:48:55 +08:00
Hongze Cheng 3f79e5b7e3
Merge pull request #26676 from taosdata/feat/TD-30991-3.0
feat: (errcode) ttime.c geomFunc.c geosWrapper.c
2024-07-23 11:09:20 +08:00
Shungang Li f5f84c3cc6 feat: (errcode) ttime.c 2024-07-23 09:13:42 +08:00
xsren c019849413 add test case 2024-07-22 11:34:52 +08:00
xsren ebe0074da4 fix: interp crash 2024-07-22 00:06:47 +08:00
factosea 57f826608a checkout regex pattern at client 2024-07-12 11:48:48 +08:00
factosea cfda747613 fix: match cache release 2024-07-11 21:00:08 +08:00
factosea e0f9dc1dce add test case 2024-07-11 11:23:13 +08:00
dapan1121 076fd07a26
Merge pull request #26492 from taosdata/enh/3.0/bigger_tsma_interval
Enh/3.0/bigger tsma interval
2024-07-10 18:30:40 +08:00
wangjiaming0909 2b12e9edd4 fix tsma test 2024-07-10 15:28:44 +08:00
wangjiaming0909 2b34ea3601 split tsma tests 2024-07-10 12:55:19 +08:00
wangjiaming0909 844a01a751 fix tsma test 2024-07-10 09:22:38 +08:00
dapan1121 92089e2d86
Merge pull request #26417 from taosdata/enh/TD-29154/diff
Enh/td 29154/diff
2024-07-10 08:38:32 +08:00
wangjiaming0909 b10beaa035 fix test 2024-07-09 21:54:11 +08:00
wangjiaming0909 143dda3e6f add tests for tsma with bigger interval 2024-07-09 19:31:16 +08:00