Commit Graph

5013 Commits

Author SHA1 Message Date
Haojun Liao 4eacf86843 fix(tsdb): fix deadlock when stopping reader. 2024-05-14 19:20:19 +08:00
Haojun Liao 241f8b3d2e fix(tsdb): fix deadlock when stopping reader. 2024-05-14 18:05:13 +08:00
Haojun Liao 56a1e7e01f
Merge pull request #25727 from taosdata/fix/xftan/TD-29988-3.0
fix: build fails on macOS and Windows
2024-05-13 09:44:19 +08:00
Haojun Liao d32a80a872 fix(query): set correct row index. 2024-05-11 17:05:56 +08:00
t_max f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
Haojun Liao c54751e7e2 fix(query): set the pk for interp query. 2024-05-11 11:11:09 +08:00
Haojun Liao f8d8061260 refactor: do some internal refactor. 2024-05-11 11:08:51 +08:00
Shungang Li 7ae4415890 fix: refactor lastcache ser/des for compatibility 2024-05-09 19:04:11 +08:00
Haojun Liao cbf994f04f fix(query): set correct length for json value. 2024-05-08 22:28:49 +08:00
Haojun Liao 81abf3fe6d refactor: do some internal refactor. 2024-05-08 19:04:50 +08:00
Haojun Liao 25d84ab7d3 refactor: do some internal refactor. 2024-05-08 18:41:57 +08:00
Haojun Liao 75e0ce8cbc fix(query): calculate the correct dst row length. 2024-05-08 18:25:56 +08:00
Haojun Liao ca022259a0 fix(query): set correct row length for rowid sort. 2024-05-08 18:17:22 +08:00
Haojun Liao 6e832b68bd refactor: do some internal refactor. 2024-05-08 16:40:51 +08:00
Haojun Liao f120a62434 refactor: do some internal refactor. 2024-05-08 16:37:31 +08:00
Haojun Liao 4f59754a63 refactor: do some internal refactor. 2024-05-08 16:22:02 +08:00
Haojun Liao dc9452fb0a fix(sort): set correct output row index. 2024-05-08 16:21:48 +08:00
dapan1121 48296447ce
Merge pull request #25586 from taosdata/fix/3.0/TD-29870
fix scanoperator using sma info of last group
2024-04-29 21:45:00 +08:00
Haojun Liao ed73617cc3
Merge pull request #25575 from taosdata/fix/3_liaohj
fix(tsdb): set the correct start pos for binary search.
2024-04-29 16:48:01 +08:00
wangjiaming0909 94fc209d7d fix scanoperator using sma info of last group 2024-04-29 16:17:04 +08:00
Haojun Liao b0ef022e87 fix(tsdb): set the correct start pos for binary search. 2024-04-29 15:13:52 +08:00
wangjiaming0909 5bab2db71f fix count return negative value when loading sma 2024-04-29 10:43:26 +08:00
Haojun Liao b3d2ccec83
Merge pull request #25483 from taosdata/fix/3_liaohj
fix(query): add ts in cache_scan_operator if pk exists and only retri…
2024-04-25 22:32:26 +08:00
Hongze Cheng e6db086365
Merge pull request #25478 from taosdata/fix/TD-29781-3.0
fix: sys scan user tags
2024-04-25 11:38:36 +08:00
Haojun Liao ac860f7fe8 fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column. 2024-04-25 09:29:42 +08:00
54liuyao 403a877564 set pk length 2024-04-25 08:52:29 +08:00
kailixu 1348a98118 fix: sys scan user tags 2024-04-24 19:16:25 +08:00
54liuyao 2a72ceadd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-24 18:57:22 +08:00
Haojun Liao 3b08ee3d16
Merge pull request #25458 from taosdata/fix/3_liaohj
fix(stream): add task update trans conflict level.
2024-04-24 18:54:06 +08:00
54liuyao 85cd290aa5 opt bloom filter 2024-04-24 18:40:39 +08:00
54liuyao 3300bf04c1 opt bloom filter 2024-04-24 17:27:24 +08:00
Haojun Liao e5c679d280
Merge pull request #25453 from taosdata/fix/TD-29701
fix(stream):mem leak
2024-04-23 19:50:07 +08:00
Haojun Liao ace5e12e65 fix(tsdb): set the correct lflag when creating tsdbCache reader. 2024-04-23 19:25:51 +08:00
54liuyao cdaa5f9801 fix(stream):mem leak 2024-04-23 15:40:50 +08:00
Haojun Liao 7fda9d9fcb Merge branch '3.0' into fix/3_liaohj 2024-04-23 15:08:43 +08:00
Haojun Liao b0f68a9147 refactor: do some internal refactor. 2024-04-23 14:58:51 +08:00
Haojun Liao cda0087d40
Merge pull request #25437 from taosdata/fix/TD-29721
fix(stream):save invalid delete info for final interval op
2024-04-23 14:13:48 +08:00
dapan1121 07e01b3e97
Merge pull request #25386 from taosdata/fix/3.0/TD-29631
fix cancel create tsma memory use after free
2024-04-23 13:17:55 +08:00
54liuyao 0c62f5417a save invalid delete info for final interval op 2024-04-22 18:05:35 +08:00
Haojun Liao b6316c2692
Merge pull request #25432 from taosdata/fix/TD-29688
fix(stream):add option for update data
2024-04-22 14:57:28 +08:00
wangjiaming0909 f971cfb778 1. fix stream wrong group id for new child tables.
2. fix md5 function wrong bytes returned
2024-04-22 14:00:06 +08:00
54liuyao 2d48c2c993 fix(stream):add option for update data 2024-04-22 10:41:01 +08:00
Haojun Liao 00fa4e7f0c fix(tsdb): set correct pk info when creating cache scan operator. 2024-04-22 09:26:12 +08:00
Haojun Liao b75e77cb15 refactor: do some internal refactor. 2024-04-19 19:13:07 +08:00
dapan1121 5936d3a1b0
Merge pull request #25300 from taosdata/draft/tsma_before_ci
feat: support tsma
2024-04-17 10:00:17 +08:00
dapan1121 e7a43b4e58 fix: projection limit 0 issue 2024-04-16 18:47:03 +08:00
wangjiaming0909 d1101a0325 support filter out tsma res tbs when show stables/tables 2024-04-16 14:23:26 +08:00
wangjiaming0909 fa85d1caa7 support other tsma funcs 2024-04-16 14:23:25 +08:00
wangjiaming0909 70ca830378 support recursive tsma creation 2024-04-16 14:17:12 +08:00
wangjiaming0909 1509ce04cf test tsma 2024-04-16 14:17:12 +08:00
dapan1121 7621d72e04
Merge branch '3.0' into feat/TD-27337 2024-04-16 13:33:25 +08:00
dapan1121 29243ea839 fix: windows compile issue 2024-04-16 11:29:19 +08:00
dapan1121 55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
Haojun Liao 13bd296d58 Merge branch '3.0' into fix/3_liaohj 2024-04-15 18:53:48 +08:00
Haojun Liao 1ac192c069 fix(stream): keep the original tsdb scan version range. 2024-04-15 18:41:38 +08:00
dapan1121 6d4f0b2ceb fix: asof jlimit issue 2024-04-15 16:12:12 +08:00
dapan1121 168769830f fix: invalid read issue 2024-04-15 09:52:35 +08:00
dapan1121 319ab5f2c2 enh: support hash join 2024-04-12 15:44:23 +08:00
yihaoDeng e3acb10acd Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-12 11:10:00 +08:00
Haojun Liao 27dd0349bc
Merge branch '3.0' into feat/TS-4243-3.0 2024-04-12 09:17:06 +08:00
Haojun Liao 5372988bb4
Merge pull request #25341 from taosdata/fix/3_liaohj
fix(query): check the rows before apply the agg in session window.
2024-04-12 09:15:52 +08:00
Haojun Liao f2ccb8aa7e fix(stream): add lock when retrieving info from the tableGroup struct 2024-04-11 22:54:35 +08:00
Haojun Liao efdd0c8a2a refactor: do some internal refactor. 2024-04-11 22:34:47 +08:00
Haojun Liao b60cc321f3 fix(tsdb):add some logs. 2024-04-11 19:35:14 +08:00
Haojun Liao 8f92dc614d fix(tsdb):add some logs. 2024-04-11 19:01:23 +08:00
Haojun Liao 14242331b9 fix(tsdb): fix error in decode key. 2024-04-11 17:25:58 +08:00
wangmm0220 2478519c5d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-11 17:16:16 +08:00
Haojun Liao b4ea80b637 fix(tsdb): prepare the pk buf for blocks generated by reader. 2024-04-11 17:09:07 +08:00
Haojun Liao a951af2492 fix(query): check the rows before apply the agg in session window. 2024-04-11 16:21:41 +08:00
wangmm0220 f609a45dd2 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-11 16:21:14 +08:00
wangmm0220 14531fbf7b fix:filter data error & add test case 2024-04-11 16:20:28 +08:00
Haojun Liao 1320c1c0e1 Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-04-11 15:57:18 +08:00
Haojun Liao eaf44ec603 fix(tsdb):set the initial size of pk in ssdatablock. 2024-04-11 15:57:04 +08:00
54liuyao 1d42e927c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-11 15:35:42 +08:00
Haojun Liao a2a237a4b0 fix(query): avoid process data that belongs to the next session window. 2024-04-11 14:31:48 +08:00
dapan1121 86db8efcda enh: support hash join 2024-04-10 19:27:36 +08:00
kailixu 507e40ddb7 enh: primary key column should not be null 2024-04-10 18:56:55 +08:00
kailixu 7f11a3682b enh: primary key column should not be null 2024-04-10 18:41:20 +08:00
54liuyao c6d492d3fd set ts column index for function 2024-04-10 17:41:59 +08:00
Haojun Liao ded66fc4e5 Merge branch 'feat/TS-4243-3.0' of github.com:taosdata/tdengine into feat/TS-4243-3.0 2024-04-10 16:43:54 +08:00
wangmm0220 539d1f441f Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-10 16:41:15 +08:00
54liuyao 26fb2ee2b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-10 15:36:01 +08:00
54liuyao e161556f51 set ts column index for function 2024-04-10 15:35:25 +08:00
Minglei Jin dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
Haojun Liao 980382d433 fix(tsdb): fix memory error. 2024-04-10 11:18:08 +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
wangmm0220 da6eda6912 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-09 13:44:09 +08:00
54liuyao 9ed74085d8 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-09 09:16:57 +08:00
kailixu fcb605cac6 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-08 18:23:23 +08:00
kailixu 7d34c767e9 fix: insert from select and sort merge 2024-04-08 18:23:16 +08:00
Haojun Liao 5ed81f9cab fix(tsdb): prepare pk buf 2024-04-08 18:04:06 +08:00
54liuyao 53265e9e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-08 17:24:09 +08:00
54liuyao 858d61072e check preversion data 2024-04-08 17:23:46 +08:00
54liuyao 3ba45df0a0 check pk column 2024-04-08 09:22:05 +08:00
54liuyao 3b00729cf0 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-08 09:10:34 +08:00
Haojun Liao 96fc85017b fix(query): fix error in interp 2024-04-07 16:51:40 +08:00
Haojun Liao 16c17bbf72 fix(tsdb): fix error in tsdbread. 2024-04-07 14:46:22 +08:00
dapan1121 b7de83b086
Merge pull request #25253 from taosdata/fix/3.0/TS-4624
fix taosd crash query ins_tags with empty nchar tag
2024-04-07 14:06:15 +08:00
dapan1121 6d52120bf7 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-07 13:54:39 +08:00
dapan1121 337f39191e fix: eliminate project issue 2024-04-03 18:35:50 +08:00
yihaoDeng a0bf82878d free handle 2024-04-03 09:11:49 +00:00
wangjiaming0909 c2afd95c4e fix taosd crash query ins_tags with empty nchar tag 2024-04-03 10:07:02 +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
kailixu cc660de9d0 chore: error prompt for null primary key column 2024-04-03 08:14:30 +08:00
kailixu f6dc3205ee Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-02 17:33:19 +08:00
kailixu adb6de0595 fix: null value check for target column with pk 2024-04-02 17:33:11 +08:00
Haojun Liao 5a546e37d7 fix(query): set correct forward step for twa query. 2024-04-02 16:10:42 +08:00
dapan1121 5934a137dd fix: group cache fetch issue 2024-04-02 16:09:32 +08:00
Haojun Liao 94e6f96a75 other: merge 3.0 2024-04-02 13:39:26 +08:00
54liuyao 204c5acefe Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-02 09:10:52 +08:00
factosea 3257c7c082 fix: tag is null when table is empty 2024-04-01 19:44:26 +08:00
54liuyao 2e11f3674d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-01 18:35:44 +08:00
54liuyao 5369448bda adj log 2024-04-01 16:43:36 +08:00
54liuyao a65ce818de add ci 2024-04-01 16:20:45 +08:00
wangmm0220 862015d261 fix:add pk flag for table condition in tsdb reader 2024-04-01 16:15:34 +08:00
dapan1121 0fb672d8a6 enh: optimize join performance 2024-04-01 15:24:12 +08:00
wangmm0220 fe7a42b118 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-01 09:11:39 +08:00
54liuyao 1405b30677 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-01 09:09:48 +08:00
Haojun Liao 55bb6ab341 fix(tsdb): set correct initial value for compare 2024-03-29 18:15:03 +08:00
slzhou b504627830 fix: new group block to reset func input iter hasPrev 2024-03-29 17:01:56 +08:00
54liuyao ea33f08d02 add ic 2024-03-29 13:52:56 +08:00
dapan1121 26a93847c3 enh: optimize outer join 2024-03-29 08:28:33 +08:00
54liuyao 28cda4dc81 add ci 2024-03-28 15:07:26 +08:00
54liuyao 65457d2cf4 delete data for scalar function 2024-03-28 14:16:19 +08:00
dapan1121 74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
54liuyao 0a206f5819 add log 2024-03-28 09:32:24 +08:00
54liuyao 3dd7f0731e Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-28 09:11:36 +08:00
slzhou 43cefb9d55 feat: find pk col from interp func node for interp operator 2024-03-27 16:26:47 +08:00
54liuyao 715489e22d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-27 09:14:50 +08:00
54liuyao 93edc9d1ff read preversion data of primary key 2024-03-26 17:36:37 +08:00
Haojun Liao f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
54liuyao aa9962318f read preversion data of primary key 2024-03-26 16:38:24 +08:00
dapan1121 b688f328d1 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-26 08:42:53 +08:00
kailixu e5abe34c84 fix: replace strdup for release build 2024-03-25 21:34:31 +08:00
54liuyao aad3a43530 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 16:30:47 +08:00
dapan1121 42b0d00575 enh:support join type 2024-03-25 15:19:16 +08:00
slzhou 4d3eb6824c feat: add pk support for last/first/last_row dynDataRequired 2024-03-25 13:38:34 +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
dapan1121 61fa803085 fix: windows compile issue 2024-03-23 20:28:17 +08:00
dapan1121 91d3848c71 fix: case issue 2024-03-23 20:24:50 +08:00
wangmm0220 912cb09839 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-03-22 18:22:13 +08:00
Haojun Liao ef6ea16d64 other: merge 3.0 2024-03-22 17:57:25 +08:00
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