Commit Graph

7 Commits

Author SHA1 Message Date
chenhaoran 7298857238 tetst:modify failed cases in windows ci 2024-09-01 22:20:56 +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
Alex Duan 79b694371b fix: tweak timetruncate 2024-01-25 17:07:39 +08:00
Alex Duan 73ead88d70 fix: preciousUS NS passed 2024-01-25 16:55:12 +08:00
Alex Duan 27aa90d6b0 feat: sclfuns.c finished 2024-01-25 09:12:02 +08:00
chenhaoran 24140902cf test:replace clock_gettime in cases for win 2023-09-06 17:36:55 +08:00
Alex Duan 239c031487 test: add precision us and ns case 2023-06-08 15:41:57 +08:00