Commit Graph

18579 Commits

Author SHA1 Message Date
wangjiaming0909 4b6fb0ffc6 tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909 0fd66d7e8a tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909 ef47fd57d6 support tsma catalog cache 2024-04-16 14:14:34 +08:00
wangjiaming0909 f77cd43d26 ins_tsmas 2024-04-16 14:13:10 +08:00
wangjiaming0909 08fc9170f5 refine 2024-04-16 14:13:10 +08:00
wangjiaming0909 6324d1293a drop tsma 2024-04-16 14:13:10 +08:00
wangjiaming0909 8e2977d083 create tsma request 2024-04-16 14:13:10 +08:00
wangjiaming0909 5589cf0309 server handle tsma creation 2024-04-16 14:13:10 +08:00
wangjiaming0909 d2106e0ade sql syntax and create translate 2024-04-16 14:13:10 +08:00
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
dm chen aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +08:00
dapan1121 29243ea839 fix: windows compile issue 2024-04-16 11:29:19 +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
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
Yihao Deng ea9385912f Merge branch '3.0' into feat/compress_3.0 2024-04-15 09:06:30 +00:00
kailixu 123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
dapan1121 6d4f0b2ceb fix: asof jlimit issue 2024-04-15 16:12:12 +08:00
dapan1121 34a943a1f2
Merge pull request #25242 from taosdata/feat/ly_query
adj last function
2024-04-15 16:04:23 +08:00
dapan1121 f7a31a6928
Merge pull request #25335 from taosdata/feat/xsren/TD-29092
tbname supported
2024-04-15 15:48:47 +08:00
dm chen 4d660d89c0
Merge branch '3.0' into feat/TD-24834 2024-04-15 15:12:32 +08:00
factosea d14f7889c7 fix: primary key 2024-04-15 15:07:45 +08:00
Haojun Liao 665107ad3a enh(stream): add more info in meta table. 2024-04-15 14:23:37 +08:00
factosea f831870efb fix: primary key sql 2024-04-15 14:08:54 +08:00
yihaoDeng 4948bd690d 3.0 merge compress 2024-04-15 11:38:44 +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 168769830f fix: invalid read issue 2024-04-15 09:52:35 +08:00
Minglei Jin 4b3e3f9091 Merge branch '3.0' into enh/TD-28945-pk 2024-04-15 09:31:56 +08:00
Haojun Liao 15c18af221 fix(stream): fix init error. 2024-04-13 18:27:38 +08:00
Haojun Liao 82ee169d61
Merge pull request #25164 from taosdata/feat/TS-4243-3.0
feat(tsdb): support complex primary key in table.
2024-04-13 18:08:01 +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
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
dapan1121 f2c871f2f5 fix: union precision issue 2024-04-12 11:07:26 +08:00
kailixu 4da12faf29 enh: error process for stb insert 2024-04-12 10:53:43 +08:00
kailixu 80707cd592 fix: primary key column check for stb insert 2024-04-12 10:42:41 +08:00
Minglei Jin 16b65b7311 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-12 10:32:25 +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
Hongze Cheng 2a7a64cf5a
Merge pull request #25340 from taosdata/fix/TD-29533
fix: arb assigned step down need to reset token
2024-04-11 19:33:26 +08:00
Haojun Liao 8f92dc614d fix(tsdb):add some logs. 2024-04-11 19:01:23 +08:00
factosea deff7a76b1 add test case 2024-04-11 18:07:10 +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
Shungang Li c39fcc5194 fix: arb assigned step down need to reset token 2024-04-11 16:56:45 +08:00
54liuyao af97f9e000 add config 2024-04-11 16:48:58 +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
Minglei Jin 6515d74fa2 Merge branch '3.0' into enh/TD-28945-pk 2024-04-11 16:02:01 +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 5fac6ea9c1
Merge pull request #25327 from taosdata/fix/TD-29516
set ts column index for function
2024-04-11 15:28:11 +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
factosea f55ac240d5 tbname supported 2024-04-11 11:45:44 +08:00
kailixu ce17e9b73e Merge branch 'feat/TD-24834' of https://github.com/taosdata/TDengine into feat/TD-24834 2024-04-11 11:06:06 +08:00
kailixu 3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
dmchen e35be80b79 tdb abort 2024-04-11 03:05:20 +00:00
dmchen 05d6e27c69 tdb abort restore 2024-04-11 02:58:05 +00:00
54liuyao b2cefa8039 release state buff 2024-04-11 09:10:16 +08:00
Haojun Liao 60cb1214f5
Merge pull request #25329 from taosdata/fix/3_liaohj
fix(stream): add lock, and fix race condition.
2024-04-10 19:54:50 +08:00
Haojun Liao fabb986aa8 fix(stream): fix stack overflow, caused by print epset. 2024-04-10 19:54:33 +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
Haojun Liao e261023ee6 fix(stream): add lock, and fix race condition. 2024-04-10 18:42:44 +08:00
kailixu b1b66e62d4 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-10 18:41:28 +08:00
kailixu 7f11a3682b enh: primary key column should not be null 2024-04-10 18:41:20 +08:00
54liuyao dcf3cf6e71 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-10 18:21:17 +08:00
54liuyao b9581548c6 adj msg 2024-04-10 18:20:56 +08:00
54liuyao c6d492d3fd set ts column index for function 2024-04-10 17:41:59 +08:00
dmchen 8875311f23 remove log output 2024-04-10 09:04:53 +00:00
yihaoDeng a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00: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
Haojun Liao f23a8a37bc refactor: do some internal refactor. 2024-04-10 16:43:02 +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
Minglei Jin 0761692b14 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 16:30:06 +08:00
Minglei Jin 49a9c5abad Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 16:24:24 +08:00
Hongze Cheng 083c07f6a6
Merge pull request #25314 from taosdata/fix/optReadBuf3
opt read buf mem buf
2024-04-10 15:41:31 +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
dapan1121 2098b23749
Merge pull request #25311 from taosdata/feat/TD-29091/cast_binary
feat/binary without length supported
2024-04-10 14:59:44 +08:00
54liuyao e06f5b3830 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-10 13:56:14 +08:00
54liuyao 4137c71909 add stream check 2024-04-10 13:54:27 +08:00
factosea 4686d82a2d cast support 2024-04-10 11:48:50 +08:00
Minglei Jin fe12f87c58 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 11:21:50 +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
kailixu 041b84c131 enh: tag value for nchar 2024-04-10 10:23:48 +08:00
Hongze Cheng cddfae1cc7
Merge pull request #25319 from taosdata/enh/TS-4255-3.0
enh: insert nchar by sql
2024-04-10 09:55:10 +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
Minglei Jin d1cb05bba0 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 09:09:51 +08:00
Hongze Cheng 5c15779781
Merge pull request #25298 from taosdata/fix/TD-29480
fix: arb reply to set-assigned no matter what error
2024-04-10 09:03:13 +08:00
slzhou e0f1e8502e fix: add pk col to last row scan cols 2024-04-10 09:03:04 +08:00
kailixu 706ac9a9e6 enh: insert nchar by sql 2024-04-09 19:33:32 +08:00
kailixu e4a450fa69 enh: insert nchar by sql 2024-04-09 19:28:19 +08:00
Minglei Jin 6eb014e32b Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-09 19:11:46 +08:00
54liuyao dfe3d5a9bc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_query 2024-04-09 19:09:40 +08:00
54liuyao 20efb35c6e add tag for split plan 2024-04-09 19:09:20 +08:00
yihaoDeng ee50d5a5ad opt read buf mem buf 2024-04-09 11:01:52 +00:00
dmchen 0e5053b3de mem leak 2024-04-09 10:34:28 +00:00
factosea 29583e20b8 fix: sql 2024-04-09 18:03:56 +08:00
factosea 239844e3b0 feat/binary without length supported 2024-04-09 18:00:48 +08:00
factosea 36066d8f63 fix: multiresFunction 2024-04-09 15:22:16 +08:00
dmchen 5f31575624 refactor 2024-04-09 06:55:01 +00:00
54liuyao 0f6e87b3c9 add tag for last row 2024-04-09 14:53:50 +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
dapan1121 8407eb3791 enh: outer join performance optimization 2024-04-09 09:48:38 +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
Shungang Li 16e0fc44e2 fix: arb reply to set-assigned no matter what error 2024-04-08 19:56:22 +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 2a6c40e8c5 set winkey for selectivity function 2024-04-08 16:53:13 +08:00
Hongze Cheng 200d2b506c Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-08 11:19:33 +08:00
Hongze Cheng c0e895a4d3 more code 2024-04-08 11:18:53 +08:00
Minglei Jin a407f76165 Merge branch '3.0' into enh/TD-28945 2024-04-08 10:55:47 +08:00
Haojun Liao 97f7e67234 fix(tsdb): set correct merge row. 2024-04-08 10:44:10 +08:00
Minglei Jin ca1262c5c5 cos/multi-write: parser part 2024-04-08 10:31:26 +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
54liuyao e0a5b2dd9d split last tag 2024-04-08 08:55:13 +08:00
Haojun Liao 7c139e9ff9
Merge pull request #25275 from taosdata/fix/3_liaohj
Fix/3 liaohj
2024-04-07 22:37:33 +08:00
Haojun Liao fb58ca8592 fix(stream): not wait for the timer stopped. 2024-04-07 18:53:25 +08:00
Haojun Liao 96fc85017b fix(query): fix error in interp 2024-04-07 16:51:40 +08:00
kailixu b4c8375cb9 chore: solve conflicts 2024-04-07 14:53:05 +08:00
Haojun Liao 16c17bbf72 fix(tsdb): fix error in tsdbread. 2024-04-07 14:46:22 +08:00
Haojun Liao f82505ba16 fix(stream): remove invalid assert 2024-04-07 14:06:25 +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
54liuyao ece59a7cf0 create pk stable 2024-04-07 10:18:36 +08:00
Haojun Liao 1b343e662c fix(stream): retry stop timer for trigger tmr. 2024-04-07 10:18:01 +08:00
Hongze Cheng 456cec5b2d
Merge pull request #25244 from taosdata/fix/portMainTo30
port main to 30
2024-04-07 09:57:47 +08:00
54liuyao 1240a4eb77 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-07 09:37:09 +08:00
54liuyao 6ebe8da634 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_query 2024-04-07 09:22:02 +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
kailixu 1e8aaa273e chore: more logic for num of pks 2024-04-03 16:32:59 +08:00
slzhou d4b8460baa fix: change delete condition error message 2024-04-03 15:48:56 +08:00
Haojun Liao 94f703889d fix(stream): remove invalid assert. 2024-04-03 12:42:53 +08: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