Commit Graph

15 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
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
wenzhouwww@live.cn d07dc94446 update 2022-11-18 18:14:52 +08:00
wenzhouwww@live.cn 54bc2fc2ae update case for restful mode run 2022-11-18 16:17:29 +08:00
chenhaoran 49eee4c074 test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
chenhaoran 851f34ff36 test:add replica 3 for all testcases and frameworks 2022-10-31 14:41:59 +08:00
cpwu 3a5f3203a0 fix case 2022-08-17 16:11:37 +08:00
Ganlin Zhao 64a18e9fbd fix test cases 2022-07-12 15:02:08 +08:00
Shengliang Guan 389a4fba7c refactor: change fndebugfalg to udfdebugflag 2022-07-08 15:20:33 +08:00
wenzhouwww@live.cn bf442c20bc test: add case for scalar support stable 2022-06-27 17:54:20 +08:00
wenzhouwww@live.cn eb214c4a26 update case 2022-04-29 15:31:45 +08:00
wenzhouwww@live.cn 6bdaecb233 update case 2022-04-29 15:12:06 +08:00
wenzhouwww@live.cn e49c092511 update case set debugFlag 143 2022-04-27 14:41:58 +08:00
wenzhouwww@live.cn edb347fcae update case 2022-04-27 14:34:11 +08:00
wenzhouwww@live.cn a6f95e9d1b add test case for round 2022-04-27 14:30:06 +08:00