Commit Graph

18616 Commits

Author SHA1 Message Date
wangjiaming0909 1a06dd684e support drop ctb 2024-04-16 14:23:25 +08:00
wangjiaming0909 94f2f6ae22 fix drop ctb 2024-04-16 14:23:25 +08:00
wangjiaming0909 34dbdfd4dc support stddev and hyperloglog for tsma 2024-04-16 14:23:25 +08:00
wangjiaming0909 40a7262fcd support spread 2024-04-16 14:23:25 +08:00
wangjiaming0909 fa85d1caa7 support other tsma funcs 2024-04-16 14:23:25 +08:00
wangjiaming0909 cc9550f45e add tsma funcs 2024-04-16 14:20:59 +08:00
wangjiaming0909 98ca847eb8 add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909 38ed0317e7 testing 2024-04-16 14:18:11 +08:00
wangjiaming0909 c9be37bdc6 fix norm_tb child tb tsma query 2024-04-16 14:18:11 +08:00
wangjiaming0909 79b726fdbc fix vgroupd num 1 2024-04-16 14:18:11 +08:00
wangjiaming0909 cf750bfdd4 fix split windows 2024-04-16 14:18:11 +08:00
wangjiaming0909 db00faeb02 fix split window 2024-04-16 14:18:11 +08:00
wangjiaming0909 f5f6306277 fix split window bug 2024-04-16 14:18:11 +08:00
wangjiaming0909 3c870acb16 add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909 9625ce7cdf add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909 ab60fbfdc3 add tsma test 2024-04-16 14:18:10 +08:00
wangjiaming0909 846de7780b add tests 2024-04-16 14:18:10 +08:00
wangjiaming0909 a1054234e2 fix query tsma child table 2024-04-16 14:18:10 +08:00
wangjiaming0909 dff0449474 start to support select child table using tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 c3e73d9168 fix recursive tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 d8200b2f63 fetch lastts vnode version before create tsma 2024-04-16 14:18:10 +08:00
wangjiaming0909 8e56d9a359 fix tsmas 2024-04-16 14:18:10 +08:00
wangjiaming0909 e947a2fb0d catalog cache get stream progress 2024-04-16 14:18:10 +08:00
wangjiaming0909 a4d2dfed67 stream supported api 2024-04-16 14:18:10 +08:00
wangjiaming0909 09bb7c3814 rebase fix 2024-04-16 14:18:10 +08:00
wangjiaming0909 6e7dc4b7b4 normal table tsma and add tests 2024-04-16 14:17:12 +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
wangjiaming0909 403f743301 agg tsma 2024-04-16 14:14:40 +08:00
wangjiaming0909 54100b1c0d add tsma test, fix catalog cache update 2024-04-16 14:14:40 +08:00
wangjiaming0909 54666c953f test for tsma 2024-04-16 14:14:40 +08:00
wangjiaming0909 85beb0b441 tsma query explain and add test 2024-04-16 14:14:40 +08:00
wangjiaming0909 a438a77e78 rewrite tbname for partition by tbname 2024-04-16 14:14:40 +08:00
wangjiaming0909 02e36d37fd create tsma subtable with concat tbname 2024-04-16 14:14:40 +08:00
wangjiaming0909 c94a262f22 revise plan for tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909 895a4584e6 generate tsma plan 2024-04-16 14:14:39 +08:00
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