Commit Graph

1182 Commits

Author SHA1 Message Date
dapan1121 537e56c904 fix: scan columns duplicated issue 2023-11-14 08:51:23 +08:00
dapan1121 dbba1385b3 fix: scan columns issue 2023-11-13 19:51:38 +08:00
dapan1121 c5d621c910 fix: remove usless scan columns 2023-11-13 18:40:55 +08:00
dapan1121 8bcb7f8741 fix: windows compile error 2023-11-10 17:29:52 +08:00
dapan1121 a8de040af2 fix: remove non sort usage for now 2023-11-10 16:13:23 +08:00
dapan1121 350fac01a0 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-10 11:48:55 +08:00
dapan1121 dd0ac98a5f fix: correct no data load 2023-11-09 19:25:44 +08:00
wangjiaming0909 a6600ab23a correct colid in blockinfo 2023-11-09 15:41:01 +08:00
dapan1121 6352b28b4c fix: split scan columns from cache last scan 2023-11-09 09:47:55 +08:00
dapan1121 38196f37b9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-08 18:48:13 +08:00
dapan1121 49ebb7145e enh: support split cache last and other functions 2023-11-08 18:42:41 +08:00
wangjiaming0909 3e850df3c2 fix: last(ts2), ts2, ts caused data err 2023-11-08 14:43:11 +08:00
wangjiaming0909 fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
dapan1121 604c701290 Merge remote-tracking branch 'origin/feat/TS-4122' into feat/TD-24802 2023-11-07 15:59:01 +08:00
slzhou 433d3b7354 fix: select tags const from table 2023-11-07 15:47:36 +08:00
dapan1121 c2ec373557 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-07 10:09:10 +08:00
dapan1121 0ed4d1507f feat: support non_sort mode 2023-11-07 09:23:06 +08:00
wangjiaming0909 04a1f2ef4d feat: cache scan for select last(c), ts/c 2023-11-06 15:26:12 +08:00
dapan1121 b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
wangjiaming0909 04c60486e9 feat: support interval syntax of quoted duration and default unit 2023-10-19 15:46:19 +08:00
slzhou 34246ea001 fix: tag scan support limit and remove slimit optimization 2023-10-16 16:43:15 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
wangjiaming0909 eea90507d4 feat: remove partition node for agg 2023-10-10 14:29:36 +08:00
wangjiaming0909 2340a952aa fix: group by operator may cause client assert fail 2023-09-28 10:23:33 +08:00
wangjiaming0909 f2832b5aa7 feat: pipelined agg when partition by col slimit 2023-09-21 17:45:49 +08:00
wangjiaming0909 1e53e6cfeb optimize count()/last() + partition by tbname/tag 2023-09-19 14:56:02 +08:00
dapan1121 8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
wangjiaming0909 cb78c54d72 optimize sort perf 2023-09-13 18:37:42 +08:00
dapan1121 dd1457e49c fix: join condition with single param operator 2023-09-12 19:18:43 +08:00
wangjiaming0909 952d6e1492 fix: coverity issues 2023-09-08 10:26:37 +08:00
wangjiaming0909 4a131000e4 fix: data error of partition by col + interval 2023-09-07 10:49:09 +08:00
shenglian zhou 6b79947402 fix: fix coverity scan issue 2023-09-06 08:48:46 +08:00
wangjiaming0909 2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
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 15f57cadfb fix: other join conditions issue 2023-08-30 13:45:59 +08:00
Ganlin Zhao 4b954c0874 fix potential overflow 2023-08-30 10:25:16 +08:00
Ganlin Zhao 026f61ee16 fix bug 2023-08-29 18:24:31 +08:00
Ganlin Zhao d0fb485573 fix all possible overflow using md5 2023-08-29 15:51:29 +08:00
dapan1121 667fe69fd1 fix: join on condition split issue 2023-08-29 10:40:32 +08:00
Ganlin Zhao 1190442936 fix: use MD5 hash to fix aliasname not enough to hold dbname.tbname 2023-08-23 22:58:11 +08:00
dapan1121 5faf7d967d fix: table version release issue 2023-08-22 13:55:45 +08:00
dapan1121 bfa59b8a5b fix: tbname rewrite issue 2023-08-18 15:46:00 +08:00
dapan1121 3bd2272332 fix: empty param issue 2023-08-18 15:16:26 +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
slzhou 85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
dapan1121 43c056fb61 fix: node clone and mac compile issues 2023-08-17 16:01:38 +08:00
dapan1121 e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
dapan1121 73d7caa63a fix: remove uid from scan list 2023-08-16 19:12:32 +08:00
slzhou 0c62eed08f fix: select tags - change tbname error 2023-08-16 15:14:02 +08:00
dapan1121 143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121 91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
slzhou 27d7c659bc fix: minor error 2023-08-16 14:17:48 +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
dapan1121 a6ecb7253e
Merge pull request #22390 from taosdata/feat/3.0/TD-25365
feat: optimize select agg_func partition by tag slimit
2023-08-16 13:32:58 +08:00
wangjiaming0909 e587cc50e6 feat: optimize select agg_func partition by tag slimit 2023-08-16 11:20:56 +08:00
slzhou d7c55cf8fc Merge branch 'szhou/select-tags-scan' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-16 10:30:16 +08:00
slzhou 1c9611ea51 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-16 09:14:04 +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
slzhou 012248b681 fix: move the only ctb idx flag to logical plan 2023-08-14 19:26:53 +08:00
dapan1121 6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
slzhou f9c897221c fix: move the setting of onlyCtbIdx to front end 2023-08-14 16:30:31 +08:00
dapan1121 6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121 b4b9a12d61 fix: memory issue 2023-08-14 09:06:21 +08:00
dapan1121 c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
Haojun Liao b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
dapan1121 ce1b294c51 fix: memory leak issues 2023-08-10 11:29:14 +08:00
dapan1121 1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
dapan1121 1aac643a9b enh: support single vnode join 2023-08-09 10:30:35 +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
dapan1121 a95295774a enh: end table scan 2023-08-07 19:35:33 +08:00
wangjiaming0909 fba43e1748 feature: optimize interval with limit 2023-08-04 15:04:04 +08:00
slzhou 658c64f16f fix: make statekey of state window operator not target node 2023-08-03 21:43:08 +08:00
dapan1121 b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
dapan1121 9ed1417bba enh: remove group cache 2023-07-28 18:00:33 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
dapan1121 e83a46b88f enh: cache necessary file for seq mode 2023-07-26 19:17:59 +08:00
dapan1121 4f75eb5655 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-24 11:43:15 +08:00
wangjiaming0909 7d850c1a5e feat: optimize partition by tbname slimit 2023-07-20 15:07:55 +08:00
dapan1121 c45359c989 enh: add batch table scan 2023-07-19 10:37:30 +08:00
dapan1121 a1e18ac898 fix: fix global cache issue 2023-07-17 09:25:28 +08:00
dapan1121 188df1d675 fix: fix bugs 2023-07-14 19:36:56 +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 2312f10372 enh: support concurrent fetch from group cache 2023-07-14 13:30:13 +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 779224f0a6 fix: fix bugs 2023-07-06 19:33:31 +08:00
dapan1121 7b9d73c77a feat: add dynamic query ctrl operator 2023-07-05 11:07:08 +08:00
dapan1121 ac35ae9839 feat: add dynamic query ctrl operator 2023-07-03 19:29:46 +08:00
dapan1121 60290b98e4 feat: add group cache operator 2023-06-30 19:20:36 +08:00
dapan1121 226ee06209 enh: add physical plan processing 2023-06-29 19:28:32 +08:00
dapan1121 9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
dapan1121 81a2bf10cf enh: optimize stable join 2023-06-28 19:39:04 +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 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
dapan1121 ce2635074d enh: add uid/vgid functions 2023-06-26 11:48:47 +08:00
wangjiaming0909 632fb40a43 postfix: propagate ts order to parents for more logic nodes 2023-06-21 09:31:44 +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
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
dapan1121 693bac60a0
Merge pull request #21430 from taosdata/fix/TD-24349
fix: last(tbname) out of memory issue
2023-05-24 08:52:49 +08:00
dapan1121 d66f45308c fix: fix last(tbname) out of memory issue 2023-05-23 14:06:29 +08:00
kailixu a37d2c40fc chore: error logs of create sma cols 2023-05-23 11:06:44 +08:00
kailixu 329797ce23 fix: add _wstart if not exists 2023-05-23 10:57:34 +08:00
kailixu a171c0c860 Merge branch '3.0' into fix/TD-21457-3.0 2023-05-23 09:27:31 +08:00
kailixu c75aa54a3d fix: tsdb read and append _wstart for tsma 2023-05-22 20:33:29 +08:00
dapan1121 840eb21825 fix: last(tag) report error issue 2023-05-22 18:19:39 +08:00
kailixu f18fc19d76 fix: tsdb read and tsma _wstart append 2023-05-22 16:13:50 +08:00
dapan1121 e7496d7b82
Merge pull request #21388 from wangjiaming0909/fix/TS-3423
fix: select last(*) ..group by tag return wrong rows of data
2023-05-22 11:13:26 +08:00
Haojun Liao 200c1a367b
Merge pull request #21378 from taosdata/fix/nodisk
fix(query): do some internal refactor, and fix the bug when calender duration exists in sliding and offset.
2023-05-19 19:30:04 +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
wangjiaming0909 3dbbe63092 fix: select last(*) ..group by tag return wrong rows of data 2023-05-19 16:50:27 +08:00
slzhou d77eefdc93 fix: change more variable names 2023-05-19 15:43:31 +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
dapan1121 6a1eb62dd4 fix: distinct group issue 2023-05-19 11:26:40 +08:00
Haojun Liao 1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
dapan1121 27b228b79b
Merge pull request #21365 from taosdata/fix/TD-24188
enh: optimize order by for partition by clause
2023-05-19 08:57:11 +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
slzhou 304423e27b Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3405 2023-05-18 13:27:58 +08:00
dapan1121 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dapan1121 ab7cb995a2 fix: join push down condition issue 2023-05-17 15:31:53 +08:00
slzhou 03e77288e8 fix: add on conditions null check and rightRowLocations no longer hides the outer scope rightRowLocations 2023-05-17 10:07:19 +08:00
shenglian zhou a51de5cc93 fix: add restriction 2023-05-16 16:31:58 +08:00
shenglian zhou c6555c3b37 fix: join operator finished 2023-05-16 16:25:55 +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
shenglian zhou 629ab2b85f fix: extract tag equal condition 2023-05-15 16:10:11 +08:00
Haojun Liao 5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
slzhou 51fa0aeb64 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3400 2023-05-13 00:02:03 +08:00
shenglian zhou 0ea8de64df fix: code refactor 2023-05-12 20:20:53 +08:00
slzhou 5b866edae7 fix: disable table count scan optimized when filters and group by both exist 2023-05-12 18:51:18 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
slzhou e58fda2bdd fix: bypass projection pruning if union set op and subquery 2023-05-11 16:04:06 +08:00
dapan1121 a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +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
dapan1121 51a1e07dbf
Merge pull request #21029 from taosdata/fix/TD-23797
fix: fix crash caused by deleting from system table
2023-04-26 17:48:58 +08:00
shenglian zhou 93ab81437f enhance: code refactor and operator full implement slimit 2023-04-25 11:08:58 +08:00
shenglian zhou 758427b3c4 fix: use slimit to indicate group for tag scan 2023-04-24 15:48:20 +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
shenglian zhou 3a9dddd619 enhance: modify inside isEligibleAgg func 2023-04-20 15:11:12 +08:00
shenglian zhou cc78a6356c fix: do not performace table count scan optimized where there are no agg functions 2023-04-20 13:54:22 +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 586b3945d1 feat: last queries with tags output can be read from cache 2023-04-19 13:09:11 +08:00
Xiaoyu Wang 6669c3a5ad feat: last queries with tags output can be read from cache 2023-04-18 17:13:14 +08:00
shenglian zhou 71d59281ff fix: select * from (select * from t order by ts desc) order by ts 2023-04-10 14:03:56 +08:00
Xiaoyu Wang 0e53e578a7
Merge pull request #20748 from taosdata/fix/TD-23473
ehn(plan/optimizer): remove tbname fetching with cached groupby
2023-04-04 09:36:56 +08:00
Minglei Jin 6a3bcf4a71 ehn(plan/optimizer): remove tbname fetching with cached groupby 2023-04-03 19:08:57 +08:00
Xiaoyu Wang 10979f6fc2 fix: when the set operator statement is used for subquery, the outer layer filtering fails. 2023-03-30 13:34:35 +08:00
Xiaoyu Wang f30cb8e527 fix: when the set operator statement is used for subquery, the outer layer filtering fails. 2023-03-30 10:58:33 +08:00
Haojun Liao 0d9d2ea293 fix(query): do some internal refactor, and fix the bug when calender time duration exists in sliding and offset. 2023-02-17 18:31:32 +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 8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +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
Xiaoyu Wang beb3de8530 fix: limit push down error 2023-01-28 10:53:43 +08:00
Xiaoyu Wang ec1592390a fix: limit push down error 2023-01-28 10:35:21 +08:00
Xiaoyu Wang f8082bc752
Merge pull request #19623 from taosdata/enh/3.0_planner_optimize
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-18 17:25:16 +08:00
Xiaoyu Wang f1d6262630 enh: optimize execute plan when 'tail' function is used with 'partition by' clause 2023-01-18 12:26:01 +08:00
Xiaoyu Wang 554b8c6418 enh: optimize execute plan when 'tail' function is used with 'partition by' clause 2023-01-18 04:43:04 +08:00
dapan1121 62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Xiaoyu Wang 30381ec446 fix: sma optimize memory leak 2023-01-16 11:03:53 +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
wangmm0220 730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
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