Commit Graph

334 Commits

Author SHA1 Message Date
Haojun Liao 21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
slzhou 3650a6bc2c fix: select tags from child table error 2023-09-01 20:42:27 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121 bfa59b8a5b fix: tbname rewrite issue 2023-08-18 15:46:00 +08:00
dapan1121 6d00f5dd39 fix: empty tbname param issue 2023-08-18 15:06:30 +08:00
dapan1121 3f4e82613b fix: no targets in join issue 2023-08-18 14:41:02 +08:00
dapan1121 efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
dapan1121 daf91648fe fix: invalid read memory issue 2023-08-18 13:57:17 +08:00
dapan1121 a1d6ddf9ed fix: tbname not found issue 2023-08-18 09:06:34 +08:00
dapan1121 adcd1a2df2 fix: join error msg 2023-08-17 19:20:09 +08:00
dapan1121 e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
slzhou 0c62eed08f fix: select tags - change tbname error 2023-08-16 15:14:02 +08:00
dapan1121 91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
shenglian zhou e93ed3b556 enhance: table san type and disable partition tags optimize for tag scan 2023-08-16 14:09:22 +08:00
shenglian zhou b21c177ce2 fix: add only meta ctb idx 2023-08-15 22:31:23 +08:00
shenglian zhou ca24607162 fix: pass plannertest 2023-08-15 22:13:20 +08:00
slzhou a6839b5a9f fix: select tags and set tag scan execution mode 2023-08-15 15:20:06 +08:00
slzhou 514da6e1b0 fix: select tags and set tag scan execution mode 2023-08-15 15:16:57 +08:00
dapan1121 6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
dapan1121 1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
dapan1121 68e0fb924a
Merge pull request #22165 from taosdata/feat/3.0/TD-25271
feature: optimize interval with limit
2023-08-08 10:34:02 +08:00
wangjiaming0909 fba43e1748 feature: optimize interval with limit 2023-08-04 15:04:04 +08:00
dapan1121 b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
wangjiaming0909 b850c1af47 fix: state/session/event window with order by _wstart/_wend has no effect 2023-07-14 16:03:59 +08:00
dapan1121 a42bd9e478 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-11 19:34:39 +08:00
wangjiaming0909 1d7515213b feat: 1. add limit for diskBasedBuf
2. use referenced tuple before actually pushing into pq
3. use limitInfo instead of maxRows in sort pyhsical node
2023-07-11 14:16:20 +08:00
dapan1121 9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
dapan1121 8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
wangjiaming0909 57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
dapan1121 ce2635074d enh: add uid/vgid functions 2023-06-26 11:48:47 +08:00
wangjiaming0909 61309862c2 fix comments of TD-24656 2023-06-16 18:12:02 +08:00
wangjiaming0909 fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
dapan1121 778b7b84fd
Merge pull request #21371 from taosdata/fix/TD-24234
fix: distinct wrong result issue
2023-05-19 18:15:04 +08:00
dapan1121 6a1eb62dd4 fix: distinct group issue 2023-05-19 11:26:40 +08:00
dapan1121 79623860a4 fix: distinct wrong result issue 2023-05-18 17:41:01 +08:00
dapan1121 72e6319592 enh: optimize order by for partition by clause 2023-05-18 14:41:32 +08:00
wangjiaming0909 789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
dapan1121 1526eb2923 fix: projection group merge issue 2023-05-08 10:28:07 +08:00
dapan1121 1f25cc57cd fix: projection merge issue 2023-05-06 16:39:40 +08:00
Ganlin Zhao 1251245c2a move code to parser 2023-04-24 09:49:03 +08:00
Ganlin Zhao c5b3737702 fix: forbid delete from system table 2023-04-23 11:21:01 +08:00
Xiaoyu Wang 5367f25b4d feat: the having clause can be used after the partition by clause or window clause 2023-04-19 16:55:08 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
54liuyao 40987fa507 feat:do not check whether the expired data has been update 2023-02-09 11:14:28 +08:00
Xiaoyu Wang 98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Xiaoyu Wang 637195ce94 fix: the problem of creating a stream without partition by clause 2023-02-01 17:27:03 +08:00
Xiaoyu Wang 8258c68b6d fix: subquery output ignores group id 2023-01-28 11:11:37 +08:00
Shengliang Guan d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Xiaoyu Wang aa8eea0d65 fix: set operator precision miss 2023-01-06 13:35:07 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Ganlin Zhao 7bd98ec700 fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 17:29:00 +08:00
Xiaoyu Wang db497f0252 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-21 13:51:31 +08:00
Xiaoyu Wang aecd05cf34 enh: improve unit tests 2022-12-21 13:51:06 +08:00
Shengliang Guan 86ff8f381f
Merge pull request #19042 from taosdata/enh/3.0_planner_optimize
enh: improve unit tests
2022-12-20 21:53:25 +08:00
Xiaoyu Wang ad7f9b274b enh: improve unit tests 2022-12-20 16:53:08 +08:00
Shengliang Guan 7f18cc5b8b
Merge pull request #19030 from taosdata/main
merge from main to 3.0
2022-12-20 11:24:20 +08:00
Xiaoyu Wang c21911fdbf fix: user auth error 2022-12-15 16:18:48 +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 cfbcf92c1f Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-30 14:29:34 +08:00
Xiaoyu Wang 049c672411 fix: planner error 2022-11-29 14:21:45 +08:00
Xiaoyu Wang 555f2cb981 merge 3.0 2022-11-29 13:16:54 +08:00
Xiaoyu Wang 7a88018b2a enh: group by tbname optimize 2022-11-24 10:43:54 +08:00
Xiaoyu Wang 906fafc578 enh: last cache optimize 2022-11-23 12:58:27 +08:00
Xiaoyu Wang cf245fa520 enh: last cache optimize 2022-11-23 12:56:16 +08:00
Xiaoyu Wang 469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +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 38f20ec32d enh: show table tags command extension 2022-11-10 17:22:13 +08:00
Xiaoyu Wang 1b179f65b2 fix: interp _irowts error 2022-11-01 13:34:10 +08:00
Xiaoyu Wang 6547dbd2a7 fix: interp _irowts error 2022-11-01 11:30:44 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Xiaoyu Wang b7056f58b7 fix: alter table check 2022-10-25 16:59:05 +08:00
Xiaoyu Wang ab98754c56 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-14 13:45:15 +08:00
dapan1121 f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
Xiaoyu Wang 9a946541a2 enh: do coverity scan 2022-10-13 18:14:44 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
dapan1121 5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
dapan1121 55a26990da feat: support case when cases 2022-10-08 19:07:43 +08:00
Xiaoyu Wang 8caa36299c feat: add the _irowts pseudo column to output the timestamp of the interp 2022-09-27 15:23:24 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +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
Xiaoyu Wang 417a29af0a fix: a plan problem of system table complex query 2022-08-30 14:32:07 +08:00
shenglian zhou b250efeee4 fix: support window pseduo column for fill operator 2022-08-24 17:05:38 +08:00
slzhou d3bf82fc02 fix: clone nodes when create partition targets 2022-08-15 16:24:30 +08:00
Xiaoyu Wang 79f005552e fix: fill clause error 2022-08-12 18:18:16 +08:00
Haojun Liao dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Xiaoyu Wang 9b1201a61a fix: slimit error 2022-08-09 15:18:21 +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
Xiaoyu Wang 5ae9fdff7a enh: increase explain output, enhance debugging function 2022-08-08 10:00:10 +08:00
Haojun Liao 0d60d54a4a other: merge 3.0 2022-08-06 15:26:15 +08:00
Xiaoyu Wang d0524389d9 fix: plan problem with interval fill statement 2022-08-05 15:07:38 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +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 11bac6220c
Merge pull request #15523 from taosdata/feature/3.0_debug_wxy
enh: last function optimize
2022-07-29 20:14:21 +08:00
Xiaoyu Wang 547ab7028b enh: last function optimize 2022-07-29 13:38:24 +08:00
dapan1121 cc597c2ff3 fix: fix delete time range issue 2022-07-29 10:53: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 8bb432c348 feat: super table order by primary key optimization 2022-07-25 16:45:23 +08:00
Xiaoyu Wang 84266350cb fix: plan problem when timeline function is used for interval query 2022-07-23 16:18:00 +08:00
Xiaoyu Wang 241b385653 fix: plan problem when functions that requires a timeline is used in a partition by query 2022-07-22 20:05:30 +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 dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang d7c4549324 fix: the problem of data loss when interval is used for outer query 2022-07-22 10:38:11 +08:00
slzhou@taodata.com a8325b09e0 fix: disable tag scan when the grouping set is not column and distince would create grouping keys consisted of grouping set 2022-07-22 08:59:10 +08:00
Xiaoyu Wang ef54bfb787 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:39:01 +08:00
Xiaoyu Wang 461db22807 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:17:30 +08:00
Xiaoyu Wang 1059ca6d53 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:00:16 +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
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +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 d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
shenglian-zhou 0e603a176c
Merge pull request #14794 from taosdata/szhou/td-17001
fix: select tag from st will return block composed of num of records
2022-07-12 13:44:36 +08:00
slzhou@taodata.com 6f501bb33d fix: select tag from st will tag blocks composed of num of records 2022-07-12 09:59:11 +08:00
Xiaoyu Wang 12759683ca fix: some problems of 'partition by' execution plan 2022-07-11 18:23:54 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
Xiaoyu Wang 9aa35c2e28 feat: sql command 'insert ... select' 2022-07-08 11:08:46 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
Xiaoyu Wang c1eef9911b feat: sql command 'insert ... select' 2022-07-06 16:16:54 +08:00
Haojun Liao 916dbebb00 other: merge 3.0 2022-07-06 13:49:39 +08:00
Xiaoyu Wang a67eb1a9a0 eat: sql command 'insert ... select' 2022-07-06 11:55:47 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
Xiaoyu Wang 2ad6599810 feat: partition by distributed split 2022-06-30 11:04:24 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
Xiaoyu Wang cf4fcb7398 feat: support partition by expression and aggregate function output together 2022-06-25 12:06:50 +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 ab23faed63 fix: planner memory leak 2022-06-24 15:52:13 +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 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
Xiaoyu Wang eeab56e318 feat: sql command 'select constant' 2022-06-22 09:54:31 +08:00