Commit Graph

1182 Commits

Author SHA1 Message Date
dapan1121 7621d72e04
Merge branch '3.0' into feat/TD-27337 2024-04-16 13:33:25 +08:00
Haojun Liao e0cb17211b
Merge pull request #25358 from taosdata/feat/TS-4243-3.0
fix: extracted data block shall initialize pks of datablock info
2024-04-16 13:30:48 +08:00
dapan1121 1d24b3da77 fix: compile issues 2024-04-16 09:46:58 +08:00
dapan1121 55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
dapan1121 34a943a1f2
Merge pull request #25242 from taosdata/feat/ly_query
adj last function
2024-04-15 16:04:23 +08:00
slzhou 5f28ee0e52 fix: wrongly changed the column type of pk col during last row scan optimize 2024-04-15 11:28:09 +08:00
dapan1121 6f8040c754 fix: join condition issue 2024-04-12 17:24:33 +08:00
dapan1121 319ab5f2c2 enh: support hash join 2024-04-12 15:44:23 +08:00
dapan1121 86db8efcda enh: support hash join 2024-04-10 19:27:36 +08:00
Minglei Jin dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
dapan1121 5091247957
Merge pull request #25232 from taosdata/feat/TD-29093/2
Feat/td 29093/2
2024-04-10 09:18:15 +08:00
slzhou e0f1e8502e fix: add pk col to last row scan cols 2024-04-10 09:03:04 +08:00
54liuyao 20efb35c6e add tag for split plan 2024-04-09 19:09:20 +08:00
54liuyao 0f6e87b3c9 add tag for last row 2024-04-09 14:53:50 +08:00
dapan1121 8407eb3791 enh: outer join performance optimization 2024-04-09 09:48:38 +08:00
54liuyao e0a5b2dd9d split last tag 2024-04-08 08:55:13 +08:00
dapan1121 337f39191e fix: eliminate project issue 2024-04-03 18:35:50 +08:00
dapan1121 4217223a6a fix: join merge block issue 2024-04-03 09:54:49 +08:00
54liuyao 537395e845 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-03 09:54:10 +08:00
dapan1121 5934a137dd fix: group cache fetch issue 2024-04-02 16:09:32 +08:00
kailixu 77d912c210 fix: primary key should not be null or none 2024-04-02 14:39:13 +08:00
factosea 3257c7c082 fix: tag is null when table is empty 2024-04-01 19:44:26 +08:00
dapan1121 0fb672d8a6 enh: optimize join performance 2024-04-01 15:24:12 +08:00
54liuyao 39a89c20bd Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-29 13:53:22 +08:00
slzhou fe1a7e4b9c feat: add pk col to scan cols of scan logic node of delete operation 2024-03-29 11:05:45 +08:00
dapan1121 26a93847c3 enh: optimize outer join 2024-03-29 08:28:33 +08:00
dapan1121 4208557d6d fix: count(*) rewrite issue 2024-03-28 16:44:07 +08:00
dapan1121 74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
54liuyao 135bdb37a0 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-26 16:38:51 +08:00
slzhou f778dce52d fix: add pk for merge generated during merge scan node split 2024-03-26 14:13:10 +08:00
dapan1121 3f71b53101 fix: case issues 2024-03-26 08:42:17 +08:00
54liuyao a02535c3ab Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 11:15:21 +08:00
slzhou f9a6243859 fix: add pk col after ts col to make operator of show table distributed super_table work 2024-03-25 09:38:50 +08:00
dapan1121 91d3848c71 fix: case issue 2024-03-23 20:24:50 +08:00
Haojun Liao ef6ea16d64 other: merge 3.0 2024-03-22 17:57:25 +08:00
dapan1121 e6caf6fd43 fix: binary copy and case issue 2024-03-22 11:02:21 +08:00
dapan1121 3835a5b349 fix: error log and union issue 2024-03-22 08:47:07 +08:00
54liuyao 680f96156f Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-22 08:37:42 +08:00
slzhou 8d5bed5076 feat: diff/derivate/irate/twa do not support desc order 2024-03-21 15:11:54 +08:00
54liuyao 7a0ec25912 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-21 10:50:29 +08:00
54liuyao a60f390cdc stream primary key 2024-03-21 10:50:07 +08:00
slzhou 100bc2de4b fix: add the tableHasPk and isPk for created default col 2024-03-21 09:49:28 +08:00
dapan1121 65c57e88cd Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-20 15:48:43 +08:00
slzhou bb24a8e3ca feat: add pk as default col and add pk as sortinfo for table merge scan 2024-03-20 15:46:54 +08:00
dapan1121 1c0d20a2a4 enh: add test cases 2024-03-20 15:45:24 +08:00
54liuyao a0346aad2e adjust project optimize rule 2024-03-20 11:26:33 +08:00
dapan1121 2ce880f48c fix: memory leak issues 2024-03-19 17:05:44 +08:00
dapan1121 abd36b0b1a enh: support timeline processing 2024-03-19 16:01: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
dapan1121 b96cfab82f
Merge pull request #24998 from taosdata/szhou/tms/region-block
feat: tms region block
2024-03-13 09:12:35 +08:00
54liuyao 7429096cb6 use non sort merge 2024-03-12 13:39:01 +08:00
54liuyao 14c6dbd2af use non sort merge 2024-03-12 11:45:54 +08:00
wangmm0220 9e5ac49538 fix:[TS-4551] vgroplist is null in subscribe 2024-03-11 09:53:47 +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 46ea22eecb Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-06 13:12:01 +08:00
dapan1121 7045126aa6 fix: inner join issue 2024-03-06 11:18:57 +08:00
54liuyao dfae8a9471 optimze plan and add ci 2024-03-01 11:31:46 +08:00
dapan1121 e17518e07f Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-29 17:55:17 +08:00
dapan1121 85cca872a5 enh: support timetruncate function 2024-02-29 17:52:53 +08:00
54liuyao 02379524a1 fix count window issue 2024-02-29 11:30:16 +08:00
dapan1121 521c96913e Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-27 18:20:45 +08:00
dapan1121 8a2b4e2d86 enh: support group join 2024-02-27 18:18:25 +08:00
54liuyao 654aa68137 disable query count 2024-02-27 11:41:44 +08:00
54liuyao abd000ed03 disable query count 2024-02-27 10:29:15 +08:00
dapan1121 97aca25633 enh: support group join 2024-02-23 17:59:45 +08:00
dapan1121 a745319b81 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-23 08:59:16 +08:00
dapan1121 807bba9215 fix: window join issues 2024-02-22 18:59:10 +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
dapan1121 c4dbae3a5a enh: add window join ut 2024-02-20 17:13:29 -08:00
dapan1121 b26716f2e8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-18 22:15:43 -08:00
54liuyao b53dc5602e Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-02-19 10:58:20 +08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
54liuyao d40dfa973b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 18:37:47 +08:00
54liuyao c588770699 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 15:10:34 +08:00
wangjiaming0909 573fdfbbfd fix: plannerTest/parserTest crash and memory leaks 2024-02-05 13:05:01 +08:00
kailixu 3ebc26e1fb feat: support uniq grant 2024-02-04 16:33:43 +08:00
54liuyao ea9353b9fd merge 3.0 2024-02-04 16:04:23 +08:00
kailixu 6cf7809e8d feat: support uniq grant 2024-02-04 14:59:47 +08:00
kailixu a9316c3710 feat: support uniq grant 2024-02-04 12:28:00 +08:00
shenglian zhou f77b602da9 fix: change from seq_blocks_sort to para_tables_sort 2024-02-02 14:45:04 +08:00
dapan1121 948845ea35 fix: join order by not work issue 2024-02-02 10:38:09 +08:00
dapan1121 ab87953362 enh: support window join 2024-02-01 14:58:08 +08:00
wangmm0220 a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
slzhou 1e30ac9408 fix: compilation error 2024-02-01 10:30:07 +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
54liuyao 7105b0ffe3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-25 10:12:13 +08:00
dapan1121 6640809638 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-23 14:48:12 +08:00
dapan1121 310f4c3d40
Merge pull request #24578 from taosdata/fix/TS-4467
fix: join subquery timestamp order mis-match issue
2024-01-23 11:24:05 +08:00
54liuyao 0975e37845 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-23 10:07:50 +08:00
dapan1121 cbe34ad76e fix: mac compile error 2024-01-22 17:11:15 +08:00
dapan1121 5d58c27f56 fix: join subquery timestamp order mis-match issue 2024-01-22 14:03:11 +08:00
slzhou c3c8d7b07d fix: compute scalar functions before agg in session window 2024-01-22 10:11:06 +08:00
dapan1121 3fecb387cc enh: support asof join 2024-01-19 18:03:16 +08:00
54liuyao 5a7d72d6ef Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-19 10:39:11 +08:00
wangmm0220 7246fedfef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2024-01-18 19:08:35 +08:00
dapan1121 fb20dd51de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-18 17:11:25 +08:00
dapan1121 dcfa6c220e fix: compile issues 2024-01-18 17:09:59 +08:00
dapan1121 eed1095dc1
Merge pull request #24479 from taosdata/szhou/fix/td-28271
fix: add input ignore group to project
2024-01-18 08:49:31 +08:00
slzhou 9e0f83b800 fix: keep limit for project with input ignore group 2024-01-17 14:46:10 +08:00
54liuyao 3bbfb26e09 stream count window 2024-01-17 14:22:19 +08:00
slzhou 8e1039a07d fix: when input ignore group, split from scan 2024-01-17 10:30:07 +08:00
slzhou d3856ebbc7 fix: find the reason later 2024-01-16 14:28:37 +08:00
dapan1121 53094f62d8
Merge pull request #24359 from taosdata/FIX/TD-27003
Fix : use last row scan when select last_row, last
2024-01-16 08:50:23 +08:00
shenglian zhou 9c9d9dc24b fix: add input ignore group 2024-01-16 08:13:47 +08:00
wangmm0220 2ab54a1335 fix:conflicts from 3.0 2024-01-15 16:54:52 +08:00
fullhonest cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
shenglian zhou 8ae3aa24be fix: set ignore input group id 2024-01-15 11:58:29 +08:00
dapan1121 dec6e3fffe enh: support asof join 2024-01-12 18:29:27 +08:00
wangjiaming0909 bc1eacf626 add PARTITION_BEFORE_GROUP hint to use partition node before agg 2024-01-12 17:41:34 +08:00
dapan1121 8d1f5ff479 enh: add asof 2024-01-11 19:25:12 +08:00
dapan1121 e784a5c210 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-10 18:57:19 +08:00
fullhonest 5bd29a413b Fix: not use last row scan when select tbname and last 2024-01-08 19:49:15 +08:00
Bob Liu 158c5996df adjust case 2023-12-27 15:51:36 +08:00
Bob Liu 86351d5487 check count & window 2023-12-27 01:05:04 +08:00
Bob Liu 3faf1514f4 doGroupedTableScan 2023-12-26 20:47:15 +08:00
dapan1121 194b1f03ae enh: support inner join 2023-12-26 19:28:19 +08:00
Bob Liu 2c9fa56e9c calcNeedCountEmpty 2023-12-26 10:24:50 +08:00
Bob Liu 15694df001 adjust 2023-12-25 11:54:10 +08:00
Bob Liu da0ecc18b9 test 2023-12-25 02:51:52 +08:00
Bob Liu 52c244d9ec adjust 2023-12-24 23:48:37 +08:00
Bob Liu c9b69316c1 calcNeedCountEmpty 2023-12-24 01:19:16 +08:00
dapan1121 8bdf3df6a9 enh: left join ut 2023-12-22 19:25:55 +08:00
wangmm0220 eac86f72b3 fix:partical func parameters for middle interval[checkStreamSTable1.sim] 2023-12-22 18:30:22 +08:00
Bob Liu e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
wangmm0220 902504b39b fix:partical func parameters for middle interval[checkStreamSTable1.sim] 2023-12-22 15:28:02 +08:00
wangmm0220 dd0afef6f2 fix:set triggerParams=0 in mid interval 2023-12-20 11:00:25 +08:00
wangmm0220 78c8ebae7f fix:remove useless code in split logic plan & random choose vnode in stream task & add test case 2023-12-19 16:35:04 +08:00
dapan1121 279b2aa10a enh: add join ut 2023-12-19 11:17:39 +08:00
wangmm0220 64f98744e2 fix:set trigger parms = 0 in source task if levelPlan != 1 2023-12-18 10:57:36 +08:00
dapan1121 e55b7c52d8 fix: add left join case 2023-12-14 17:06:19 +08:00
dapan1121 6d24c08651 fix: compile errors 2023-12-14 14:13:01 +08:00
wangmm0220 80ee5c1f13 fix:middle agg plan 2023-12-13 14:51:34 +08:00
dapan1121 13ab89bd1b Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-13 08:25:25 +08:00
wangmm0220 7ba6135f2c fix:error in split plan 2023-12-12 16:37:22 +08:00
wangmm0220 d1c2a03dc7 fix:conflicts from 3.0 2023-12-08 15:58:52 +08:00
dapan1121 a2ee41233e
Merge pull request #23835 from taosdata/szhou/tms-duration
feat: tsdb output in duration order
2023-12-08 09:07:41 +08:00
shenglian zhou ac531c6d7f enhance: add fileset delimited front end 2023-12-06 10:45:12 +08:00
xsren 7bb06cb1cc fix: userAlias 2023-12-06 09:13:18 +08:00
wangmm0220 fc9dfc77d0 fix:add plan for multi agg operator in stream 2023-12-05 20:07:20 +08:00
xsren 9bb82ac03b fix merge key 2023-12-05 19:43:00 +08:00
dapan1121 f5aaa92a7e enh: merge join 2023-12-01 18:33:50 +08:00
dapan1121 a09b9ac240 enh: push down conditions 2023-11-30 20:09:49 +08:00
dapan1121 abdf6d337a enh: push down conditions 2023-11-29 20:06:30 +08:00
dapan1121 84cc80be1c fix: add window_offset translate 2023-11-28 14:35:11 +08:00
dapan1121 d659bbb272 fix: memory reuse issue 2023-11-14 15:19:04 +08:00
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