Commit Graph

18 Commits

Author SHA1 Message Date
dapan1121 084592dc34
Merge pull request #27168 from taosdata/feat/TS-4893
feat:[TS-4893] Support MYSQL functions.
2024-08-14 15:10:27 +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
charles 75df5d47f1 update test case for TD-30995 by charles 2024-08-13 15:13:18 +08:00
Alex Duan 3b82afa238
Merge pull request #27089 from taosdata/test/TD-31264
test: add a case for concat function
2024-08-13 11:08:40 +08:00
lyh250-666 b914cf8dbf test: add a case for concat function 2024-08-08 17:17:33 +08:00
charles 298a72bd8e add test case for ts-5239 by charles 2024-08-01 15:40:28 +08:00
zhiyong db40210a63 add cast case 2024-07-17 17:27:14 +08:00
zhiyong 38e66c58eb add ci case TD-30948 2024-07-15 10:13:47 +08:00
zhiyong 91b0ef27a1 add ci test for TS-5143 2024-07-12 09:07:51 +08:00
zhiyong 514108c3bf test: move TS_5105 to queryBugs 2024-07-07 16:33:20 +08:00
Alex Duan 9541232927
Merge pull request #26408 from taosdata/case/TD-30686-3.0
fix: add queryBugs.py
2024-07-04 19:09:40 +08:00
Alex Duan 26f2868468 fix: add queryBugs.py 2024-07-04 13:56:23 +08:00
Alex Duan 3f8dd77293
Merge pull request #26402 from taosdata/test/TS-5105
add ci case for TS-5105
2024-07-04 13:42:34 +08:00
zhiyong 13d7629c05 add ci case for TS-5105 2024-07-04 09:13:56 +08:00
bitcapybara f4a83bfab7 test: add non-zero fill value in window query 2024-07-03 08:17:33 +00:00
bitcapybara 62508323b4 test: [TS-5103] add test case for window fill value query 2024-07-03 07:52:28 +00:00
zhiyong 0a45bdb2a2 add ts_5054 ci case 2024-07-02 09:23:16 +08:00
Alex Duan ce13165cd0 fix: modify cases.task dir 2024-06-05 18:40:44 +08:00