Commit Graph

8945 Commits

Author SHA1 Message Date
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 54100b1c0d add tsma test, fix catalog cache update 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 02e36d37fd create tsma subtable with concat tbname 2024-04-16 14:14:40 +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 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
dm chen aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +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 34a943a1f2
Merge pull request #25242 from taosdata/feat/ly_query
adj last function
2024-04-15 16:04:23 +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
yihaoDeng 4948bd690d 3.0 merge compress 2024-04-15 11:38:44 +08:00
Minglei Jin 4b3e3f9091 Merge branch '3.0' into enh/TD-28945-pk 2024-04-15 09:31:56 +08:00
dapan1121 319ab5f2c2 enh: support hash join 2024-04-12 15:44:23 +08:00
Haojun Liao 2b953735bc Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-04-12 13:51:43 +08:00
Haojun Liao 1e89b86827 refactor: do some internal refactor. 2024-04-12 13:51:29 +08:00
wangmm0220 9a8eff2a0e fix:compile error 2024-04-12 13:04:47 +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 d799212fb2 refactor: do some internal refactor. 2024-04-12 10:02:18 +08:00
wangmm0220 ca8153fb98 fix:filter data error & add test case 2024-04-12 09:49:08 +08:00
54liuyao af97f9e000 add config 2024-04-11 16:48:58 +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
Minglei Jin 6515d74fa2 Merge branch '3.0' into enh/TD-28945-pk 2024-04-11 16:02:01 +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
kailixu 3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
dapan1121 6dd3e9ef35
Merge pull request #25330 from taosdata/fix/3.0/TD-29502
add cfg value check
2024-04-11 09:40:27 +08:00
kailixu bff8226c0f enh: none column for primary key 2024-04-11 08:27:17 +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
54liuyao c6d492d3fd set ts column index for function 2024-04-10 17:41:59 +08:00
yihaoDeng a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00:00
wangjiaming0909 8a5532dd88 add cfg value check 2024-04-10 16:48:02 +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
54liuyao e161556f51 set ts column index for function 2024-04-10 15:35:25 +08:00
Hongze Cheng 1bcf693f07 more code 2024-04-10 15:06:43 +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
dmchen 5f31575624 refactor 2024-04-09 06:55:01 +00: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 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
Minglei Jin 1dbb91bf6a cos/multi-write: default s3_keeplocal to 3650 days 2024-04-08 14:27:22 +08:00
Minglei Jin a407f76165 Merge branch '3.0' into enh/TD-28945 2024-04-08 10:55:47 +08:00
Minglei Jin 44b9785853 cos/multi-write: include headers part 2024-04-08 10:33:02 +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
wangmm0220 6174c3bfd3 fix:disable primary key in schemaless 2024-04-07 14:54:58 +08:00
kailixu b4c8375cb9 chore: solve conflicts 2024-04-07 14:53:05 +08:00
dapan1121 6d52120bf7 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-07 13:54:39 +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
Haojun Liao dcc97472d3 fix(stream): add strict check for checkpoint-trigger msg dispatach rsp confirmation flag. 2024-04-02 21:53:50 +08:00
kailixu adb6de0595 fix: null value check for target column with pk 2024-04-02 17:33:11 +08:00
kailixu 6c8995984e Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-02 14:39:21 +08:00
kailixu 77d912c210 fix: primary key should not be null or none 2024-04-02 14:39:13 +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
dmchen 0a4556984c merge 2024-04-01 09:19:29 +00:00
kailixu c4aba0ac37 feat: encryption key optimize and test case adjust 2024-04-01 16:14:55 +08:00
yihaoDeng 53ecfe511a Merge branch '3.0' into feature/compressData 2024-04-01 08:04:16 +00:00
yihaoDeng e9faf4ab08 fix ci error 2024-04-01 07:58:00 +00: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
kailixu 9e4d692d6b feat: support encryption 2024-04-01 00:49:25 +08:00
yihaoDeng e71eefddfc Merge branch 'feat/TS-4243-3.0' into feature/compressData 2024-03-30 14:58:29 +00:00
yihaoDeng aa5ccf2b0b Merge branch '3.0' into feature/compressData 2024-03-30 09:57:23 +00:00
yihaoDeng d7cee5dd80 fix invalid compress/decompress 2024-03-29 13:48:58 +00: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 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
kailixu 8dce61b68f chore: merge TD-29280-3.0 2024-03-29 11:39:46 +08:00
kailixu 9d59fb53f4 feat: support create encrypt key 2024-03-29 11:37:40 +08:00
yihaoDeng f2d03dbbdf fix merge error 2024-03-29 03:02:33 +00:00
dmchen b9deb71fc5 basic function 2024-03-29 02:48:49 +00:00
factosea bbbb605d8f lemon rebuild 2024-03-29 10:40:24 +08:00
factosea 9ddc0b51cb merge 2024-03-29 10:37:59 +08:00
slzhou 6202e1f501 feat: drop pk column and update pk column is not supported for stable 2024-03-29 10:26:09 +08:00
kailixu f99d193335 feat: user config dnode procedure 2024-03-29 10:25:19 +08:00
yihaoDeng ee81a43f81 refactor code 2024-03-28 11:56:44 +00:00
kailixu a3398f791e enh: dnodes status optimization 2024-03-28 16:17:35 +08:00
wangmm0220 8e2a2414c0 fix:same subtable same partition by leads to same table name in stream 2024-03-28 13:48:46 +08:00
dapan1121 74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
yihaoDeng 94e2aa2ed5 refactor code 2024-03-28 01:44:04 +00:00
kailixu 64e32e5c85 chore: merge 3.0 2024-03-28 08:23:43 +08:00
kailixu d64594932b feat: support database encryption 2024-03-27 20:03:38 +08:00
yihaoDeng 6d19283d1f refactor code 2024-03-27 05:49:13 +00: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
yihaoDeng 18986c0ced refactor code 2024-03-26 12:44:53 +00:00
kailixu 374ef4593c feat: encryptions/encrypt_key grammar 2024-03-26 19:56:15 +08:00
Haojun Liao fd57ded11e Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-03-26 17:34:43 +08:00
Haojun Liao f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
yihaoDeng 02e0e45183 refactor code 2024-03-26 08:50:21 +00: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
54liuyao aa9962318f read preversion data of primary key 2024-03-26 16:38:24 +08:00
Hongze Cheng 93ca55954f more code change 2024-03-26 15:11:15 +08:00
dapan1121 b688f328d1 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-26 08:42:53 +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
slzhou a5ba546bd4 fix: add pk to funcInputGetNextRow 2024-03-25 15:12:34 +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
yihaoDeng 66d9447733 refactor code 2024-03-24 08:15:01 +00:00
yihaoDeng 3ccf9942a9 refactor code 2024-03-24 05:35:07 +00:00
dapan1121 91d3848c71 fix: case issue 2024-03-23 20:24:50 +08:00
yihaoDeng f5c8c8f7c5 fix mem problem 2024-03-23 11:49:09 +00: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
Haojun Liao bd52416af9
Merge pull request #25149 from taosdata/fix/3_liaohj
enh: meta pause/resume for sys table scan
2024-03-22 17:32:35 +08:00
kailixu fb2667d92d fix: sys table scan and meta query 2024-03-22 10:33:46 +08:00
dapan1121 861a74cc93 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-22 08:47:50 +08:00
dapan1121 3835a5b349 fix: error log and union issue 2024-03-22 08:47:07 +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 0c578ab6c0 refactor: do some internal refactor. 2024-03-21 10:44:27 +08:00
Haojun Liao b12e65d144 fix(tsdb): set pk column index. 2024-03-21 09:37:46 +08:00
yihaoDeng 672d189d6f add more compress alg 2024-03-20 08:51:40 +00:00
dapan1121 65c57e88cd Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-20 15:48:43 +08:00
Haojun Liao 55f7bc2c9c fix(tsdb):add attributes for ssdatablock. 2024-03-20 15:29:05 +08:00
slzhou 1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +08:00
yihaoDeng bf808a0bf6 add more compress alg 2024-03-20 03:43:38 +00:00
slzhou 61f91b57fa fix: column node and function node util copy/json/msg 2024-03-19 17:19:14 +08:00
Cary Xu 861528fb6c
Merge branch '3.0' into enh/TS-4531-3.0 2024-03-19 17:03:41 +08:00
Hongze Cheng a9c1bcc91c
Merge pull request #25097 from taosdata/feat/TD-25880
feat: support 2 replica with arbitrator
2024-03-19 16:44:07 +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
Shungang Li d0df927dfa feat: arb add version in sarbgroup 2024-03-19 09:31:05 +08:00
Shungang Li 3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
wangmm0220 0ccad9d5de Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/tmq-opti 2024-03-18 21:23:58 +08:00
yihaoDeng d31c7f40c7 tsdb support compress 2024-03-18 12:12:55 +00:00
kailixu b9d3ac7fce Merge branch '3.0' into enh/TS-4531-3.0 2024-03-18 10:41:31 +08:00
kailixu 12a111d7dd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-18 00:24:33 +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
yihaoDeng 4fcd80ad27 tsdb support compress 2024-03-16 13:46:50 +00:00
yihaoDeng 958d4e2efa Merge branch 'feature/compressData' of https://github.com/taosdata/TDengine into feature/compressData 2024-03-15 10:23:09 +00:00
yihaoDeng f607cd60e3 tsdb support compress 2024-03-15 10:22:57 +00: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
kailixu dcbb92e817 fix: memory leak when alter json tag to NULL 2024-03-15 16:31:01 +08:00
kailixu d02a125f34 fix: memory leak when alter json tag to NULL 2024-03-15 16:29:10 +08:00
factosea aaff23b4b8 fix: sColumnOption->json 2024-03-15 13:56:42 +08:00
factosea c6adba9bfc fix: merge error 2024-03-14 19:56:19 +08:00
facetosea 6678a65dc4 merge ts-4243 2024-03-14 19:06:34 +08:00
kailixu d0f825e1f5 Merge branch '3.0' into fix/TS-4421-3.0 2024-03-14 08:41:55 +08:00
factosea 9711c830fe show create table 2024-03-13 15:17:43 +08:00
kailixu 9901825bb0 enh: support binary/hex integer 2024-03-13 15:12:21 +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
factosea b10deacd63 show create table tbname 2024-03-13 11:39:07 +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
wangmm0220 4dfc531e6c opti:subscribe logic 2024-03-12 19:42:26 +08:00
yihaoDeng 796ff03eb5 fix invalid copy 2024-03-12 09:47:01 +00:00
slzhou 5c691685ba fix: review comments 2024-03-12 16:53:56 +08:00
factosea 5dd4d05b2e desc table 2024-03-12 16:46:41 +08:00
yihaoDeng e25024cca3 fix invalid free 2024-03-12 07:09:50 +00:00
Haojun Liao bc98f12798 feat(tsdb): read complex primary key from buf. 2024-03-12 14:06:59 +08:00
Hongze Cheng 4b791d67ba more fix 2024-03-12 09:48:28 +08:00
Hongze Cheng f6c2a6bba2 more fix 2024-03-11 19:17:30 +08:00
kailixu 433179af0d fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
kailixu 3aa37460c7 enh: logs and show grants 2024-03-10 08:50:05 +08:00
Hongze Cheng acbde220bf more bug fix 2024-03-08 17:04:26 +08:00
factosea a49c6c0876 alter table column compress 2024-03-08 16:33:16 +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
factosea af9fdcd29d create stable/table 2024-03-08 11:23:11 +08:00
factosea 30e52bb71a col compress sql parse 2024-03-07 18:06:15 +08:00
wangmm0220 80f55abc61 fix:[TS-4540]seperate block if insert in one sql when subscribe query 2024-03-07 14:16:10 +08:00
Hongze Cheng 456db5b4c3 more code 2024-03-07 13:14:56 +08:00
yihaoDeng 63d3671f42 add new msg 2024-03-06 12:06:26 +00:00
Hongze Cheng 28d83d6ab6 more code 2024-03-06 16:42:54 +08:00
Hongze Cheng f05fe86ef0 more code 2024-03-06 16:23:02 +08:00
Hongze Cheng 5ed903dd01 more code 2024-03-06 15:52:34 +08:00
Hongze Cheng dfd725fbdb more code 2024-03-06 15:37:57 +08:00
Hongze Cheng 89e493b56b more code 2024-03-06 13:15:43 +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
Hongze Cheng a4e00227c5 fix a little bug 2024-03-06 10:49:21 +08:00
Hongze Cheng b33074dcbb &&&b/github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-05 17:06:45 +08:00
dapan1121 19b51ec02c
Merge pull request #24994 from taosdata/mark/3.0
fix:add excluded msg for delete in tmq
2024-03-05 15:46:49 +08:00
wangmm0220 af6d6b69c3 fix:add excluded msg for delete in tmq 2024-03-05 11:25:43 +08:00
Hongze Cheng b0d9c2632f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-05 09:27:32 +08:00
Haojun Liao 4d10f28a00
Merge pull request #24999 from taosdata/fix/nullcheck
fix(stream): remove related fill-history if task in stop status.
2024-03-05 09:15:21 +08:00
Haojun Liao 80fd3e0445 fix(stream): remove related fill-history if task in stop status. 2024-03-04 19:31:47 +08:00
Hongze Cheng 40a2b06451 more code 2024-03-04 19:25:20 +08:00