Commit Graph

33 Commits

Author SHA1 Message Date
Pan Wei 077da8d945
Merge branch '3.0' into opti/TD-30681 2024-10-31 08:39:12 +08:00
Pan Wei 481ceefcdf
Update in.sim 2024-10-28 18:26:34 +08:00
lyh250-666 e6031cba1e opti:modify bytes for numbers and string, and varbinary 2024-10-25 17:27:36 +08:00
lyh250-666 d5876b0457 opti:modify bytes for numbers and string 2024-10-25 16:59:46 +08:00
lyh250-666 fa9f273449 opti:add case for double and float 2024-10-25 14:39:03 +08:00
lyh250-666 b8725618f0 opti:modify time range of select ts in 2024-10-23 23:26:44 +08:00
lyh250-666 60c555875e opti:add case 2024-10-22 15:23:39 +08:00
lyh250-666 324a4eab4e opti:modify result type for case when 2024-10-22 10:21:42 +08:00
lyh250-666 a8ac0a2a73 opti:modify case when type 2024-10-18 11:43:26 +08:00
lyh250-666 23d119c654 opti:modify result type of case when 2024-10-16 20:21:56 +08:00
lyh250-666 e7215c5a24 opti:modify common type between numbers and string 2024-10-11 16:51:09 +08:00
lyh250-666 9bbfff8bf8 opti:modify type display between numbers and string 2024-10-11 16:18:10 +08:00
lyh250-666 fae8f5bfa5 opti:add case 2024-10-11 13:41:17 +08:00
lyh250-666 f08e5054a3 opti:modify type 2024-10-10 18:06:24 +08:00
lyh250-666 3d72a50225 modify case 2024-10-10 11:25:32 +08:00
lyh250-666 1388ce32f6 opti:update case 2024-10-09 19:14:45 +08:00
lyh250-666 945b4e4479 opti:mmodify case 2024-10-09 17:33:34 +08:00
lyh250-666 bab99c7897 opti:case when else data type compatibility 2024-10-09 14:16:42 +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
dapan1121 784fda8191 fix: cast long binary crash issue 2024-06-20 13:54:02 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao a1eafe88ac fix(query): fix some errors. 2023-02-14 14:48:33 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
dapan1121 978d45ffc1 enh: optimize converting timestamp at client side 2022-12-15 16:56:35 +08:00
dapan1121 c4401b20ba feat: add more case when cases 2022-10-12 16:15:46 +08:00
dapan1121 5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
dapan1121 55a26990da feat: support case when cases 2022-10-08 19:07:43 +08:00
dapan1121 a861537bc0 fix: fix filter group merge error 2022-08-29 15:44:10 +08:00
Ganlin Zhao 3e9609e240 fix(query): fix test cases 2022-08-15 14:15:06 +08:00
Haojun Liao fc7887e6b7 fix(query): update the sim. 2022-07-20 17:24:49 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
dapan1121 6cd21fe04b enh: enhance in operator 2022-07-10 16:52:11 +08:00