Commit Graph

900 Commits

Author SHA1 Message Date
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121 e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
enhance: remove assert
2022-12-30 09:53:59 +08:00
dapan1121 4a142018da
Merge pull request #19224 from taosdata/fix/TD-21561
fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3.
2022-12-29 12:28:28 +08:00
Ganlin Zhao 8f7ed5a267 fix bug 2022-12-29 09:54:06 +08:00
Ganlin Zhao 8460171cb6 fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 18:53:51 +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 0fd305158d enh: when there is _wend and _wduration in the query, you can use tsma optimization 2022-12-28 14:07:58 +08:00
slzhou fb4a6f508c fix: revert planner.c 2022-12-27 09:54:57 +08:00
slzhou 5aec2f3ba8 Merge branch 'main' into szhou/fixbugs 2022-12-26 14:39:13 +08:00
slzhou e1b1ae575b fix: select tbname from system tables 2022-12-26 14:39:00 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Ganlin Zhao 65921f6b2d fix: fix time related function inconsistent result in nested queries 2022-12-22 19:05:13 +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 233377444c enh: ins_table count optimize 2022-12-01 17:57:53 +08:00
Xiaoyu Wang eea8d7bebb enh: ins_table count optimize 2022-12-01 10:48:36 +08:00
Xiaoyu Wang 9465d100a2 enh: ins_table count optimize 2022-11-30 15:31:01 +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 37b65c16c8 enh: ins_tables count optimize 2022-11-29 14:59:48 +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 70164f9f20 enh: group by tbname optimize 2022-11-24 15:16:38 +08:00
Xiaoyu Wang 7a88018b2a enh: group by tbname optimize 2022-11-24 10:43:54 +08:00
Xiaoyu Wang 2d86f8e91c enh: group by tbname optimize 2022-11-23 16:20: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 bc180e39c9 enh: ins_tables optimize 2022-11-22 16:39:30 +08:00
Xiaoyu Wang 469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +08:00
Xiaoyu Wang d00f65a8fe Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-18 15:05:19 +08:00
Xiaoyu Wang 7cda5c2752 enh: fill value supports implicit type conversion 2022-11-17 16:24:56 +08:00
Xiaoyu Wang 78378845cc fix: memory leak 2022-11-16 13:57:24 +08:00
Xiaoyu Wang 6a50e9e271 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-16 10:58:06 +08:00
Xiaoyu Wang 1963761cc2 fix: asan error 2022-11-15 17:27:22 +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 1c9b0b38d8 fix: set operator subplan type error 2022-11-08 17:35:38 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +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 b7046b568d fix: push down limit 2022-10-28 11:51:43 +08:00
Xiaoyu Wang 0840e79f90 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-28 10:46:31 +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 d93d3b4e63 fix: push down limit 2022-10-26 19:00:08 +08:00
Xiaoyu Wang 01d790d701 fix: push down limit 2022-10-26 17:31:43 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Haojun Liao 8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Xiaoyu Wang d63eee8b49 fix: alter table check 2022-10-25 19:00:46 +08:00
Xiaoyu Wang b7056f58b7 fix: alter table check 2022-10-25 16:59:05 +08:00
Xiaoyu Wang c38b200131 fix: wrong permissions of 'show variables' command 2022-10-25 11:08:56 +08:00
Xiaoyu Wang 0fdce91b5a fix: wrong permissions of 'show variables' command 2022-10-24 16:34:10 +08:00
Xiaoyu Wang b3658f983f fix: last constant error 2022-10-20 14:35:34 +08:00
Xiaoyu Wang 35e829dc28 fix: cache inapplicability 2022-10-19 15:58:51 +08:00
Haojun Liao f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Haojun Liao 60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
Xiaoyu Wang eaa2a344e1 fix: plan problem with 'partition by tag group by tag' statement 2022-10-18 15:01:52 +08:00
Xiaoyu Wang 0228caaa0d enh: last cache optimize 2022-10-18 11:38:59 +08:00
Xiaoyu Wang 78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
Haojun Liao 87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
Haojun Liao aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Hongze Cheng 329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +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 7a19119dc7 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-13 16:44:41 +08:00
Xiaoyu Wang 3cce178721 enh: do coverity scan 2022-10-13 16:43:56 +08:00
Haojun Liao 18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +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
Xiaoyu Wang 6954d4902b fix: some problems of parser 2022-10-12 14:18:03 +08:00
dapan1121 55a26990da feat: support case when cases 2022-10-08 19:07:43 +08:00
54liuyao 747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +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 ee9190e9c0 fix: subplans under set operator use different group ids 2022-09-23 11:26:03 +08:00
Xiaoyu Wang 0321b8c088 fix: avg function data scan optimization 2022-09-22 15:08:07 +08:00
Xiaoyu Wang 876303be56 enh: added memory allocators for parser and planner 2022-09-21 17:42:03 +08:00
Xiaoyu Wang 5116e0a01b enh: added memory allocators for parser and planner 2022-09-21 17:04:12 +08:00
Xiaoyu Wang 3abfb569ba Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-09-21 14:00:55 +08:00
Xiaoyu Wang 8a010a58f3 enh: added memory allocators for parser and planner 2022-09-20 16:13:08 +08:00
Xiaoyu Wang f2b02318f9 enh: the expression in project is pushed down to scan 2022-09-19 19:03:35 +08:00
Xiaoyu Wang 1aa9624ea3 enh: the expression in project is pushed down to scan 2022-09-19 17:47:07 +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 ff9d673489 enh: add binary serialization method to node structure 2022-09-13 10:48:39 +08:00
wade zhang d21c5badf4
Merge pull request #16566 from taosdata/feature/TD-18814
feat(stream):stream partition by column
2022-09-01 16:09:06 +08:00
54liuyao 83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Xiaoyu Wang faa731827e enh: add the queryPlannerTrace parameter to control the debug output of the planner 2022-09-01 14:44:01 +08:00
Xiaoyu Wang 417a29af0a fix: a plan problem of system table complex query 2022-08-30 14:32:07 +08:00
Shengliang Guan 52f8fbb997
Merge pull request #16473 from taosdata/enh/3.0_planner_optimize
enh: super table scan requires project operator to merge packets to improve performance
2022-08-30 09:07:52 +08:00
Xiaoyu Wang a39e6f7d92 enh: super table scan requires project operator to merge packets to improve performance 2022-08-29 14:01:18 +08:00
Xiaoyu Wang 4895f19876 fix: plan problem with sorting the first column of the system table 2022-08-25 18:39:23 +08:00
Shengliang Guan 0758d32964
Merge pull request #16382 from taosdata/feat/3.0_systable_privilege_wxy
feat: system table visible permission
2022-08-25 11:08:12 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +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
Xiaoyu Wang 2ad70dff1e fix: output datablcok desc error 2022-08-12 17:08:32 +08:00
Haojun Liao dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Xiaoyu Wang 03784406c4 fix: improve create stream check 2022-08-11 22:08:19 +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 0829f6611c Merge remote-tracking branch 'origin/feature/3.0_query_optimize' into feature/3.0_query_optimize_wxy 2022-08-09 10:20:32 +08:00
Xiaoyu Wang 7e1917f105 enh: refine the data requirements of the partition physical plan 2022-08-09 09:55:03 +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 3fb91c6a18 enh: set _wstart to the output datablock of fill 2022-08-08 17:29:11 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Xiaoyu Wang 536c6bdbc5 fix: add checks for stream query 2022-08-08 11:40:48 +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 5750525f9a fix: condition race error 2022-08-06 15:25:53 +08:00
Xiaoyu Wang 9bfc7ba69c fix: plan problem of create stream statement 2022-08-05 19:40:06 +08:00
Xiaoyu Wang 0f3a7e314e fix: plan problem of create stream statement 2022-08-05 17:37:58 +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
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Xiaoyu Wang c8c9bbdeb1 enh: last_row function scan in reverse order 2022-08-03 17:04:14 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang 415ff2b13b
Merge pull request #15690 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-08-03 11:25:55 +08:00
Xiaoyu Wang adc8bd236b fix: some problems of parser 2022-08-02 20:55:25 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
shenglian-zhou 16357345ef
Merge pull request #15678 from taosdata/szhou/fix/join
fix: make multi-table table join test case pass CI
2022-08-02 17:02:00 +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
dapan1121 517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
slzhou 5b8207556c fix: taken onCondtion of join node into account when eliminate projects 2022-08-02 14:47:29 +08:00
Xiaoyu Wang a62a7cc41f enh: aggregate and window add field for merge data blocks 2022-08-01 21:05:44 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
Xiaoyu Wang f06a36b171
Merge pull request #15607 from taosdata/feature/3.0_prof_wxy
enh: write performance optimization
2022-08-01 09:56:15 +08:00
Xiaoyu Wang 5a3c377c68 enh: write performance optimization 2022-07-30 19:23:06 +08:00
shenglian-zhou 71e414957b
Merge pull request #15570 from taosdata/szhou/fix/join
fix: nested query can be used as table for join together
2022-07-30 17:03:40 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
slzhou d992ab1401 fix: nested query can be used as table for join together 2022-07-30 09:09:59 +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 0550ab5306 enh: last function optimize 2022-07-29 19:21:00 +08:00
Xiaoyu Wang f929187e63 enh: last function optimize 2022-07-29 18:30:03 +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
Xiaoyu Wang d7a525f21f Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-29 09:28:52 +08:00
Xiaoyu Wang 9053645ab7 feat: super table order by primary key optimization 2022-07-28 20:24:49 +08:00
Xiaoyu Wang fc0780c35a enh: last function optimize 2022-07-28 19:27:37 +08:00
Xiaoyu Wang 421c8eaf71 enh: last function optimize 2022-07-28 17:38:55 +08:00
slzhou@taodata.com 82fcb44257 fix: compare scan target and agg target when tag scan optimize 2022-07-28 17:18:39 +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
shenglian-zhou 09218fefc8
Merge pull request #15465 from taosdata/szhou/fix/udf
fix: prepare for multirow join
2022-07-27 16:09:27 +08:00
Xiaoyu Wang 58514862e6 feat: delete sink node add ts column name attribute 2022-07-27 15:25:57 +08:00
slzhou@taodata.com 3469117732 fix: add input ts order to physical plan join node 2022-07-27 15:12:23 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
Xiaoyu Wang 8bb432c348 feat: super table order by primary key optimization 2022-07-25 16:45:23 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Xiaoyu Wang 3158f705fc Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-25 11:16:24 +08:00
Xiaoyu Wang dbd71d247c feat: super table order by primary key optimization 2022-07-23 20:46:39 +08:00
dapan1121 2a5bc2c332
Merge pull request #15343 from taosdata/fix/TD-17712
fix: add debug info
2022-07-23 20:27:00 +08:00
dapan1121 3cc22ef10b fix: fix plan optimize issue 2022-07-23 19:52:15 +08:00
Xiaoyu Wang 616539a700 feat: super table order by primary key optimization 2022-07-23 17:30:00 +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 3b6837598c fix: plan problem when functions that requires a timeline is used in a partition by query 2022-07-22 21:06:20 +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 9c81f95d89 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:30:18 +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 958f3586c0 fix: the problem of data loss when interval is used for outer query 2022-07-22 11:41:18 +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 dad14a28c9 merge 3.0 2022-07-21 19:24:14 +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
slzhou@taodata.com c8969d0ec4 fix: remove scan targets that does not relate to root agg targets 2022-07-21 15:50:20 +08:00
Xiaoyu Wang 72f44315e0 fix: plan problem caused by partition by tbname interval optimize 2022-07-21 15:24:51 +08:00
Xiaoyu Wang c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +08:00
Xiaoyu Wang 37ec05a715 fix: memory leak problems of parser and planner 2022-07-20 17:20:29 +08:00
shenglian zhou 4901b59530 fix: optimizing to do tag scan when tbname exists 2022-07-19 19:13:15 +08:00
shenglian zhou ea102128ba fix: remove scan cols and ts target from scan node when tag scan 2022-07-19 14:25:38 +08:00
shenglian zhou 30c43a3304 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/td-17505 2022-07-19 09:48:34 +08:00
shenglian zhou 792170b0f5 fix: remove agg node after apply tag scan optimization 2022-07-19 09:48:04 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
liuyao f41b7a6810
Merge pull request #14974 from taosdata/feature/TD-17357
feat(stream): optimize interval plan
2022-07-16 09:57:52 +08:00
shenglian-zhou f8276707e5
Merge pull request #14973 from taosdata/szhou/feature/user-tags
fix: enable tag scan optimization when the scan cols is empty before adding ts col
2022-07-16 09:29:40 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +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
Haojun Liao f60f821c13 fix(query): fix partition by bug for last_row query. 2022-07-15 15:04:22 +08:00
Xiaoyu Wang 1342fbe913 fix: sql command 'show table distributed' 2022-07-15 11:59:42 +08:00
Xiaoyu Wang 873ff96bc1 fix: a problem of last_row function plan 2022-07-15 11:01:19 +08:00
Xiaoyu Wang 9522288f6b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-15 08:44:23 +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
Haojun Liao ab6ed4bffa fix(query): add exec node for lastrow query. 2022-07-14 20:37:07 +08:00
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
Xiaoyu Wang 570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +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 db65b890c8 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:14:13 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
slzhou@taodata.com 77b1f92da9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17263 2022-07-13 13:08:25 +08:00
slzhou@taodata.com 65e6538352 fix: optimize the scan only when interval window 2022-07-13 13:07:10 +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
shenglian-zhou f797e60f3f
Merge pull request #14777 from taosdata/szhou/td-17001
feat: tag scan optimization
2022-07-12 09:59:33 +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 ad1154c008
Merge pull request #14776 from taosdata/feature/3.0_debug_wxy
fix: some problems of 'partition by' execution plan
2022-07-12 09:29:12 +08:00
slzhou@taodata.com 5e50bf8dc8 fix: avoid tag scan when scan cols is not empty 2022-07-12 09:24:57 +08:00
dapan1121 177814f6eb
Merge pull request #14781 from taosdata/fix/stmt_rerun
fix: fix stmt rerun incorrect uid issue
2022-07-11 21:15:02 +08:00
slzhou@taodata.com f26063202e feat: tag scan optimization 2022-07-11 18:34:12 +08:00
Xiaoyu Wang 12759683ca fix: some problems of 'partition by' execution plan 2022-07-11 18:23:54 +08:00
dapan1121 1eba184907 fix: fix stmt rerun issue 2022-07-11 15:58:21 +08:00
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang b542b8f49a fix: some problem of parser and planner 2022-07-10 17:31:15 +08:00
Xiaoyu Wang 72738040a9 fix: some problem of parser and planner 2022-07-10 16:44:50 +08:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
dapan1121 750903f511 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 11:14:44 +08:00
Xiaoyu Wang 9aa35c2e28 feat: sql command 'insert ... select' 2022-07-08 11:08:46 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
dapan1121 b849252eed feat: insert from query 2022-07-08 10:27:17 +08:00
Xiaoyu Wang 80172d5c61 feat: sql command 'insert ... select' 2022-07-08 09:59:05 +08:00
Xiaoyu Wang f3e70272cf Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-08 09:37:34 +08:00
Xiaoyu Wang 1fea06bd6f feat: sql command 'insert ... select' 2022-07-08 09:37:07 +08:00
Xiaoyu Wang 0fd55077f5 feat: sql command 'insert ... select' 2022-07-08 09:33:28 +08:00
slzhou 90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
shenglian zhou eef1fc035e feat: add conditions to logical plan 2022-07-06 22:01:17 +08:00
shenglian-zhou a6545b600c
Merge pull request #14612 from taosdata/szhou/feature/push-project-condition
fix: add condition to window operator
2022-07-06 20:27:29 +08:00
slzhou 7c35dce7fc fix: add condition to window operator 2022-07-06 18:31:54 +08:00
shenglian-zhou 7aebf05699
Merge pull request #14605 from taosdata/szhou/feature/push-project-condition
feat: push condition down the tree
2022-07-06 17:45:37 +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
slzhou 1a70a5f904 feat: push down filter from sort and partition 2022-07-06 17:13:29 +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
Minglei Jin fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Xiaoyu Wang 811bdc2b06 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-05 21:12:53 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
slzhou@taodata.com dd1dbe22ff feat: remove restriction on logcial child type 2022-07-05 19:12:42 +08:00
slzhou@taodata.com 26e4fcf56d feat: push project cond to child 2022-07-05 19:08:08 +08:00
Xiaoyu Wang cf9a6deaa5
Merge pull request #14543 from taosdata/feature/3.0_debug_wxy
fix: execution plan problem in the mode of using qnode as much as possible
2022-07-05 18:48:02 +08:00
slzhou 64d2456073 fix: when there are no where condtions 2022-07-05 15:16:52 +08:00
slzhou b719e3ce24 fix: extract merge cond when no where condition 2022-07-05 14:56:40 +08:00
Xiaoyu Wang d223a6624b fix: execution plan problem in the mode of using qnode as much as possible 2022-07-05 14:55:32 +08:00