Commit Graph

286 Commits

Author SHA1 Message Date
dapan1121 2b55a75e82 enh: refact code 2023-06-21 19:33:27 +08:00
wangjiaming0909 fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
dapan1121 e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00
dapan1121 170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
slzhou f9da4abdcb fix: change more variable names 2023-05-19 15:38:52 +08:00
shenglian zhou f36b0be17d fix: join eq conditions not only for tag 2023-05-19 14:32:03 +08:00
shenglian zhou 629ab2b85f fix: extract tag equal condition 2023-05-15 16:10:11 +08:00
dapan1121 a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Xiaoyu Wang 98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Xiaoyu Wang 8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +08:00
54liuyao e89362fb36 feat:stream ignore check update data 2023-02-07 15:29:05 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Ganlin Zhao ec75ddec83 fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 17:27:23 +08:00
Xiaoyu Wang 2f9753c540 event window query 2022-12-13 14:18:03 +08:00
Xiaoyu Wang bc36bc188e feat: event window 2022-12-08 09:36:37 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Xiaoyu Wang 555f2cb981 merge 3.0 2022-11-29 13:16:54 +08:00
Xiaoyu Wang 70164f9f20 enh: group by tbname optimize 2022-11-24 15:16:38 +08:00
Xiaoyu Wang bc180e39c9 enh: ins_tables optimize 2022-11-22 16:39:30 +08:00
Xiaoyu Wang 40c7562470 enh: optimize statement for querying the number of sub tables of the super table 2022-11-15 16:38:51 +08:00
Xiaoyu Wang e8c0515dce enh: flag of whether the subplan is added as a show statement 2022-10-28 10:46:04 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
54liuyao 747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
dapan1121 dc0e36f742
Merge branch '3.0' into enh/clientPolicy 2022-09-23 16:41:18 +08:00
Xiaoyu Wang ee9190e9c0 fix: subplans under set operator use different group ids 2022-09-23 11:26:03 +08:00
dapan1121 4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
Xiaoyu Wang e2586979eb enh: the delete physical plan increases the timestamp interval of the actual deleted data 2022-09-14 17:51:21 +08:00
dapan1121 1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
54liuyao 83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Haojun Liao dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Xiaoyu Wang 4345631d3c fix: project adds whether to ignore the field of group id 2022-08-08 18:32:04 +08:00
Haojun Liao c054ed889b other: merge 3.0 2022-08-06 15:26:34 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang adc8bd236b fix: some problems of parser 2022-08-02 20:55:25 +08:00
Xiaoyu Wang f8bd778979 enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions 2022-08-02 16:18:53 +08:00
Xiaoyu Wang a62a7cc41f enh: aggregate and window add field for merge data blocks 2022-08-01 21:05:44 +08:00
Xiaoyu Wang 547ab7028b enh: last function optimize 2022-07-29 13:38:24 +08:00
Xiaoyu Wang fc0780c35a enh: last function optimize 2022-07-28 19:27:37 +08:00
WANG MINGMING 7badec9ecc
Merge pull request #15477 from taosdata/feature/TD-14761
feat:add ts,table name from SDeleterRes
2022-07-27 20:16:00 +08:00
wangmm0220 2ba6ac5fba feat:add ts,table name from SDeleterRes 2022-07-27 17:11:57 +08:00
Xiaoyu Wang 58514862e6 feat: delete sink node add ts column name attribute 2022-07-27 15:25:57 +08:00
Xiaoyu Wang cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
wangmm0220 915d3c4203 fix:conflicts from 3.0 2022-07-26 17:47:10 +08:00
wangmm0220 ba1962cacf feat:add tmq get data interface 2022-07-26 17:43:22 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Xiaoyu Wang 1979801c93 fix: the problem of data loss when interval is used for outer query 2022-07-21 19:21:15 +08:00
Xiaoyu Wang c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
shenglian zhou cede4b7624 fix: enable tag scan optimization when the scan cols is empty before adding ts col 2022-07-15 18:01:04 +08:00
Xiaoyu Wang 31e29dfc38 feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 08:43:40 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
dapan1121 82dbf54719 Merge branch 'fix/dnode' of github.com:taosdata/TDengine into fix/dnode 2022-07-06 20:34:07 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
Xiaoyu Wang c1eef9911b feat: sql command 'insert ... select' 2022-07-06 16:16:54 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
slzhou 024796599c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-04 20:14:15 +08:00
dapan1121 57836d8bb2 enh: add type convert api 2022-07-04 17:40:20 +08:00
slzhou dbbff4ea2c feat: push cond to join child through generating plan 2022-07-01 20:00:01 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
dapan1121 a535df7590 feat: query redirect 2022-06-30 11:04:49 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
Xiaoyu Wang b857d390e7 merge 3.0 2022-06-24 21:13:11 +08:00
Xiaoyu Wang 853f1df3ab feat: support partition by expression and aggregate function output together 2022-06-24 21:07:12 +08:00
Xiaoyu Wang c41a4bd7db feat: subplan adds 'user' field 2022-06-24 17:27:43 +08:00
Xiaoyu Wang 0b9eb79bf7 merge 3.0 2022-06-23 18:08:47 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
shenglian-zhou bacd7b6057
Merge pull request #14136 from taosdata/szhou/feature/sort-group-2
feat: add group sort operator
2022-06-23 08:15:25 +08:00
shenglian zhou faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
shenglian-zhou 0f67b17f3f
Merge pull request #14106 from taosdata/szhou/feature/merge-interval-2
feat: add merge interval operator
2022-06-22 13:32:38 +08:00
shenglian zhou 0941a4640b fix: add merge interval operator for select mode(expr) + interval 2022-06-22 13:08:20 +08:00
shenglian-zhou 17603ba292
Merge pull request #14098 from taosdata/szhou/feature/merge-interval-2
fix: change merge interval to merge aligned interval
2022-06-22 11:27:41 +08:00
shenglian zhou 84ea04ea2a fix: change merge interval to merge aligned interval 2022-06-22 10:53:22 +08:00
wangmm0220 e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
Xiaoyu Wang 45a806f789 feat: sql function 'last_row' 2022-06-21 19:52:26 +08:00
Xiaoyu Wang 9e8058dd5d feat: sql function 'interp' 2022-06-20 12:00:57 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
Xiaoyu Wang 927464113b feat: tag condition split 2022-06-18 20:15:47 +08:00
54liuyao 8c47a18dbf feat(stream): semi session operator 2022-06-18 19:57:08 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +08:00
54liuyao 61153b7637 feat(stream): distribute stream session plan 2022-06-17 15:39:19 +08:00
Xiaoyu Wang 7f78d4a79b feat: partition by tags optimize 2022-06-15 19:08:25 +08:00
Xiaoyu Wang 3c4663848b feat: support compute only use qnode 2022-06-15 16:47:03 +08:00
Xiaoyu Wang 19ab15b19f feat: super table join 2022-06-15 13:49:29 +08:00
Xiaoyu Wang 58808db4cd feat: sma index optimize 2022-06-11 09:25:18 +08:00
Xiaoyu Wang cd31496882 feat: sma index optimize 2022-06-10 21:13:06 +08:00
Xiaoyu Wang 317cc8fc13 feat: sma index optimize 2022-06-10 10:16:18 +08:00
dapan1121 001061fcd2 add get tb index async api 2022-06-09 15:17:10 +08:00
Xiaoyu Wang 6de91932ea
Merge pull request #13472 from taosdata/feature/3.0_bug16060
feat: add physical plannode of indefinite rows func
2022-06-06 20:47:40 +08:00
Xiaoyu Wang 2a1ec3c304 feat: order by distributed split 2022-06-06 18:39:23 +08:00
Xiaoyu Wang f77c72c25a feat: order by distributed split 2022-06-06 17:51:25 +08:00
Xiaoyu Wang 0b5c08edb9 merge 3.0 2022-06-06 11:47:20 +08:00
Xiaoyu Wang 55d41c8f5c feat: sql command 'delete from' 2022-06-05 15:48:06 +08:00
Xiaoyu Wang 8ba9496471 feat: add physical plannode of indefinite rows func 2022-06-04 22:57:01 +08:00
54liuyao 5400507245 feat(stream): stream state operator 2022-06-04 20:36:28 +08:00
wangmm0220 5ed0c48af0 feat:merge from 3.0 2022-06-02 22:49:53 +08:00
Xiaoyu Wang f45ddaf1c8 feat: stream interval distributed split 2022-06-02 16:37:46 +08:00
Xiaoyu Wang cd7d3c59a2
Merge pull request #13403 from taosdata/feature/3.0_distributed_split
feat: interval distributed split
2022-06-02 11:07:42 +08:00
Xiaoyu Wang edd0295a00 feat: interval distributed split 2022-06-02 10:45:27 +08:00
54liuyao 901ff9bf18 feat(sma):files factor 2022-05-31 16:14:56 +08:00
Xiaoyu Wang 3e5ab6b54c feat: add physical plannode of indefinite rows func 2022-05-31 11:29:10 +08:00
54liuyao aa20cfedcd feat(stream): watermark and trigger 2022-05-28 18:19:36 +08:00
wangmm0220 955679276f feat:optimize for group by tag 2022-05-27 22:05:53 +08:00
Xiaoyu Wang 6d3f066540 feat: sql command 'drop cgroup' 2022-05-25 21:23:13 +08:00
Xiaoyu Wang 070f60409b feat: sql command 'drop cgroup' 2022-05-25 21:20:11 +08:00
54liuyao 0778bf8857 stream session operator 2022-05-25 09:05:03 +08:00
Xiaoyu Wang 8da52cbb04 feat: tag index filter plan 2022-05-23 19:50:08 +08:00
54liuyao 42f27e99d0 steam reprocess window 2022-05-12 22:15:13 +08:00
Xiaoyu Wang 4c914c2960 fix: problem of parser and planner 2022-05-09 20:20:05 +08:00
Xiaoyu Wang cdfe9929c8 feat: fill physical plan 2022-04-30 14:07:44 +08:00
Xiaoyu Wang 913354057e feat: fill physical plan 2022-04-30 11:40:12 +08:00
Cary Xu e6a83367c8 merge 3.0 2022-04-28 09:47:49 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
Xiaoyu Wang ac754dce90 fix: some problems of tag query and sma 2022-04-26 18:15:06 +08:00
Xiaoyu Wang 809a78b06e enh: order by primary key optimize 2022-04-24 18:05:28 +08:00
Xiaoyu Wang 1d47ceae37 feat: sql command 'union all' 2022-04-21 16:32:48 +08:00
Xiaoyu Wang ff80459821 feat: implementation of parser and planner for stmt API 2022-04-18 20:19:24 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
Xiaoyu Wang b9fb9c580d feat: sql command "create stream" 2022-04-16 13:15:14 +08:00
Xiaoyu Wang 93d379638c enh(query):optimize scanning through SQL functions 2022-04-12 13:10:47 +08:00
Xiaoyu Wang e30d114c7b set datablock desc timestamp precision 2022-04-11 16:27:42 +08:00
Xiaoyu Wang ef7d784394 sort plan bugfix 2022-04-07 19:08:28 +08:00
dapan1121 7c1d1a2436
Merge pull request #11249 from taosdata/feature/qnode
Feature/qnode
2022-04-06 16:49:52 +08:00
Xiaoyu Wang 709dda39b7 TD-13037 distinct, state window and partition by plan implement 2022-04-06 03:22:41 -04:00
dapan1121 7602f91612 feature/qnode 2022-04-01 19:45:45 +08:00
dapan1121 0608824186 feature/qnode 2022-03-31 18:02:58 +08:00
Xiaoyu Wang 03771c84f5 TD-14396 explain parser and planner implement 2022-03-30 02:50:50 -04:00
Xiaoyu Wang 9f93b1ebc6 TD-14281 deal memory leak 2022-03-29 08:14:46 -04:00
Xiaoyu Wang 0f60e644e9 TD-14383 limit/slimit plan implement, and sort plan bugfix 2022-03-29 02:52:40 -04:00
Xiaoyu Wang 6c6295bdae merge 3.0 2022-03-26 05:55:01 -04:00
Xiaoyu Wang 85f87ae246 bugfix 2022-03-26 05:45:48 -04:00
dapan1121 96eee80063 feature/qnode 2022-03-26 15:03:22 +08:00