Commit Graph

249 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
wangjiaming0909 aa4b4a609f fix ret check caused crash 2024-08-09 11:46:53 +08:00
sima 04d525d429 feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
wangjiaming0909 1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
dapan1121 c10106a4da
Merge pull request #26512 from taosdata/enh/TD-29679
use regex cache
2024-07-15 19:01:50 +08:00
Hongze Cheng 77e2582cc1
Merge pull request #26536 from taosdata/enh/TD-30856-3.0
enh: 'create table' parses csv file per tsMaxInsertBatchRows
2024-07-15 13:54:48 +08:00
factosea 57f826608a checkout regex pattern at client 2024-07-12 11:48:48 +08:00
Shungang Li 942599fe04 enh: 'create table' parses csv file per tsMaxInsertBatchRows 2024-07-11 16:14:31 +08:00
factosea 163b31a4ee fix: type overflow 2024-07-09 14:48:21 +08:00
factosea 28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
54liuyao 7620be6e28 optimize show cluster alive stmt 2024-06-13 16:23:50 +08:00
dapan1121 6064ea0125 fix: support timeline query from union and order by 2024-05-24 11:24:19 +08:00
dapan1121 3ed44d75b9 fix: window join in view issue 2024-04-24 19:14:20 +08:00
wangjiaming0909 7de0a34ae6 support maxTsmaCalcDelay, maxTsmaNum, skip_tsma 2024-04-16 14:25:01 +08:00
wangjiaming0909 fa85d1caa7 support other tsma funcs 2024-04-16 14:23:25 +08:00
wangjiaming0909 c9be37bdc6 fix norm_tb child tb tsma query 2024-04-16 14:18:11 +08:00
wangjiaming0909 a1054234e2 fix query tsma child table 2024-04-16 14:18:10 +08:00
wangjiaming0909 0fd66d7e8a tsma optimization 2024-04-16 14:14:39 +08:00
dapan1121 55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
dapan1121 86db8efcda enh: support hash join 2024-04-10 19:27:36 +08:00
kailixu 77d912c210 fix: primary key should not be null or none 2024-04-02 14:39:13 +08:00
dapan1121 91d3848c71 fix: case issue 2024-03-23 20:24:50 +08:00
slzhou 1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +08:00
slzhou 61f91b57fa fix: column node and function node util copy/json/msg 2024-03-19 17:19:14 +08:00
shenglian zhou cee96e2048 feat: begin coding function 2024-03-19 13:57:12 +08:00
dapan1121 6e674bc1de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-15 18:11:37 +08:00
dapan1121 1c8dcaf46c enh: support timeline functions 2024-03-15 18:10:08 +08:00
shenglian zhou 3db2c1edf5 feat: add hint smalldata_ts_sort to disable row id sort 2024-03-08 14:36:55 +08:00
dapan1121 7045126aa6 fix: inner join issue 2024-03-06 11:18:57 +08:00
dapan1121 85cca872a5 enh: support timetruncate function 2024-02-29 17:52:53 +08:00
dapan1121 a745319b81 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-23 08:59:16 +08:00
dapan1121 ba41231373
Merge pull request #24614 from taosdata/szhou/tms/port-3
feat: multi-readers and one merge tree
2024-02-21 10:00:52 +08:00
dapan1121 98ed2458ea Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-20 17:39:51 -08:00
shenglian zhou f77b602da9 fix: change from seq_blocks_sort to para_tables_sort 2024-02-02 14:45:04 +08:00
dapan1121 ab87953362 enh: support window join 2024-02-01 14:58:08 +08:00
shenglian zhou 7dcb477933 feat: add front end for ordered blocks in mem sort 2024-02-01 09:38:35 +08:00
dapan1121 50c420e6b9 enh: support window join 2024-01-30 19:19:44 +08:00
54liuyao 9e86dfaee7 stream count window sliding 2024-01-26 15:56:26 +08:00
dapan1121 fb20dd51de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-18 17:11:25 +08:00
54liuyao 3bbfb26e09 stream count window 2024-01-17 14:22:19 +08:00
dapan1121 2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
wangjiaming0909 bc1eacf626 add PARTITION_BEFORE_GROUP hint to use partition node before agg 2024-01-12 17:41:34 +08:00
factosea c8fb8486ef fix: SColumnRefNode disable 2024-01-10 19:07:21 +08:00
dapan1121 e784a5c210 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-10 18:57:19 +08:00
factosea d243308541 fix: colref 2024-01-10 09:04:40 +08:00
factosea b6b2a41d83 fix: columnrefnode 2024-01-03 18:30:57 +08:00
factosea 34e62d7fc0 fix: columanRefNode illegal type conversion 2024-01-02 20:22:15 +08:00
dapan1121 194b1f03ae enh: support inner join 2023-12-26 19:28:19 +08:00
Bob Liu e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
dapan1121 279b2aa10a enh: add join ut 2023-12-19 11:17:39 +08:00