Commit graph

3005 commits

Author SHA1 Message Date
kailixu
74afb8deae chore: solve conflicts 2024-04-17 10:52:34 +08:00
wangjiaming0909
fb72e29fe1 fix stream progress delay 2024-04-16 18:17:33 +08:00
Yihao Deng
6f9de676f0 Merge branch 'fix/compress_3.0' into feat/compress_3.0 2024-04-16 09:27:26 +00:00
wangjiaming0909
92e91c2032 fix ci 2024-04-16 14:27:06 +08:00
wangjiaming0909
039939196a forbid tsma agg funcs with tag columns 2024-04-16 14:25:34 +08:00
wangjiaming0909
1b37ef03fb fix duplicate tsma funcs 2024-04-16 14:25:34 +08:00
wangjiaming0909
9cc33b1296 fix escaped tsma name 2024-04-16 14:25:34 +08:00
wangjiaming0909
de1c28d623 tsma avoid fetching tsma for no tsma tables 2024-04-16 14:25:34 +08:00
wangjiaming0909
f6200dd923 support long ctb names 2024-04-16 14:25:34 +08:00
wangjiaming0909
6ce0616ffd fix ci and TODOs 2024-04-16 14:25:34 +08:00
wangjiaming0909
e43580f71b fix ci 2024-04-16 14:25:20 +08:00
wangjiaming0909
2b594e02d2 fix tsma name too long 2024-04-16 14:25:20 +08:00
wangjiaming0909
43699959c8 fix ci 2024-04-16 14:25:01 +08:00
wangjiaming0909
7de0a34ae6 support maxTsmaCalcDelay, maxTsmaNum, skip_tsma 2024-04-16 14:25:01 +08:00
wangjiaming0909
a2cbbba24d find TODO 2024-04-16 14:23:26 +08:00
wangjiaming0909
a8e00f7410 drop tb in transaction 2024-04-16 14:23:26 +08:00
wangjiaming0909
1ef153de63 support drop ctb for tsma 2024-04-16 14:23:25 +08:00
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
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
3c870acb16 add tests 2024-04-16 14:18:11 +08:00
wangjiaming0909
a1054234e2 fix query tsma child table 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
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
54100b1c0d add tsma test, fix catalog cache update 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
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
dm chen
aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +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
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
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
Minglei Jin
4b3e3f9091 Merge branch '3.0' into enh/TD-28945-pk 2024-04-15 09:31:56 +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
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
factosea
deff7a76b1 add test case 2024-04-11 18:07:10 +08:00
54liuyao
af97f9e000 add config 2024-04-11 16:48:58 +08:00
factosea
f55ac240d5 tbname supported 2024-04-11 11:45:44 +08:00
kailixu
3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
dapan1121
86db8efcda enh: support hash join 2024-04-10 19:27:36 +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
yihaoDeng
a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00: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
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
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
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
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
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
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
Minglei Jin
ca1262c5c5 cos/multi-write: parser part 2024-04-08 10:31:26 +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
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
slzhou
d4b8460baa fix: change delete condition error message 2024-04-03 15:48:56 +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
62ab1b1c41 chore: allow source table with primary key 2024-04-03 09:39:58 +08:00
kailixu
6e56e61ad5 fix: target table has less primary keys than source 2024-04-02 19:49:30 +08:00
dapan1121
5934a137dd fix: group cache fetch issue 2024-04-02 16:09:32 +08:00
kailixu
dc60812183 chore: unify the prompt msg 2024-04-02 15:04:13 +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
54liuyao
9a8d03f0ca adj last function 2024-04-02 14:03:02 +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
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
dapan1121
0fb672d8a6 enh: optimize join performance 2024-04-01 15:24:12 +08:00
kailixu
6eaa99bb2d feat: encryption algorithm 2024-04-01 13:58:13 +08:00
yihaoDeng
0e277507a4 fix ci error 2024-04-01 03:29:10 +00:00
kailixu
9e4d692d6b feat: support encryption 2024-04-01 00:49:25 +08:00
kailixu
ba65f5a519 enh: integer with duration literal for timestamp 2024-03-31 20:50:02 +08:00
yihaoDeng
aa5ccf2b0b Merge branch '3.0' into feature/compressData 2024-03-30 09:57:23 +00: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
yihaoDeng
4f843d05c6 Merge branch 'feat/TS-4243-3.0' into feature/compressData 2024-03-29 03:02:59 +00:00
slzhou
1e5ef8271a feat: update column and drop column is banned for normal table pk column 2024-03-29 10:52:28 +08: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
2ecc7c27f7 fix mem leak 2024-03-28 12:10:04 +00:00
yihaoDeng
ee81a43f81 refactor code 2024-03-28 11:56:44 +00:00
54liuyao
ffeabb132a fix issue 2024-03-28 18:18:06 +08:00
dapan1121
4208557d6d fix: count(*) rewrite issue 2024-03-28 16:44:07 +08:00
kailixu
a3398f791e enh: dnodes status optimization 2024-03-28 16:17:35 +08:00
dapan1121
74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
kailixu
d64594932b feat: support database encryption 2024-03-27 20:03:38 +08:00
kailixu
374ef4593c feat: encryptions/encrypt_key grammar 2024-03-26 19:56:15 +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
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
dapan1121
3f71b53101 fix: case issues 2024-03-26 08:42:17 +08:00
yihaoDeng
7aaef32304 refactor code 2024-03-25 09:49:28 +00:00
dapan1121
42b0d00575 enh:support join type 2024-03-25 15:19:16 +08:00
54liuyao
d1b974228f add stream check 2024-03-25 11:16:28 +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
add0213291 refactor code 2024-03-24 09:29:32 +00:00
dapan1121
91d3848c71 fix: case issue 2024-03-23 20:24:50 +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
dapan1121
84d0eb5fc0 fix: case issues 2024-03-22 15:15:07 +08:00
Hongze Cheng
6f174fdb7a
Merge pull request #25126 from taosdata/fix/TD-29180
fix: arb alter database check
2024-03-22 09:54:08 +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
a60f390cdc stream primary key 2024-03-21 10:50:07 +08:00
dapan1121
65c57e88cd Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-20 15:48:43 +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
Shungang Li
701ac8b865 fix: arb alter database check 2024-03-20 11:05:57 +08:00
Cary Xu
861528fb6c
Merge branch '3.0' into enh/TS-4531-3.0 2024-03-19 17:03:41 +08:00
slzhou
c7f108181d feat:show create table and desc table 2024-03-19 16:33:05 +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
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
yihaoDeng
d31c7f40c7 tsdb support compress 2024-03-18 12:12:55 +00:00
kailixu
0b15e3415d enh: machine id persistence 2024-03-18 18:06:18 +08:00
yihaoDeng
65a1dcc30e fix invalid read 2024-03-18 07:35:33 +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
kailixu
0e3c97b573 test: tag/col insert syntax 2024-03-15 13:16:42 +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
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
factosea
c472bf6b08 feat: tag supported with group/partition 2024-03-14 19:00:31 +08:00
kailixu
b3db823767 enh: expand syntax for bool 2024-03-14 11:16:17 +08:00
kailixu
d0f825e1f5 Merge branch '3.0' into fix/TS-4421-3.0 2024-03-14 08:41:55 +08:00
yihaoDeng
064e7ef017 fix desc crash 2024-03-13 08:03:43 +00:00
kailixu
af2c522308 fix: bool string judgement 2024-03-13 15:32:36 +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
kailixu
da0254b49b fix: unify tag value parsing syntax 2024-03-12 19:24:07 +08:00
yihaoDeng
796ff03eb5 fix invalid copy 2024-03-12 09:47:01 +00:00
factosea
5dd4d05b2e desc table 2024-03-12 16:46:41 +08:00
Hongze Cheng
4b791d67ba more fix 2024-03-12 09:48:28 +08:00
kailixu
28e7aef816 fix: unify tag value parsing syntax 2024-03-11 19:54:42 +08:00
factosea
e76e85ee01 compress param cannot be empty 2024-03-11 11:39:19 +08:00
kailixu
7cb244a067 fix: unify tag value parsing syntax 2024-03-11 00:09:52 +08:00
kailixu
433179af0d fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
kailixu
a083f45ac1 Merge branch '3.0' into fix/TS-4421-3.0 2024-03-10 09:52:45 +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
dapan1121
ae6b16d809
Merge pull request #25031 from taosdata/fix/TS-4544
fix:[TS-4544]do not get vgroup if subscribe query
2024-03-07 19:19:19 +08:00
factosea
30e52bb71a col compress sql parse 2024-03-07 18:06:15 +08:00
wangmm0220
7c319adf46 fix:[TS-4544]do not get vgroup if subscribe query 2024-03-07 17:59:02 +08:00
54liuyao
f26b7f78f5 calc stream tag size 2024-03-07 14:23:30 +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