Commit Graph

13 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
chenhaoran db9655c549 test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +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 53e3b2e5f5 fix case, add case support rest api 2022-08-18 11:14:05 +08:00
cpwu 50b612082f fix case 2022-06-22 14:47:15 +08:00
cpwu a1f74aaba7 fix case 2022-06-21 09:22:10 +08:00
cpwu b82befef71 fix case 2022-05-09 00:27:52 +08:00
cpwu eb8d630d2c fix case 2022-05-09 00:20:40 +08:00
cpwu 472ade7062 fix case 2022-05-09 00:03:53 +08:00
cpwu efc6b96746 fix case 2022-05-09 00:01:48 +08:00
cpwu 123ac75401 fix case 2022-05-09 00:01:42 +08:00
cpwu 46390534b8 fix case 2022-05-08 23:50:44 +08:00