Commit Graph

4870 Commits

Author SHA1 Message Date
Haojun Liao 9f492a8962 other: merge 3.0 2024-03-22 17:53:11 +08:00
wangmm0220 f1853ced26 feat:[TS-4243] add logic for primark key in tmq 2024-03-22 17:48:59 +08:00
slzhou 3426bb2870 fix: free the supplementy blocks array of merge tree 2024-03-22 15:58:39 +08:00
slzhou 4231b87158 feat: para_tables_sort table merge scan support ordering by ts and pk 2024-03-22 15:49:05 +08:00
slzhou fdff529860 feat: the table merge scan operator supports order by ts and pk 2024-03-22 14:19:43 +08:00
kailixu fb2667d92d fix: sys table scan and meta query 2024-03-22 10:33:46 +08:00
Haojun Liao ecd09059f5 fix(tsdb): fix error in reading data from file block 2024-03-22 10:16:56 +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
Haojun Liao 8bdd12c3a8 refactor: do some internal refactor. 2024-03-21 17:47:40 +08:00
Haojun Liao f58902180a fix(query): fix syntax error. 2024-03-21 15:51:39 +08:00
Haojun Liao 6b2821cd28 fix(query): not lock when reading meta, and do some internal refactor. 2024-03-21 15:45:28 +08:00
kailixu e18f056c9f enh: meta pause/resume for sys table scan 2024-03-21 10:52:00 +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
Haojun Liao b12e65d144 fix(tsdb): set pk column index. 2024-03-21 09:37:46 +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
slzhou 1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +08:00
dapan1121 2ce880f48c fix: memory leak issues 2024-03-19 17:05:44 +08:00
dapan1121 dcc650521a Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-19 16:04:15 +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
kailixu 12a111d7dd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-18 00:24:33 +08:00
dapan1121 062bdf686e
Merge pull request #25102 from taosdata/fix/TS-4563
fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq
2024-03-17 16:52:29 +08:00
Haojun Liao 74d7a0bd3e
Merge pull request #25112 from taosdata/fix/3_liaohj
fix(meta): fix repeatly reader lock for tsdb meta.
2024-03-16 23:57:55 +08:00
Haojun Liao 93c808326b fix(meta): fix repeatly reader lock for tsdb meta. 2024-03-16 22:03:46 +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
wangmm0220 5f687f0d88 fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq 2024-03-15 15:59:03 +08:00
kailixu a5f06114fd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-15 13:17:32 +08:00
Haojun Liao f4d01bcab6
Merge pull request #24811 from taosdata/fix/TD-28627
mid agg operator
2024-03-15 12:46:54 +08:00
kailixu 33405b67b6 fix: show tags for varbinary 2024-03-15 07:02:11 +08:00
kailixu 569d8e6d33 chore: test case for insert syntax and fix of show tags for varbinary/geometry 2024-03-15 02:18:19 +08:00
Haojun Liao 8e2d6d52f9
Merge pull request #25080 from taosdata/fix/ly_event_mem_leak
stream event window mem leak
2024-03-14 10:16:28 +08:00
54liuyao 9de0643566 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28627 2024-03-14 09:56:16 +08:00
Haojun Liao 2466e169a0
Merge pull request #25067 from taosdata/fix/TD-29073
open operator after resume stream
2024-03-13 17:43:13 +08:00
54liuyao c13338d965 stream event window mem leak 2024-03-13 16:16:44 +08:00
Hongze Cheng d9db5b015c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-13 13:31:59 +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
slzhou 5c691685ba fix: review comments 2024-03-12 16:53:56 +08:00
dapan1121 ceb96856f8
Merge pull request #25038 from taosdata/fix/TD-28961
ignore ouput group id for project
2024-03-12 16:38:25 +08:00
54liuyao 3835e0c156 open operator after resume stream 2024-03-12 16:35:55 +08:00
Hongze Cheng 6189ebabef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-12 15:19:02 +08:00
54liuyao 9ba7221910 use non sort merge 2024-03-12 15:05:54 +08:00
54liuyao 14c6dbd2af use non sort merge 2024-03-12 11:45:54 +08:00
54liuyao 4b9d74cf45 add some log 2024-03-11 19:12:29 +08:00
dapan1121 3f36f7ea52 enh: support desc join 2024-03-08 16:23:41 +08:00
shenglian zhou 3db2c1edf5 feat: add hint smalldata_ts_sort to disable row id sort 2024-03-08 14:36:55 +08:00
Hongze Cheng fbc52d2a9c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-08 13:15:11 +08:00
slzhou a42a897c85 enhance: assert the region offset is keep increasing 2024-03-08 10:47:32 +08:00
54liuyao 37071e0cfb do some stream fill refactor 2024-03-07 18:43:35 +08:00
Hongze Cheng 8853522131 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 14:41:03 +08:00
slzhou f690e5cfb9 fix: add error processing 2024-03-07 14:26:46 +08:00
slzhou 53aa45e225 Revert "feat: use tdfile api"
This reverts commit ffc8c8d148.
2024-03-07 11:31:02 +08:00
Haojun Liao f4265092ce
Merge pull request #25012 from taosdata/fix/TD-28997
load operator checkpoint
2024-03-07 11:06:55 +08:00
slzhou ffc8c8d148 feat: use tdfile api 2024-03-07 09:52:56 +08:00
Hongze Cheng 57d065e380 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 09:07:14 +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
dapan1121 3afec5e224 fix: join table fetch error 2024-03-06 10:46:38 +08:00
slzhou 4f8ff5b1a6 feat: remove seek when write to file and use a small write buf 2024-03-06 09:44:14 +08:00
54liuyao bd430a031a load operator checkpoint 2024-03-05 19:37:54 +08:00
54liuyao 57baceeeaf load operator checkpoint 2024-03-05 19:14:20 +08:00
54liuyao 4d1b556bc5 load operator checkpoint 2024-03-05 18:54:07 +08:00
Hongze Cheng 5103880397 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-04 19:25:34 +08:00
facetosea aaa1c1d4a8 fix: memleak 2024-03-04 16:32:37 +08:00
shenglian zhou b6095261f2 feat: ordered region and blocks 2024-03-04 15:42:14 +08:00
Hongze Cheng c8280e05dd Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-03 16:01:34 +08:00
WANG MINGMING 64656a1db9
Merge branch '3.0' into fix/TD-28627 2024-03-01 18:03:28 +08:00
dapan1121 f13c9d2ca4 fix: merge join timetruncate issue 2024-03-01 09:49:59 +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
dapan1121 0a627e7be8
Merge pull request #24947 from taosdata/fix/ly_count
fix count window issue
2024-02-29 16:42:05 +08:00
Hongze Cheng a6c7d5fcf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-29 15:00:25 +08:00
54liuyao fa45a5abd2 fix count window issue 2024-02-29 14:04:59 +08:00
dapan1121 25872193b3
Merge pull request #24939 from taosdata/szhou/fix/td-28900
fix: no memory trim when no para tables scan
2024-02-29 14:02:08 +08:00
54liuyao 02379524a1 fix count window issue 2024-02-29 11:30:16 +08:00
slzhou 049f27bf3e fix: use C File API 2024-02-29 09:47:16 +08:00
slzhou e81afaf0a2 fix: no memory trim when no para tables scan 2024-02-29 09:12:15 +08:00
WANG MINGMING bf17556c59
Merge branch '3.0' into fix/TD-28627 2024-02-28 17:07:52 +08:00
slzhou 2fb0c1a00f feat: check temp space availability 2024-02-28 14:31:31 +08:00
slzhou 67559afcae fix: check ret value of lseek 2024-02-28 14:29:30 +08:00
slzhou 4474fcdd69 fix: add error processing related to files 2024-02-28 11:11:42 +08:00
dapan1121 479279b75e fix: block data load issue 2024-02-27 18:55:21 +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 0e522fbf5a set history task param 2024-02-27 16:30:38 +08:00
slzhou d021138f3b remove sort by row id and comments 2024-02-27 09:47:55 +08:00
Hongze Cheng 2c1f978fd2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-27 09:26:37 +08:00
dapan1121 2a00b154e7
Merge pull request #24875 from taosdata/szhou/fix/td-28544
fix: return error code instead of just out of memory
2024-02-27 08:31:29 +08:00
slzhou dc6d96da70 fix: remove taosMemoryTrim when free write buf 2024-02-26 16:45:15 +08:00
Hongze Cheng 98eeef9d07 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 16:40:05 +08:00
Hongze Cheng 8a669d3adc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 10:48:14 +08:00
54liuyao 5c4f0ae053 set max delay info 2024-02-26 10:26:28 +08:00
shenglian zhou ca6ed89f6f fix: return error code instead of just out of memory 2024-02-26 10:24:59 +08:00
Haojun Liao ac47fc693c
Merge pull request #24871 from taosdata/fix/TD-28813-bk
reset close window state
2024-02-26 10:14:05 +08:00
dapan1121 93ffdd856a
Merge pull request #24845 from taosdata/feat/ly_count_window
count window support having
2024-02-26 09:35:31 +08:00
54liuyao 176afbb74a reset close window state 2024-02-25 20:07:04 +08:00
54liuyao 9d560c494d reset close window state 2024-02-25 19:56:38 +08:00
54liuyao 27219f70af reset close window state 2024-02-25 19:30:56 +08:00
54liuyao 24ec06bfe4 reset close window state 2024-02-25 19:28:46 +08:00
dapan1121 97aca25633 enh: support group join 2024-02-23 17:59:45 +08:00
Hongze Cheng a6423b7816 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-23 14:47:10 +08:00
slzhou 830de66111 fix: compilation error and force sort by row id for CI 2024-02-23 13:55:10 +08:00
slzhou ca6d10cdda Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-23 11:29:12 +08:00
dapan1121 fb953e439d
Merge pull request #24831 from taosdata/szhou/fix/3.0/td-28742
fix: free datablocks that is skipped decided by firt row ts
2024-02-23 11:18:42 +08:00
54liuyao d3dd15e621 count window support having 2024-02-23 11:18:29 +08:00
slzhou 754a15cac8 feat: change from FILE* to TDFilePtr 2024-02-23 10:55:19 +08:00
54liuyao c7a50acd63 rebuild sliding window 2024-02-23 09:05:30 +08:00
dapan1121 a745319b81 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-23 08:59:16 +08:00
slzhou 3fb6ed8a42 feat: free write buf after reading all blocks 2024-02-23 08:35:01 +08:00
slzhou fbc1d6244f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-23 08:26:22 +08:00
slzhou 0ae2e2905d fix: change fseek to fseeko for 64 bit offset 2024-02-23 08:24:16 +08:00
dapan1121 807bba9215 fix: window join issues 2024-02-22 18:59:10 +08:00
slzhou c859213ce5 fix: free datablocks that is skipped decided by firt row ts 2024-02-22 15:35:03 +08:00
54liuyao 8c6ea4079c delete invalid result 2024-02-22 14:15:35 +08:00
dapan1121 3c7923a77e
Merge pull request #24806 from taosdata/szhou/tms/port-3
feat: add para_tables_sort hint document and change typo error
2024-02-22 13:56:09 +08:00
slzhou b5bc45c73b fix: save to ext mem file only when sort by row id 2024-02-22 11:21:44 +08:00
slzhou a769bc7217 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-22 10:03:47 +08:00
slzhou 9e1446aa88 fix: initialize result block 2024-02-22 10:03:29 +08:00
Hongze Cheng a9e3ca41a9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-22 09:39:48 +08:00
54liuyao d5259c8983 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28627 2024-02-22 09:23:00 +08:00
54liuyao aabab3b4f7 init mid op 2024-02-21 19:12:34 +08:00
54liuyao 9739b9feb6 set group id of delete range 2024-02-21 16:22:51 +08:00
54liuyao 53a4294e4c mid agg operator 2024-02-21 14:48:16 +08:00
Hongze Cheng 4b71031014 more code 2024-02-21 14:29:10 +08:00
shenglian-zhou 955d3df15e
Merge branch '3.0' into szhou/tms-wc/save-row-simplebuf 2024-02-21 10:12:52 +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
slzhou 73cced005d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-02-20 13:22:45 +08:00
slzhou b3c4fe489f feat: remove todo 2024-02-20 13:22:35 +08:00
shenglian zhou ee7edac825 Merge branch 'szhou/tms-wc/save-row-simplebuf' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-20 11:27:46 +08:00
shenglian zhou 73695f2431 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-20 11:25:58 +08:00
dapan1121 617494fd32
Merge pull request #24721 from taosdata/szhou/fix/mergelimit-oom
fix: when rows is greater than merge limit, skip the block
2024-02-20 09:09:45 +08:00
Haojun Liao 46b1fe520f
Merge pull request #24538 from taosdata/feat/TD-22023
stream count window
2024-02-20 08:50:25 +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
Haojun Liao e62dd2ff5c refactor: do some internal refactor. 2024-02-19 10:31:25 +08:00
54liuyao 05eaa90c11 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-19 08:59:15 +08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
54liuyao e2352875fe mid pull over 2024-02-07 14:43:04 +08:00
54liuyao 6e19f452ce mid pull over 2024-02-07 13:55:01 +08:00
54liuyao b66260d4e9 mid pull over 2024-02-07 13:29:29 +08:00
54liuyao 5473c22585 mid pull over 2024-02-07 11:30:13 +08:00
54liuyao 9b9ddd9159 batch count window 2024-02-06 17:19:12 +08:00
wangmm0220 871ebfa7ba Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-06 14:02:46 +08:00
54liuyao eaf10fcb43 count window fill history 2024-02-05 18:37:24 +08:00
wangmm0220 5796f411e4 Merge branch 'mark/3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-05 17:08:05 +08:00