Commit graph

4123 commits

Author SHA1 Message Date
Hongze Cheng
8012a1902b
Merge pull request #27226 from taosdata/feat/TD-30813-2
feat(stmt2): initial commit for stmt2
2024-09-09 08:52:59 +08:00
lyh250-666
52a0746817 Merge branch '3.0' of github.com:taosdata/TDengine into enh/TD-31691 2024-09-07 20:08:48 +08:00
Hongze Cheng
11a5f4522a
Merge pull request #27705 from taosdata/fix/TS-5341-3.0
enh: error msg for csv file path that is too long
2024-09-06 16:29:58 +08:00
Minglei Jin
2ac23f72e8 Merge branch '3.0' into feat/TD-30813-2 2024-09-06 14:01:54 +08:00
wangmm0220
23507b0eac fix:[TD-31899] remove void(func) 2024-09-06 10:16:15 +08:00
Shungang Li
91d19e458d enh: error msg for csv file path that is too long 2024-09-05 19:43:57 +08:00
54liuyao
7cd34dddf5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-05 17:52:55 +08:00
dapan1121
5503e07181 fix: ut error code 2024-09-05 15:57:23 +08:00
dapan1121
b75adfcd9f fix: only query issue 2024-09-05 14:18:13 +08:00
dapan1121
93e6e278ab fix: add return code 2024-09-05 13:54:45 +08:00
dapan1121
3c4de6f1e6 feat: add query table not exist as empty 2024-09-05 12:23:28 +08:00
Minglei Jin
270190b4ee Merge branch '3.0' into feat/TD-30813-2 2024-09-04 10:14:37 +08:00
lyh250-666
b6a8619d40 enh:modify error code passing in libs/ 2024-09-04 10:00:14 +08:00
54liuyao
43390b1c36 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-04 09:20:11 +08:00
Pan Wei
aeb6fa9b25
Merge pull request #27613 from taosdata/fix/3.0/TD-31682-TD-31793
fix querytask.c memory leak when random malloc error
2024-09-03 18:30:22 +08:00
Pan Wei
2bb2c17517
Update parTranslater.c 2024-09-03 18:30:08 +08:00
54liuyao
79f8b4fc9a Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-03 17:54:28 +08:00
Minglei Jin
aa16f0adac Merge branch '3.0' into feat/TD-30813-2 2024-09-03 15:21:45 +08:00
Hongze Cheng
480cc6d914
Merge pull request #27599 from taosdata/fix/TD-30030-3.0
fix: show table tags from view
2024-09-03 14:34:23 +08:00
54liuyao
d4062efa1c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-03 09:29:41 +08:00
wangjiaming0909
38e8d9f2fa fix querytask.c memory leak when random malloc error
remove (void)
2024-09-03 09:13:40 +08:00
Jing Sima
4c9bfac39d feat:[TS-5323] Support using 'level' as columnname. 2024-09-02 16:57:21 +08:00
kailixu
15364e7656 fix: show table tags from view 2024-09-02 15:44:00 +08:00
54liuyao
f1cbd426d6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-02 13:53:32 +08:00
kailixu
4243afa921 fix: show tags from view 2024-09-02 13:14:32 +08:00
Pan Wei
0f58deb9ae
Merge pull request #27562 from taosdata/fix/3.0/TD-31785
fix:[TD-31785] fix memory leak when error occurs in parAstCreater.
2024-09-02 09:31:51 +08:00
Pan Wei
9d1ded192c
Merge pull request #27517 from taosdata/fix/3.0/TD-31726
fix subquery with same name caused data error
2024-09-01 18:21:14 +08:00
Pan Wei
b542d83fbc
Merge pull request #27549 from taosdata/enh/TS-5312
enh: optimize stable tbname equal query
2024-09-01 18:07:45 +08:00
Jing Sima
d00caf1d93 fix:[TD-31785] fix memory leak when error occurs in parAstCreater. 2024-09-01 16:42:38 +08:00
wangjiaming0909
eb46b5fa08 add tests for fix duplicate cols names 2024-08-31 15:21:53 +08:00
dapan1121
d1013b20f9 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-30 18:26:26 +08:00
dapan1121
4de1f35833 fix: function return code validation issue 2024-08-30 17:51:27 +08:00
54liuyao
9d8e8892b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-30 16:04:09 +08:00
dapan1121
f4f8da251c fix: disable tsma tbname optimization 2024-08-30 15:33:54 +08:00
wangjiaming0909
c8471a5a22 fix duplicate col name 2024-08-30 14:02:44 +08:00
Shungang Li
7c002fa0d5 fix: (csv) issuse caused by path trim 2024-08-30 11:33:22 +08:00
wangjiaming0909
6adb8edb93 fix project list rewrite with keeping projidxs 2024-08-29 16:32:41 +08:00
dapan1121
39189c9e62 enh: optimize stable tbname equal query 2024-08-29 16:29:51 +08:00
Hongze Cheng
222979402d
Merge pull request #27441 from taosdata/fix/TD-31163-3.0
fix: memory leak of geos
2024-08-29 16:20:14 +08:00
Minglei Jin
bad8df5ec1 Merge branch '3.0' into feat/TD-30813-2 2024-08-29 08:57:25 +08:00
wangjiaming0909
9713094bb2 fix subquery with same name caused data error 2024-08-28 16:19:57 +08:00
Hongze Cheng
2a1e14ef24 enh: remove some assert and handle NONE and NULL in stmt 2024-08-28 14:48:25 +08:00
kailixu
c301fe3940 fix: memory leak of geos 2024-08-27 18:16:32 +08:00
54liuyao
ff1f75bd33 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-27 09:17:17 +08:00
Jing Sima
f3bec38290 fix:[TD-31684] Modify GROUP/PARTITION BY clause to prioritize treating columns as column names before considering them as aliases 2024-08-26 17:47:42 +08:00
Minglei Jin
132f2a9315 Merge branch '3.0' into feat/TD-30813-2 2024-08-26 10:42:49 +08:00
dapan1121
319cd62049
Merge pull request #27439 from taosdata/fix/TD-31515/arrayPush
fix: check arraypush result
2024-08-26 09:11:13 +08:00
kailixu
c97f01a023 Merge branch '3.0' into fix/TD-31163-3.0 2024-08-24 21:03:11 +08:00
dapan1121
b0338a1a6b
Merge pull request #27329 from taosdata/TD-31547
remove asserts of nodes/planner/parser/tsdbread
2024-08-24 15:05:48 +08:00
xsren
9aaa1c66b3 fix: check arraypush result 2024-08-23 18:40:32 +08:00
Minglei Jin
4386a3c44a Merge branch '3.0' into feat/TD-30813-2 2024-08-23 17:11:27 +08:00
kailixu
b24f2a35aa Merge branch '3.0' into fix/TD-31163-3.0 2024-08-23 15:37:56 +08:00
54liuyao
7efb648a5f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-23 14:49:32 +08:00
wangjiaming0909
e6a35dd34d remove asserts of nodes/planner/parser/tsdbread 2024-08-22 19:15:18 +08:00
54liuyao
af38c14069 adj sql.c 2024-08-22 14:48:29 +08:00
54liuyao
3583237942 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-22 14:47:16 +08:00
Minglei Jin
c7dee947cc Merge branch '3.0' into feat/TD-30813-2 2024-08-22 14:36:55 +08:00
xinsheng Ren
3b631ddac7
Merge branch '3.0' into enh/TD-31535/assert 2024-08-22 13:26:06 +08:00
Hongze Cheng
d334c2e8df enh: refactor some assert 2024-08-22 11:07:31 +08:00
kailixu
b072a83bbd fix: memory leak of geos 2024-08-21 15:45:57 +08:00
Minglei Jin
f0bd7af9cf Merge branch 'feat/TD-30813-2' of https://github.com/taosdata/TDengine into feat/TD-30813-2 2024-08-21 15:30:54 +08:00
Minglei Jin
68bd8d28f0 stmt2/binding: no hole for cols binding 2024-08-21 15:30:21 +08:00
Minglei Jin
a581603c81
Merge branch '3.0' into feat/TD-30813-2 2024-08-21 12:37:51 +08:00
Minglei Jin
921b7e495e stmt2/stb: no hole in bind for stb binding 2024-08-21 12:33:19 +08:00
xsren
3f1fd2b0ee assert 2024-08-21 10:38:07 +08:00
Hongze Cheng
87e56d3d67
Revert "fix: memory leak of geos" 2024-08-21 10:23:22 +08:00
Shungang Li
22aa4f1528 fix: report error when the ttl value is too large 2024-08-20 19:38:47 +08:00
kailixu
fe3415c602 Merge branch '3.0' into fix/TD-31163-3.0 2024-08-20 13:55:35 +08:00
Minglei Jin
b9303b0ed4 fix multi nchar writing 2024-08-20 13:55:02 +08:00
54liuyao
1bff0e89f4 fix issue 2024-08-20 10:15:52 +08:00
kailixu
0531a4f4bd fix: memory leak of geos 2024-08-19 18:36:39 +08:00
54liuyao
1ce2109fa4 add check 2024-08-19 13:42:44 +08:00
dapan1121
a39f14465c
Merge pull request #27245 from taosdata/fix/3.0/TD-31469
fix:[TD-31469] Fix trim sql syntax error.
2024-08-15 18:56:28 +08:00
Minglei Jin
bf4f0bc377 move tag binding out of cols binding 2024-08-15 16:06:16 +08:00
Hongze Cheng
6170cc1799
Merge pull request #27229 from taosdata/fix/TD-31404-3.0
fix(insert): return error when parsing csv file
2024-08-15 15:51:12 +08:00
sima
2e51d5409a fix:[TD-31469] Fix trim sql syntax error. 2024-08-15 15:28:32 +08:00
Minglei Jin
a593077fc2 Merge branch 'fix/TD-31404-3.0' into feat/TD-30813-2 2024-08-15 13:43:47 +08:00
kailixu
b746a71046 fix(insert): return error when parsing csv file 2024-08-15 10:23:17 +08:00
Minglei Jin
298c4b4812 feat(stmt2): initial commit for stmt2 2024-08-15 09:28:32 +08:00
54liuyao
345d852de7 adj sql.y 2024-08-14 19:26:06 +08:00
54liuyao
141de6e19b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-14 19:21:59 +08:00
54liuyao
216c53f0ae fix issue 2024-08-14 15:22:42 +08:00
sima
a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
Hongze Cheng
6f014d1ca1
Merge pull request #27171 from taosdata/fix/TD-31002-3.0
fix: add size limit for create table batch msg
2024-08-13 18:29:47 +08:00
dapan1121
40af7fb836 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-13 09:36:28 +08:00
Shungang Li
0d341d08ec fix: add more log 2024-08-13 09:35:12 +08:00
54liuyao
4fa67bd6cc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-13 09:21:25 +08:00
dapan1121
3790a1f415
Merge pull request #26959 from taosdata/feat/TS-3718
feat:[TS-3718]save slow log file one day one file
2024-08-13 09:18:07 +08:00
Shungang Li
ee7cd71e09 fix: add size limit for create table batch msg 2024-08-12 19:57:15 +08:00
54liuyao
3e763f5ede fix issue 2024-08-12 17:40:44 +08:00
54liuyao
52e693511f add ci 2024-08-12 15:52:50 +08:00
54liuyao
fd0f117544 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-12 09:37:43 +08:00
wangjiaming0909
882cfb7deb 1. lock not released when return
2. fix tsma err msg
3. fix fill prev wrong results
2024-08-12 08:53:27 +08:00
Haojun Liao
45c6d42851
Merge pull request #27093 from taosdata/fix/3.0/TD-31274-TD-31280
1. fix interval query with month interval day slidng returning wrong …
2024-08-09 13:50:34 +08:00
wangjiaming0909
1c5db0c469 remove unused md5hash 2024-08-08 18:26:41 +08:00
wangjiaming0909
d1ed3b3abb 1. fix interval query with month interval day slidng returning wrong window
2. fix error msg for creating tsma
2024-08-08 18:10:49 +08:00
wangmm0220
3ef942bf4b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-3718 2024-08-08 10:59:45 +08:00
wangjiaming0909
5d4569ce75 replace sprintf with strcat 2024-08-08 08:59:16 +08:00
54liuyao
0913802c33 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-06 16:25:04 +08:00
54liuyao
bdaf0d419e stream interp force window close 2024-08-06 16:14:15 +08:00
dapan1121
1a2dbe53a1 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-05 09:47:28 +08:00
wangmm0220
4d19f48d8a feat:[TS-3718]save slow log file one day one file 2024-08-02 16:29:48 +08:00
dapan1121
1831deb2f0 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-02 16:12:39 +08:00
dapan1121
534fca559d enh: add ut 2024-08-02 16:08:19 +08:00
dapan1121
5e2c5b8894 fix: calander interval and sliding issue 2024-08-02 14:38:55 +08:00
54liuyao
1309749c92 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-02 13:22:33 +08:00
yihaoDeng
444d277cc3 support query db size 2024-08-02 08:39:22 +08:00
yihaoDeng
115b626f4f support query db size 2024-08-01 20:34:43 +08:00
dapan1121
d6ac07d574 fix: query timeline based on function issue 2024-08-01 15:55:09 +08:00
yihaoDeng
5b82c81c82 add disk usage 2024-08-01 15:07:43 +08:00
sima
04d525d429 feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
54liuyao
745f14d140 stream interp 2024-07-31 08:57:42 +08:00
sima
880921e165 fix:[TD-31133] Fix crash when using partition by with having clause. 2024-07-30 15:55:04 +08:00
54liuyao
063b492f72 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-30 15:13:15 +08:00
dapan1121
f77223d2a4
Merge pull request #26827 from taosdata/tsma_test
fix tsma test case
2024-07-30 14:38:41 +08:00
54liuyao
80003a4f90 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-29 13:46:27 +08:00
wangjiaming0909
bfeb90e19f fix tsma test case 2024-07-29 11:47:25 +08:00
dapan1121
dfc3fc4987 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-29 11:16:36 +08:00
54liuyao
0bd8c57049 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-29 09:24:40 +08:00
WANG MINGMING
81b78feaf8
Merge branch '3.0' into opti/TD-31097 2024-07-26 23:32:33 +08:00
wangjiaming0909
be04bfa1ce sma add ret check 2024-07-26 17:57:29 +08:00
wangjiaming0909
d35bdba180 fix parser/planner/nodes ret check ci 2024-07-26 17:57:29 +08:00
wangjiaming0909
4d5cd9cd1a planner/nodes/parser ret check 2024-07-26 17:57:27 +08:00
wangjiaming0909
aa791c1bb0 fix nodes ret check 2024-07-26 17:55:48 +08:00
wangjiaming0909
9b3409c13e add ret check for par dir 2024-07-26 17:55:48 +08:00
wangjiaming0909
1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
54liuyao
b5f432bd50 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-26 16:44:18 +08:00
wangmm0220
ebe7276c2c fix:[TD-31017]process return value in client for tmq 2024-07-25 17:15:41 +08:00
sima
1285100f68 enh:[TD-31043] Handling return value in functionMgt.c 2024-07-23 15:37:17 +08:00
sima
6a9441528a enh:[TD-31043] Handling return value in builtinsimpl.c 2024-07-23 15:37:17 +08:00
Hongze Cheng
3f79e5b7e3
Merge pull request #26676 from taosdata/feat/TD-30991-3.0
feat: (errcode) ttime.c geomFunc.c geosWrapper.c
2024-07-23 11:09:20 +08:00
Shungang Li
f5f84c3cc6 feat: (errcode) ttime.c 2024-07-23 09:13:42 +08:00
dapan1121
adfd7b4504 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-22 19:24:56 +08:00
xsren
feba37b5ea group by 2024-07-22 14:10:17 +08:00
xsren
2a675ccf6b group const value func 2024-07-22 11:19:11 +08:00
xsren
ebe0074da4 fix: interp crash 2024-07-22 00:06:47 +08:00
kailixu
0792b025ea fix: insert clause mixed with bound and unspecified columns 2024-07-19 15:08:34 +08:00
dapan1121
44406c3fd3
Merge pull request #26640 from taosdata/fix/hashPut
fix: taoshash put
2024-07-18 19:12:35 +08:00
factosea
aee48971de fix: taoshash put 2024-07-17 17:52:29 +08:00
dapan1121
fa2fb83014
Merge pull request #26609 from taosdata/TD-31000
ret value for parTranslater.c
2024-07-17 17:33:39 +08:00
Hongze Cheng
6f29e7638c
Merge pull request #26562 from taosdata/fix/TD-30872-3.0
fix: parseOneStbRow support for jsontag
2024-07-17 11:03:07 +08:00
wangjiaming0909
0cccaa8ac4 ret value for parTranslater.c 2024-07-17 10:26:06 +08:00
dapan1121
23e72a6e69
Merge pull request #26587 from taosdata/feat/TD-30975
feat:[TD-30975]process return value in schemaless
2024-07-17 09:10:58 +08:00
wangmm0220
aed8a75e35 feat:[TD-30975]process return value in schemaless 2024-07-15 19:07:20 +08:00
dapan1121
c10106a4da
Merge pull request #26512 from taosdata/enh/TD-29679
use regex cache
2024-07-15 19:01:50 +08:00
Shungang Li
51000ffe7f fix: parseOneStbRow support for jsontag 2024-07-15 16:35:23 +08:00
Hongze Cheng
77e2582cc1
Merge pull request #26536 from taosdata/enh/TD-30856-3.0
enh: 'create table' parses csv file per tsMaxInsertBatchRows
2024-07-15 13:54:48 +08:00
54liuyao
6c84d926ab Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-12 11:04:44 +08:00
54liuyao
1c9011e820 stream time slice 2024-07-12 11:03:45 +08:00
Shungang Li
942599fe04 enh: 'create table' parses csv file per tsMaxInsertBatchRows 2024-07-11 16:14:31 +08:00
factosea
41b8693430 use regex cache 2024-07-10 19:46:09 +08:00
dapan1121
076fd07a26
Merge pull request #26492 from taosdata/enh/3.0/bigger_tsma_interval
Enh/3.0/bigger tsma interval
2024-07-10 18:30:40 +08:00
dapan1121
92089e2d86
Merge pull request #26417 from taosdata/enh/TD-29154/diff
Enh/td 29154/diff
2024-07-10 08:38:32 +08:00
factosea
163b31a4ee fix: type overflow 2024-07-09 14:48:21 +08:00
factosea
28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
wangjiaming0909
73d4fa48f9 support month/year tsma interval 2024-07-08 18:22:33 +08:00
Hongze Cheng
c8aa963417
Merge pull request #26434 from xinjiempolde/enh/TD-21826-3.0
enh/td-21826-3.0 error handling for stmt
2024-07-08 10:21:14 +08:00
wangjiaming0909
dbc2e9ec75 support bigger tsma interval 2024-07-05 18:21:48 +08:00
xjzhou
b8012df909 handle fixed table name int sql 2024-07-05 14:18:51 +08:00
xjzhou
3151d0663c update 2024-07-04 16:45:10 +08:00
sima
7526f8315a feat:[TS-5131] Support parse alias table name with backquote. 2024-07-04 16:10:19 +08:00
xjzhou
19cbd47bef Merge remote-tracking branch 'origin/3.0' into enh/TD-21826-3.0 2024-07-03 17:08:07 +08:00
Hongze Cheng
71af880554
Merge pull request #26376 from xinjiempolde/fix/TD-30864-3.0
fix(TD-30864): taos crashed at parInsertSql.c
2024-07-03 09:35:53 +08:00
xjzhou
c851049d7c fix(TD-30864): taos crashed at parInsertSql.c 2024-07-02 16:28:30 +08:00
Shungang Li
21d653f10f fix: buildTagIndexForBindTags errcode 2024-07-02 16:22:59 +08:00
xjzhou
88aa15e944 enh: Enhance error handling for stmt 2024-07-02 11:05:54 +08:00
xjzhou
d69c5b1840 isStmtBind 2024-07-02 10:56:55 +08:00
dapan1121
b3eb938527 enh: add query memory pool 2024-07-01 17:22:43 +08:00
Hongze Cheng
ce4ecb0371
Merge pull request #26324 from xinjiempolde/enh/TD-23926-3.0
enh/td-23926-3.0 insert into db.?
2024-07-01 09:29:50 +08:00
Hongze Cheng
e4826e63f4
Merge pull request #26328 from taosdata/feat/TS-4917-3.0
fix: parseOneStbRow fill tag name
2024-07-01 09:15:53 +08:00
Shungang Li
fa6e3c9c6f fix: parseOneStbRow fill tag name 2024-06-28 10:50:13 +08:00
Hongze Cheng
dfe260fbde
Merge pull request #26316 from taosdata/feat/TS-4917-3.0
fix for create table from csv
2024-06-27 18:03:42 +08:00
Shungang Li
e61c5a4083 fix: parseOneStbRow break if token parse err 2024-06-27 14:17:32 +08:00
Shungang Li
85e4f09239 fix: parseCsvFile reset pTag to NULL 2024-06-27 10:30:58 +08:00
xjzhou
42361fcd45 fix: failed to identify dbName when only ? exists 2024-06-26 16:38:21 +08:00
xjzhou
1a32279f7f Merge remote-tracking branch 'origin/3.0' into enh/TS-23926-3.0 2024-06-26 14:21:15 +08:00
xjzhou
1c8110e7a4 Merge remote-tracking branch 'origin/3.0' into enh/TS-23926 2024-06-26 10:34:36 +08:00
Hongze Cheng
b761bd2e38 enh: port main change to 3.0 2024-06-26 10:32:15 +08:00
Hongze Cheng
59c8656e61
Merge pull request #26275 from taosdata/feat/TS-4917-3.0
feat: 'create table' from csv file
2024-06-25 17:56:23 +08:00
xjzhou
3fb5f2b1d3 Merge remote-tracking branch 'origin/3.0' into enh/TS-23926 2024-06-25 16:16:56 +08:00
xjzhou
b444e18d90 enh: stmt supports 'insert into db.?' 2024-06-25 16:16:32 +08:00
Shungang Li
b55337ec42 feat: 'create table' ignore lines start with '#' 2024-06-25 14:34:59 +08:00
Shungang Li
586f8094c2 fix: handle mac/win compile warn 2024-06-25 14:10:34 +08:00
Shungang Li
41021285a1 fix: more ret check 2024-06-25 11:36:55 +08:00
Shungang Li
2292829e47 fix: add check for memory alloc 2024-06-25 10:56:24 +08:00
Shungang Li
eaa45470a5 feat: 'create table' add keyword file 2024-06-25 10:55:36 +08:00
Shungang Li
17e84e1fca Merge branch '3.0' into feat/TS-4917-3.0 2024-06-25 10:33:12 +08:00
Shungang Li
b3368f6472 feat: 'create table' from csv file 2024-06-24 22:13:03 +08:00
wangmm0220
ed16b1e8db fix:conflict from 3.0 2024-06-24 12:03:10 +08:00
wangmm0220
a29d1b0c59 fix:test case error 2024-06-24 10:18:09 +08:00
Hongze Cheng
2ba22e34f5
Merge pull request #26216 from xinjiempolde/fix/TS-5024-3.0
fix: stmt bind crashed when colIdx exceeds column nums
2024-06-23 09:53:46 +08:00
Hongze Cheng
6a43d68bed
Merge pull request #26192 from taosdata/fix/TD-30642-3.0
fix/TD-30642
2024-06-21 11:03:40 +08:00
xjzhou
883eb48bf2 fix: stmt bind crashed when colIdx exceeds column nums 2024-06-20 15:22:50 +08:00
Hongze Cheng
9a97f976e9
Merge pull request #26178 from taosdata/feat/TS-4954-3.0
Feat/ts-4954-3.0-2
2024-06-20 15:07:13 +08:00
dmchen
61edc79045 fix/TD-30642 2024-06-19 08:01:58 +00:00
dapan1121
0397826c68
Merge pull request #26139 from taosdata/feat/TD-30313
optimize show cluster alive stmt
2024-06-19 15:49:59 +08:00
Minglei Jin
356f6645ad
Merge branch '3.0' into fix/TD-30545 2024-06-18 11:28:29 +08:00
54liuyao
e858dd5df0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-30313 2024-06-18 10:28:01 +08:00
dmchen
4c8ce7a14c feat/TS-4954 2024-06-17 06:31:39 +00:00
Minglei Jin
d47fe255ae remova level 0's empty wals when closing vnode 2024-06-14 17:09:48 +08:00
kailixu
eb72cec8d2 chore: naming optimization 2024-06-14 08:10:07 +08:00
kailixu
1f646713fe fix: check range option of alter user 2024-06-13 16:36:18 +08:00
54liuyao
7620be6e28 optimize show cluster alive stmt 2024-06-13 16:23:50 +08:00
Minglei Jin
0adbf110d9 check wal level on mnode 2024-06-13 11:02:05 +08:00
Minglei Jin
c13ba895ee fix translater rules for replica & wal level 2024-06-13 09:47:14 +08:00
dapan1121
18b5475771
Merge pull request #25511 from taosdata/fix/TD-29671/tableAliasName
fix: select failed as using table alias name
2024-06-13 08:50:19 +08:00
Minglei Jin
568799a6a3 fix(wal/level): enable alter replica from fake walLevel 1 2024-06-12 15:16:58 +08:00
dapan1121
bee01f9dba
Merge pull request #26081 from taosdata/enh/stmtPerf.3
enh: optimize stmt performance
2024-06-11 16:12:58 +08:00
kailixu
ffa235edbd fix: check range option 2024-06-07 16:10:27 +08:00
kailixu
a8788ec3a6 enh: check range for user enable/sysinfo/createdb 2024-06-07 13:30:10 +08:00
dapan1121
3f99e5e064 fix: memory issues 2024-06-07 09:25:17 +08:00
kailixu
13a0183599 check enable/sysinfo range 2024-06-07 09:04:28 +08:00
kailixu
2f5179cf44 Merge branch '3.0' into enh/TS-3737-3.0 2024-06-06 16:42:04 +08:00
Minglei Jin
11b26d80b7 wal_level 0: update unit & tsim test cases 2024-06-05 18:22:23 +08:00
dapan1121
ddf15fa55c Merge remote-tracking branch 'origin/3.0' into enh/stmtPerf.3 2024-06-05 17:13:48 +08:00
dapan1121
da8616d98a fix: add stbInterlace mode test cases 2024-06-05 17:12:15 +08:00
Minglei Jin
fdc2de2bd0 fix/wal_level 0: error with wal_level 0 to replica > 1 2024-06-05 15:47:09 +08:00
Minglei Jin
d6b2bcba68 enh/wal_level: new level 0 to disable wal writing 2024-06-05 15:19:55 +08:00
kailixu
2f222514dc chore: merge 3.0 2024-06-04 16:34:02 +08:00
Yihao Deng
ac2d9ab276 add error 2024-05-31 11:41:05 +00:00
Yihao Deng
69e402d547 add error 2024-05-31 11:40:54 +00:00
Yihao Deng
9f0d6eddae add error 2024-05-31 11:40:08 +00:00
kailixu
4ae8aeb909 Merge branch '3.0' into enh/TS-3737-3.0 2024-05-31 15:48:19 +08:00
Yihao Deng
fd385d7c52 support add column compress 2024-05-31 06:41:36 +00:00
Yihao Deng
c253ac73a9 support add column compress 2024-05-31 06:27:54 +00:00
Yihao Deng
116409d73f merge 3.0 2024-05-31 02:53:36 +00:00
Yihao Deng
c6407277dc support add column compress 2024-05-30 11:41:22 +00:00
dapan1121
c0e4ab20a4 enh: optimize stmt performance 2024-05-30 13:26:17 +08:00
dapan1121
a25b70c45c fix: add timeline test cases 2024-05-27 14:53:30 +08:00
dapan1121
6064ea0125 fix: support timeline query from union and order by 2024-05-24 11:24:19 +08:00
kailixu
0ef202a56b enh: createdb permission for users 2024-05-22 19:00:47 +08:00
dapan1121
09609dbac5
Merge pull request #25825 from taosdata/fix/3.0/TD-30065
fix show create table with empty table name
2024-05-21 09:16:51 +08:00
wangmm0220
d79550be20 fix:[TS-4817] check primary key(timestamp) in raw data 2024-05-20 19:18:31 +08:00
wangjiaming0909
59bf72428d fix show create table with empty table name 2024-05-17 17:52:17 +08:00
Hongze Cheng
56b2ccebf6
Merge pull request #25816 from taosdata/feat/TS-4050-3.0
feat/ts-4050-3.0
2024-05-17 09:13:19 +08:00
Hongze Cheng
f4a9c5e3c8
Merge pull request #25669 from taosdata/enh/TD-29953
Enh/TD-29953
2024-05-15 17:26:26 +08:00
kailixu
ba8d44e49c fix: error msg of show tags from ntb/view 2024-05-14 12:49:09 +08:00
kailixu
4abe06627c fix: error msg of show table tags from view 2024-05-14 12:25:25 +08:00
kailixu
8ab24c71d0 fix: show tags from undefined table 2024-05-13 17:14:29 +08:00
dmchen
7c31014c4d add sql 2024-05-13 08:20:27 +00:00
dapan1121
dc853c0d2f
Merge pull request #25726 from taosdata/opti/TS-4658
fix:[TS-4658] make error msg specific
2024-05-12 18:07:39 +08:00
wangmm0220
55ac177097 fix:[TS-4658] make error msg specific 2024-05-11 15:50:05 +08:00
factosea
5a75c38897 test 2024-05-08 23:28:04 +08:00
Yihao Deng
a247a43863 change compress 2024-05-08 06:55:29 +00:00
factosea
446fc9f859 group by alias tablename 2024-05-07 15:57:49 +08:00
dapan1121
7cc173ffbe
Merge pull request #25601 from taosdata/fix/TD-29719/crash2
fix: pSchemaExt crash
2024-04-30 14:28:10 +08:00
dapan1121
b023e6f9df
Merge pull request #25589 from taosdata/fix/TS-4730
fix: create stream udf issue
2024-04-30 14:24:44 +08:00
dapan1121
2bd83169bb fix: memory leak issue 2024-04-30 13:22:10 +08:00
factosea
5f582723eb fix: pSchemaExt crash 2024-04-30 10:23:40 +08:00
dapan1121
0ef476a09e fix: ut issue 2024-04-30 09:42:53 +08:00
wangjiaming0909
cb008f18dc usable tsma 2024-04-29 09:18:40 +08:00
dapan1121
6ffa3945ea fix: create stream udf issue 2024-04-29 09:18:26 +08:00
factosea
b314ca8509 fix: rewrite expr groupby 2024-04-28 09:45:54 +08:00
factosea
5a72630b3d fix: select failed as using table alias name 2024-04-26 09:40:29 +08:00
dapan1121
a38a14e20c
Merge pull request #25484 from taosdata/fix/TD-29719/schemaExtCrash
fix: copy schemaExt in subtable
2024-04-25 14:26:08 +08:00
factosea
46edf75ced fix: copy schemaExt in subtable 2024-04-25 09:33:01 +08:00
dapan1121
3ed44d75b9 fix: window join in view issue 2024-04-24 19:14:20 +08:00
Yihao Deng
f3feb9dabe refactor compress 2024-04-23 06:37:18 +00:00
dapan1121
312ca43b9f
Merge pull request #25399 from taosdata/opti/TS-4658
opti:add local thread error msg array
2024-04-19 18:23:39 +08:00
Hongze Cheng
fc5c84422e
Merge pull request #25256 from taosdata/feat/TD-24834
Feat/td 24834
2024-04-19 13:34:37 +08:00
kailixu
e6584cea91 Merge branch '3.0' into enh/TS-4255-3.0 2024-04-18 16:05:26 +08:00
wangmm0220
529ca1d1c1 opti:add local thread error msg array 2024-04-18 13:56:43 +08:00
dm chen
1196ea72da
Merge branch '3.0' into feat/TD-24834 2024-04-17 17:13:29 +08:00
Hongze Cheng
a34b644640
Merge pull request #25366 from taosdata/feat/compress_3.0
Feat/compress 3.0
2024-04-17 16:15:26 +08:00
kailixu
384e650882 enh: show encryptions 2024-04-17 14:41:47 +08:00
wangjiaming0909
9bc8f3aea0 fix release build 2024-04-17 11:56:20 +08:00
Yihao Deng
04e78d0ce7 Merge branch 'feat/3.0' into feat/compress_3.0 2024-04-17 03:23:02 +00:00
Yihao Deng
51fa1d40a4 fix other platform error 2024-04-17 03:02:54 +00:00
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
Hongze Cheng
b33074dcbb &&&b/github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-05 17:06:45 +08:00
54liuyao
8df1f09561 optimze plan and add ci 2024-03-01 11:27:33 +08:00
dapan1121
85cca872a5 enh: support timetruncate function 2024-02-29 17:52:53 +08:00
Hongze Cheng
1903a7a981 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-28 13:23:02 +08:00
kailixu
2c4a4a0d2d Merge branch '3.0' into fix/TS-4421-3.0 2024-02-28 09:49:43 +08:00
dapan1121
521c96913e Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-27 18:20:45 +08:00
Alex Duan
21ca4b707a Merge branch '3.0' into cases/TD-28408-3.0 2024-02-26 19:19:00 +08:00
Hongze Cheng
98eeef9d07 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 16:40:05 +08:00
Hongze Cheng
8a669d3adc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 10:48:14 +08:00
Alex Duan
97f56686c0 feat: autoshell add news keyword 2024-02-25 22:40:51 +08:00
kailixu
3a34697249 Merge branch '3.0' into fix/TD-28376-3.0 2024-02-25 15:26:33 +08:00
kailixu
41a79866b1 test: check user sysinfo during alter repeatedly 2024-02-25 10:23:05 +08:00
kailixu
8ad1ed8851 user sysinfo 2024-02-24 23:08:01 +08:00
kailixu
a38a69557a user sysinfo 2024-02-24 23:05:39 +08:00
kailixu
917edde91f user sysinfo 2024-02-24 22:25:30 +08:00
kailixu
e8fc27075b Merge branch '3.0' into fix/TD-28376-3.0 2024-02-24 22:23:20 +08:00
wangmm0220
22bd628c14 fix:[TD-28698] unit test error 2024-02-23 16:36:53 +08:00
Hongze Cheng
a6423b7816 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-23 14:47:10 +08:00
wangmm0220
b6d28b9b9d fix:[TD-28698] error message 2024-02-23 14:00:54 +08:00
dapan1121
794d4a931c
Merge pull request #24820 from taosdata/mark/3.0
fix:add excluded msg for meta in tmq
2024-02-23 09:41:39 +08:00
dapan1121
a745319b81 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-23 08:59:16 +08:00
wangmm0220
c2c49a4b22 fix:change datablock to old version for compatibility 2024-02-22 19:01:58 +08:00
dapan1121
807bba9215 fix: window join issues 2024-02-22 18:59:10 +08:00
wangmm0220
4037a7a1a5 fix:change datablock to old version for compatibility 2024-02-22 15:44:50 +08:00
wangmm0220
6e13e4aa63 fix:add excluded msg for meta in tmq 2024-02-22 10:58:32 +08:00
Hongze Cheng
4b71031014 more code 2024-02-21 14:29:10 +08:00
slzhou
87c8f1aa82 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4243-3.0 2024-02-21 13:09:36 +08:00
dapan1121
ba41231373
Merge pull request #24614 from taosdata/szhou/tms/port-3
feat: multi-readers and one merge tree
2024-02-21 10:00:52 +08:00
dapan1121
98ed2458ea Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-20 17:39:51 -08:00
dapan1121
2cacf6cf20
Merge pull request #24701 from taosdata/test/TD-26813
Test/td 26813
2024-02-20 09:06:39 +08:00
factosea
3439ff6e63 fix: rawBlockBindData 2024-02-19 20:13:05 +08:00
54liuyao
af1893d109 merge 3.0 2024-02-19 18:30:12 +08:00
dapan1121
b26716f2e8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-18 22:15:43 -08:00
factosea
e17cc16235 enh: like supported on show views 2024-02-19 13:10:27 +08:00
Hongze Cheng
45684e49c7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-19 09:08:58 +08:00
54liuyao
05eaa90c11 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-19 08:59:15 +08:00
factosea
5434019d2b fix: count(tag) when use qnode 2024-02-18 15:50:34 +08:00
Hongze Cheng
52ed1ec5f7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-18 09:52:53 +08:00
wangmm0220
871ebfa7ba Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-06 14:02:46 +08:00
54liuyao
d40dfa973b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 18:37:47 +08:00
wangmm0220
5796f411e4 Merge branch 'mark/3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-05 17:08:05 +08:00
wangmm0220
a656d75ca7 opti:consume data excluded from some source 2024-02-05 17:07:50 +08:00
54liuyao
c588770699 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 15:10:34 +08:00
Haojun Liao
ecdcc6dee1
Merge pull request #24738 from taosdata/fix/3_liaohj
test(stream): add unit test case for the mnode stream module.
2024-02-05 13:32:46 +08:00
wangjiaming0909
573fdfbbfd fix: plannerTest/parserTest crash and memory leaks 2024-02-05 13:05:01 +08:00
wade zhang
0ebd7d2527
Merge pull request #24737 from taosdata/feat/TD-27463-3.0
feat: support uniq grant
2024-02-05 10:32:34 +08:00
54liuyao
b16fc7d9df Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 10:15:59 +08:00
Haojun Liao
f6fea32eeb fix: fix some errors. 2024-02-05 09:27:19 +08:00
Haojun Liao
2e79c766fa
Merge pull request #24731 from taosdata/fix/3_liaohj
fix(tsdb): check and return if the rows in stt are before the data rows in data files.
2024-02-05 09:00:32 +08:00
kailixu
6098538162 feat: support uniq grant 2024-02-04 18:00:02 +08:00
kailixu
d281bc70b0 feat: remove hb of grantInfo 2024-02-04 16:46:24 +08:00
kailixu
3ebc26e1fb feat: support uniq grant 2024-02-04 16:33:43 +08:00
54liuyao
ea9353b9fd merge 3.0 2024-02-04 16:04:23 +08:00
kailixu
6cf7809e8d feat: support uniq grant 2024-02-04 14:59:47 +08:00
kailixu
a9316c3710 feat: support uniq grant 2024-02-04 12:28:00 +08:00
kailixu
f53d0bce5d feat: support uniq grant 2024-02-04 00:24:42 +08:00
dapan1121
9b008716fe enh: add window join ut 2024-02-02 16:06:01 +08:00
shenglian zhou
f77b602da9 fix: change from seq_blocks_sort to para_tables_sort 2024-02-02 14:45:04 +08:00
slzhou
4a6317a047 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4243-3.0 2024-02-02 11:29:04 +08:00
Haojun Liao
3236ef7bae feat(stream): return the stream source task exec delay, and do some internal refactor. 2024-02-02 11:26:47 +08:00
kailixu
231cf000da Merge branch 'feat/TD-27463-3.0a' into feat/TD-27463-3.0 2024-02-02 00:07:15 +08:00
kailixu
adee720128 feat: support uniq grant 2024-02-01 17:48:29 +08:00
Haojun Liao
0fe9c05c5f
Merge pull request #24704 from taosdata/fix/3_liaohj
fix(stream): take ver snapshot for all vgroups
2024-02-01 17:07:36 +08:00
Haojun Liao
88f246b988 fix(stream): fix syntax error on windows, and add null ptr check for pTrans obj. 2024-02-01 15:08:06 +08:00
dapan1121
ab87953362 enh: support window join 2024-02-01 14:58:08 +08:00
Haojun Liao
cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
shenglian zhou
87e2027475 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3-fe 2024-02-01 09:38:54 +08:00
shenglian zhou
7dcb477933 feat: add front end for ordered blocks in mem sort 2024-02-01 09:38:35 +08:00
kailixu
a860e9039d feat: support uniq grant 2024-01-31 13:52:03 +08:00
kailixu
e945586ad9 feat: support uniq grant 2024-01-31 13:44:00 +08:00
kailixu
2b1a0cdbfe feat: support uniq grant 2024-01-31 08:53:45 +08:00
dapan1121
50c420e6b9 enh: support window join 2024-01-30 19:19:44 +08:00
dapan1121
dc309d67b8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-29 17:08:41 +08:00
wangmm0220
35f154da37 fix:[TS-4479] support long varbinary in format like \x3423 2024-01-29 13:55:46 +08:00
wangmm0220
5f1b48a8da fix:[TS-4479] support long varbinary in format of \x3423 2024-01-29 10:50:10 +08:00
54liuyao
9e86dfaee7 stream count window sliding 2024-01-26 15:56:26 +08:00
Hongze Cheng
d33676942b fix: keep backward compatibility 2024-01-25 16:49:10 +08:00
slzhou
993728c200 feat: passed parser/ast 2024-01-25 11:20:04 +08:00
shenglian zhou
618e60cffc feat: primary key to SField and SSchema 2024-01-25 11:00:38 +08:00
54liuyao
7105b0ffe3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-25 10:12:13 +08:00
shenglian zhou
48b5411ba9 feat: first parser and ast generation 2024-01-24 17:17:19 +08:00
kailixu
e13e61f4d5 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-24 14:26:17 +08:00
factosea
251585b49c fix: orderby function first hit column 2024-01-23 15:37:50 +08:00
dapan1121
6640809638 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-23 14:48:12 +08:00
54liuyao
0975e37845 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-23 10:07:50 +08:00
dapan1121
5833b7ff02
Merge pull request #24572 from taosdata/fix/xsren/orderBySameNameCol
fix: order by same name col
2024-01-23 08:48:11 +08:00
factosea
bde8c14b55 fix: error code is overwritten 2024-01-22 20:54:24 +08:00
factosea
6ef1d8b0cb checkout pseudo columns 2024-01-22 19:54:29 +08:00
kailixu
5208829f23 Merge branch '3.0' into feat/TD-27463-3.0 2024-01-22 13:20:00 +08:00
Haojun Liao
ecd51e366f
Merge pull request #24512 from taosdata/opti/TD-28118
opti:[TD-28118] raw block data for tmq
2024-01-22 11:47:13 +08:00
factosea
00fd4f21ca fix: order by same name col 2024-01-22 10:14:11 +08:00
kailixu
dce02868b7 fix: user sysinfo 2024-01-19 19:27:36 +08:00
wangmm0220
0e1ef540c4 opti:[TD-28118] raw block data for tmq 2024-01-19 17:09:02 +08:00
wangmm0220
f95d5e4f62 opti:[TD-28118] raw block data for tmq 2024-01-19 15:28:23 +08:00
54liuyao
5a7d72d6ef Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-19 10:39:11 +08:00
kailixu
1daa224651 feat: support uniq grant 2024-01-18 17:49:11 +08:00
dapan1121
fb20dd51de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-18 17:11:25 +08:00
kailixu
5d189f69ec feat: support uniq grant 2024-01-18 15:51:45 +08:00
kailixu
76558da849 feat: support uniq grant 2024-01-18 15:23:38 +08:00
wangmm0220
366de880a8 opti:[TD-28118] raw block data for tmq 2024-01-18 10:48:42 +08:00
dapan1121
6285852f3c
Merge pull request #24493 from taosdata/fix/xsren/TD-28332/orderbyAmbigouus
fix: order by ambiguous
2024-01-18 08:43:00 +08:00
54liuyao
3bbfb26e09 stream count window 2024-01-17 14:22:19 +08:00
kailixu
bf0205b54d Merge branch '3.0' into feat/TD-27463-3.0 2024-01-17 11:29:47 +08:00
factosea
7d70d79963 fix order by ambiguous case 2024-01-17 11:10:13 +08:00
factosea
f1a2340288 fix: order by ambiguous 2024-01-16 19:46:57 +08:00
xinsheng Ren
ae5f540692
Merge branch '3.0' into fix/xsren/TD-28204/whereOptimizeConditional 2024-01-16 14:28:37 +08:00
factosea
3a4eed5c37 fix: checkIsEmptyResult 2024-01-16 10:46:22 +08:00
dapan1121
2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
factosea
a8efcfcce9 skip empty result optimization 2024-01-15 16:45:51 +08:00
factosea
52aa6f280e fix: skip empty result optimization when partition 2024-01-15 15:51:18 +08:00
kailixu
414e15a810 chore: merge 3.0 2024-01-15 10:42:45 +08:00
dapan1121
737140a09b
Merge pull request #24430 from taosdata/feat/TD-28267
add PARTITION_FIRST hint to use partition node before agg
2024-01-15 09:12:34 +08:00
factosea
0d56695d96 delete unused code 2024-01-15 02:31:04 +08:00
facetosea
c277abd3bf fix: functionNode skip 2024-01-14 21:47:13 +08:00
wangjiaming0909
bc1eacf626 add PARTITION_BEFORE_GROUP hint to use partition node before agg 2024-01-12 17:41:34 +08:00
factosea
19d7579e75 fix: copy expr 2024-01-12 14:01:35 +08:00
factosea
6115d7a67f fix functionNode ref 2024-01-12 10:47:48 +08:00
slzhou
0162fb9e76 set the timelineresmode to subquery timeline resmode 2024-01-12 10:46:03 +08:00
factosea
25f9956ccb fix:test 2024-01-11 21:21:00 +08:00
kailixu
ddefc5f46a chore: merge 3.0 2024-01-11 20:05:23 +08:00
dapan1121
8d1f5ff479 enh: add asof 2024-01-11 19:25:12 +08:00
factosea
3ed63df082 fix case 2024-01-11 18:34:21 +08:00
factosea
c8fb8486ef fix: SColumnRefNode disable 2024-01-10 19:07:21 +08:00
dapan1121
e784a5c210 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-10 18:57:19 +08:00
factosea
d243308541 fix: colref 2024-01-10 09:04:40 +08:00
factosea
45ec9fcbc8 fix: create param node from function node 2024-01-08 16:43:57 +08:00
factosea
8c3fe7cc70 fix: SColumnRefNode transfer to SelectFunction's param 2024-01-08 11:41:58 +08:00
dapan1121
8e73bedbc7 enh: add join ut 2024-01-05 14:40:05 +08:00
kailixu
d3aee612e0 chore: code optimization 2024-01-05 13:08:16 +08:00
kailixu
81d8b9b98b test: add test case for create index 2024-01-05 00:35:29 +08:00
kailixu
6bac747ab9 Merge branch '3.0' into fix/TD-28078-3.0 2024-01-04 23:47:41 +08:00
kailixu
3ccc3d80e0 chore: check tag cond for insert 2024-01-04 23:41:58 +08:00
dapan1121
670317ccd7
Merge pull request #24053 from taosdata/enh/3.0/TD-26813
enh: support group by tag/tbname to list empty groups
2024-01-04 09:08:03 +08:00
factosea
8dc2a6bbd9 fix: orderby 2024-01-03 20:43:23 +08:00
factosea
b6b2a41d83 fix: columnrefnode 2024-01-03 18:30:57 +08:00
dapan1121
8d9c093b99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-03 16:26:17 +08:00
Haojun Liao
a2e85c44c2
Merge pull request #24228 from taosdata/fix/3_liaohj
refactor: remove stream-scan-history event for stream task.
2024-01-03 14:43:20 +08:00
kailixu
9a2d60bb07 test: update unit test case 2024-01-02 22:41:04 +08:00
kailixu
e7c8d9176f fix: fill vartype tag with integer when create table 2024-01-02 20:37:12 +08:00
factosea
34e62d7fc0 fix: columanRefNode illegal type conversion 2024-01-02 20:22:15 +08:00
Haojun Liao
039aef3471
Merge pull request #24300 from taosdata/fix/TD-28110
fix:error msg is not specific in create stream
2024-01-02 14:53:44 +08:00
Haojun Liao
e7a0044502 Merge branch '3.0' into fix/3_liaohj 2024-01-02 13:02:55 +08:00
wangmm0220
0e9a1b22ed fix:error msg is not specific in create stream 2024-01-02 10:10:44 +08:00
fullhonest
e79516ade3 Fix TD-27939: error for sub query is empty when where 1=2 2024-01-02 10:02:30 +08:00
kailixu
ecf3a7b6d3 fix: code optimization 2024-01-02 00:28:30 +08:00
kailixu
0d26c186f0 chore: code optimization 2024-01-02 00:23:19 +08:00
kailixu
40205541a6 fix: check in client when create index 2024-01-02 00:19:23 +08:00
dapan1121
55b7bce8b7
Merge pull request #24256 from taosdata/szhou/fix/TD-28019
fix: change the result schema
2023-12-29 08:40:53 +08:00
slzhou
659c0a831e fix: change the result schema 2023-12-28 10:25:37 +08:00
54liuyao
ccf861dec8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3_liaohj 2023-12-26 18:36:18 +08:00
dapan1121
b9ae472ad1
Merge pull request #24212 from taosdata/szhou/fix/TD-28019
fix: change compact rsp first column name
2023-12-26 15:06:17 +08:00
Haojun Liao
b74e98b25c fix(stream): set the correct split timestamp for session/state window. 2023-12-26 14:17:46 +08:00
Haojun Liao
62cfcefbb0 refactor: remove stream-scan-history event for stream task. 2023-12-26 00:34:04 +08:00
slzhou
1beb3347fa fix: change compact rsp first column name 2023-12-25 10:18:19 +08:00
dapan1121
e570fcef99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-25 09:22:01 +08:00
Bob Liu
e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
slzhou
7dd6cb4227 fix: move bi to community version 2023-12-22 13:17:25 +08:00
kailixu
3005ab1953 chore: more code 2023-12-21 19:45:09 +08:00
dapan1121
bc38885856 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-19 11:22:41 +08:00
dapan1121
279b2aa10a enh: add join ut 2023-12-19 11:17:39 +08:00
kailixu
70006bb711 feat: support alter cluster 2023-12-18 16:34:31 +08:00
wangmm0220
7f8479f953 opti:logic in parse raw line & make log more specific 2023-12-18 15:16:33 +08:00
kailixu
9fa90fc953 Merge branch '3.0' into feat/TD-27463-3.0 2023-12-18 14:20:10 +08:00
kailixu
b54f816c2a feat: support uniq grant 2023-12-18 14:18:52 +08:00
dapan1121
13ab89bd1b Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-13 08:25:25 +08:00
slzhou
2743228217 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4229 2023-12-11 14:15:17 +08:00
dapan1121
4d993e8f9a
Merge pull request #23912 from taosdata/enh/3.0/TD-27276
enh : accept float data as int field input
2023-12-07 19:14:59 +08:00
dapan1121
a4242e829a
Merge pull request #23960 from taosdata/enh/xsren/TD-26882
Enh/xsren/td 26882
2023-12-07 13:23:28 +08:00
dapan1121
840690b59b Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-06 19:22:52 +08:00
Hongze Cheng
04e84ba152 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4229 2023-12-06 16:43:00 +08:00
factosea
a0e356bf84 Keep the last data with the same timestamp when inserting 2023-12-06 15:20:05 +08:00
dapan1121
0ffc707f1b
Merge pull request #23936 from taosdata/enh/xsren/TD-27531
enh: event_window + super table need partition by tbname
2023-12-06 10:41:08 +08:00
dapan1121
ee03cbc404 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-06 08:38:30 +08:00
Bob Liu
d2b2dee256 opt & add test case 2023-12-05 22:00:33 +08:00
xsren
9bb82ac03b fix merge key 2023-12-05 19:43:00 +08:00
factosea
f91d98df25 fix: error message 2023-12-05 14:11:58 +08:00
factosea
2019e95049 fix: stream for event window 2023-12-05 14:08:17 +08:00
facetosea
07301130c5 enh: event_window + super table need partition by tbname 2023-12-05 11:18:07 +08:00
kailixu
08be3d790c fix: ignore NULL tag 2023-12-04 20:08:46 +08:00
dapan1121
d10bbc6252
Merge pull request #23877 from taosdata/FIX/TD-27403
Fix TD-27403: insert error about use today + now as timestamp value
2023-12-04 10:55:26 +08:00
Bob Liu
7e8f3579de accept float data as int data input 2023-12-01 18:33:01 +08:00
dapan1121
3b4a8f6ead Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-01 08:33:04 +08:00
fullhonest
72d6614b7b Fix TD-27403: insert error about use today + now as timestamp value 2023-11-30 18:39:01 +08:00
Bob Liu
35ae8a4c0d adjust parseOneStbRow 2023-11-30 00:25:05 +08:00
Bob Liu
3069069e0f adjust parseOneStbRow; add case for stable 2023-11-29 22:47:31 +08:00
dapan1121
abdf6d337a enh: push down conditions 2023-11-29 20:06:30 +08:00
Bob Liu
9d3ce107f2 support stable insert child batch by file 2023-11-29 15:32:40 +08:00
Bob Liu
28b73b415c fit insert childtable by file 2023-11-29 02:44:55 +08:00
Bob Liu
5c5efa34eb fix crash when insert big csv 2023-11-29 01:53:13 +08:00
dapan1121
84cc80be1c fix: add window_offset translate 2023-11-28 14:35:11 +08:00
dapan1121
19752b020f feat: support more join type 2023-11-27 20:01:00 +08:00
dapan1121
d409ac5ef4
Merge pull request #23789 from taosdata/fix/xsren/TD-27282/paramNumError
param num error
2023-11-24 13:28:26 +08:00
facetosea
6694bf86c6 fix test case 2023-11-24 11:14:24 +08:00
slzhou
878ab262e6 fix: show compact detail 2023-11-23 16:26:17 +08:00
slzhou
c53bd04894 feat: after select compacts 2023-11-23 15:26:21 +08:00
xsren
484c045c05 param num error 2023-11-23 14:24:58 +08:00
slzhou
3de91de7f9 fix: bi mode create tbname col error 2023-11-23 11:18:05 +08:00
slzhou
f44ff199f2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/bi-tbname-col-func 2023-11-23 10:41:34 +08:00
dapan1121
53fe37f4d2
Merge pull request #23739 from taosdata/fix/xsren/TD-27282/invalidOperTips
fix: error msg when invalid operator
2023-11-23 09:54:07 +08:00
facetosea
b7342d53df return DEAL_RES_ERROR; 2023-11-22 19:37:08 +08:00
Haojun Liao
ebb1993900 fix(stream): fix error in check trans conflict. 2023-11-22 16:20:59 +08:00
slzhou
668e9e0a8b fix: add test cases 2023-11-22 08:59:29 +08:00
slzhou
40a28a6e4b fix: refactor dependency between community and enterprise 2023-11-22 08:47:35 +08:00
shenglian zhou
cc932b5ac9 fix: change compact id to 32-bit int 2023-11-21 17:01:24 +08:00
slzhou
ebbbb3825d enhance: bi mode tbname col to tbname func 2023-11-21 14:33:00 +08:00
shenglian zhou
83c1db07a3 enhance: tbname col to func 2023-11-21 13:53:10 +08:00
facetosea
4c36d1ee11 fix: error msg when invalid operator 2023-11-20 09:21:16 +08:00
slzhou
88819ea608 fix: tranform SCompactRsp to a datablock 2023-11-16 14:40:54 +08:00
slzhou
9ad86d7753 commit: add create show stmt support 2023-11-16 11:41:02 +08:00
shenglian zhou
b51e4b18ce feat: compact return id and kill compact id 2023-11-16 11:03:56 +08:00
liuyao
37c102a115 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-13 16:06:17 +08:00
slzhou
918fadaf00 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-10 16:45:13 +08:00
slzhou
9d448c7c6c fix: review comments 2023-11-10 16:30:16 +08:00
dapan1121
c1f935bd12 fix: const value replace issue 2023-11-09 14:49:04 +08:00
slzhou
30cbf9ae5c feature: if num of tbnames is greater than vgroups, do not update vgroupList of table 2023-11-09 10:31:01 +08:00
liuyao
340fb3e727 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 14:16:59 +08:00
slzhou
fabf4e8cf0 fix: tbname in (value...) apply 2023-11-08 09:09:03 +08:00
dapan1121
1045457d16
Merge pull request #23575 from taosdata/szhou/fix/3.0/tbname-no-dot
fix: tbname can not contain dot
2023-11-08 08:35:07 +08:00
slzhou
4ff81b84b0 fix: fix address sanitizer error 2023-11-07 20:47:14 +08:00
shenglian zhou
edeeb490b1 enhance: add tbname in values 2023-11-07 16:40:05 +08:00
shenglian-zhou
aaa7b45dc3
Merge branch '3.0' into szhou/3.0/fix/TD-27089 2023-11-07 11:07:15 +08:00
slzhou
d574b97015 fix: tbname can not contain dot 2023-11-07 11:03:42 +08:00
slzhou
6136b1d018 fix: fix tbname or error 2023-11-06 13:49:01 +08:00
slzhou
1153e5ddc2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-06 13:15:25 +08:00
slzhou
5495e1ceac fix: use the right target name 2023-11-06 12:33:09 +08:00
slzhou
88c8463e18 fix: process logic or conditions 2023-11-06 11:06:22 +08:00
dapan1121
0c4040b48e
Merge pull request #23541 from taosdata/fix/TS-4219.3.0
fix: insert syntax error caused coredump
2023-11-06 08:48:46 +08:00
dapan1121
6c4f94661b fix: insert syntax error caused core 2023-11-03 17:43:08 +08:00
shenglian zhou
893f7cc080 enhance: prepare for or processing 2023-11-03 16:35:43 +08:00
slzhou
e1ea15c8f2 enhance: improve performance 2023-11-03 16:13:35 +08:00
shenglian zhou
81af550763 Merge branch 'szhou/tbname-prune-vgroup' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-03 14:12:15 +08:00
shenglian zhou
bab886b229 enhance: refact code 2023-11-03 14:12:04 +08:00
slzhou
75d542c758 fix: performance improvement 2023-11-03 14:03:25 +08:00
slzhou
52608cf84d fix: performace improvement 2023-11-03 10:38:43 +08:00
shenglian zhou
55e8607206 fix: calc const optimization only when not tag scan 2023-11-03 10:17:23 +08:00
liuyao
330b04a8bc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 14:36:13 +08:00
liuyao
505c44d9aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-01 16:50:46 +08:00
slzhou
4a2c52783b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-11-01 14:10:02 +08:00
slzhou
bd64b9102d fix: fix address sanitizer error 2023-11-01 13:25:54 +08:00
slzhou
efb0c61cac fix: fix compilation error 2023-11-01 08:43:29 +08:00
shenglian zhou
42a7553fe0 enhance: refactor getStbRowValues 2023-11-01 08:35:38 +08:00
shenglian zhou
7636f09bfb enhance: refactor getStbRowValues 2023-11-01 08:32:31 +08:00
dapan1121
91df56fcf0 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-31 18:44:54 +08:00
dapan1121
d40cc27abc
Merge pull request #23464 from taosdata/enh/TD-26638-3.0
enh: use placeholder '-' for interval of 1st retention level
2023-10-31 18:36:43 +08:00
slzhou
041ef1ef83 enhance: colvals of table data cxt is not used in insert stb syntax 2023-10-31 17:05:37 +08:00
dapan1121
c4e1faae36
Merge pull request #23432 from taosdata/szhou/bi-mode-tag-scan
enhance: bi mode tag scan
2023-10-31 15:44:53 +08:00
liuyao
696294c208 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-31 15:41:04 +08:00
slzhou
c8767f7614 enhance: tbname token optimization 2023-10-31 14:44:06 +08:00
slzhou
1686c70a60 fix: not use ctb meta from hash of stmt node 2023-10-31 13:14:21 +08:00
dapan1121
aabd2bd739 fix: create view table meta issue 2023-10-31 11:23:33 +08:00
shenglian zhou
45ae3727a7 fix: performace improvement 2023-10-31 10:48:10 +08:00
slzhou
e800c993dd fix: set scan tags when bi mode 2023-10-31 07:37:56 +08:00
dapan1121
b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
dapan1121
658ea7c429
Merge pull request #23426 from taosdata/fix/TD-26930/xsren/superTime
fix: interval more than 1000 years
2023-10-30 17:55:53 +08:00
kailixu
da4fac4204 test: update test case for retentions 2023-10-30 17:04:09 +08:00
dapan1121
1517fe0ff0 fix: ut case issue 2023-10-30 16:44:10 +08:00
slzhou
e9a7f6e322 fix: invalid schema error 2023-10-30 15:54:10 +08:00
kailixu
c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
liuyao
1a37f19c82 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 11:43:23 +08:00
dapan1121
6f0b634f95 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 10:24:16 +08:00
slzhou
4b6f927e6a fix: add test case for bi tag scan 2023-10-30 10:11:57 +08:00
dapan1121
1b7a6bccdf
Merge pull request #23430 from taosdata/enh/TD-26641-3.0
enh: only float/double allowed for sum/avg of rsma
2023-10-30 10:08:55 +08:00
dapan1121
8650c5d4b0
Merge pull request #23392 from taosdata/feat/3.0/TS-4044
feat: support all utf8 characters as alias
2023-10-30 10:04:37 +08:00
facetosea
55f6d2b7a9 use TSDB_MAX_KEEP 2023-10-30 09:42:06 +08:00
dapan1121
972e10a238 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 08:45:29 +08:00
dapan1121
9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
kailixu
eae1b4eb03 chore: relationship between interval/keep 2023-10-27 19:15:23 +08:00
wangjiaming0909
cf158ab428 feat: support all utf8 characters as alias 2023-10-27 15:23:26 +08:00
slzhou
15aedb8d8c fix: fix bugs of pWhere is null 2023-10-27 15:16:40 +08:00
xsren
b422c29d4e fix interval limit on us/ns db 2023-10-27 15:16:03 +08:00
kailixu
ac72466429 chore: naming optimization 2023-10-27 15:11:35 +08:00
shenglian zhou
1bda5a7223 enhance: use tbname cond to set vgroup list of table node 2023-10-27 14:47:56 +08:00
kailixu
4ea44c429d chore: code optimization 2023-10-27 14:41:17 +08:00
kailixu
2ad3b98344 chore: test case for rollup 2023-10-27 13:49:39 +08:00
dapan1121
099f72e84a fix: memory issues 2023-10-27 11:36:17 +08:00
xsren
4186028083 fix: interval more than 1000 years 2023-10-27 11:09:18 +08:00
slzhou
779c37b425 enhance: change to invalid operation for stmt error 2023-10-26 14:23:21 +08:00
kailixu
4097b53bfa enh: only float/double allowed for sum/avg of rsma 2023-10-26 11:21:56 +08:00
kailixu
a83b3053f4 enh: check interval and keep for retentions 2023-10-25 22:52:03 +08:00
kailixu
64765579e9 enh: check interval and keep for retentions 2023-10-25 22:42:01 +08:00
liuyao
f51c985914 stream event window 2023-10-25 17:50:16 +08:00
slzhou
5ca39f961c fix: add error test case and fix address sanitizer 2023-10-25 16:30:13 +08:00
shenglian zhou
6edf954cd3 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/bi-mode-tag-scan 2023-10-25 13:54:58 +08:00
shenglian zhou
8b2d57504c enhance: bi mode default tag scan 2023-10-25 13:54:45 +08:00
slzhou
efe480ae14 Merge branch 'szhou/continue-coing' into szhou/insert-stb-tbname 2023-10-25 13:30:49 +08:00
slzhou
04a9f5945f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-10-25 13:30:38 +08:00
slzhou
29db21a3ad fix: reinit ctb meta and col vals before each stb row 2023-10-25 11:22:15 +08:00
slzhou
c17300557d fix: memory sanitizer error of simple insert stb 2023-10-25 10:56:28 +08:00
dapan1121
6dcc555bbc fix: view privilege issue 2023-10-25 10:47:01 +08:00
slzhou
f0a44b31fc fix: insert into super table syntax is not supported for stmt 2023-10-25 09:56:21 +08:00
shenglian zhou
3de5b841a5 fix: large file by batches 2023-10-25 09:35:37 +08:00
shenglian zhou
c9d1553633 enhance: refactor stb rows data context 2023-10-25 09:06:45 +08:00
shenglian zhou
a28b3a6e3f fix: refactor 2023-10-25 08:50:08 +08:00
shenglian zhou
0c33a3e60e fix: child table meta optimization 2023-10-25 08:27:02 +08:00
shenglian zhou
27302f995b fix: add memory free 2023-10-24 16:23:03 +08:00
dapan1121
9bf8be1ab4
Merge pull request #23354 from taosdata/fix/3.0/TD-26779
fix: union all cast func resType check error
2023-10-24 16:11:50 +08:00
shenglian zhou
ae1bac251a enhance: finished skeleton 2023-10-24 16:08:08 +08:00
dapan1121
dbbceae061 fix: union all view issue 2023-10-24 11:29:04 +08:00
shenglian zhou
65cfc13703 fix: memory sanitizer error 2023-10-23 19:40:27 +08:00
slzhou
0cfbcd7a13 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-10-23 16:34:21 +08:00
shenglian zhou
e713b7c22f enhance: insert stb skeleton development 2023-10-23 16:27:00 +08:00
dapan1121
ab98f7623c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-23 08:44:46 +08:00
shenglian zhou
5156c0d00c enhance: get tbname from one row for stb syntax 2023-10-22 15:14:50 +08:00
shenglian zhou
6488672dd6 enhance: parse target column 2023-10-22 11:21:36 +08:00
shenglian zhou
438a775c78 fix: parse insert stb columns when meta is ready or ready after get meta 2023-10-21 14:02:03 +08:00
dapan1121
0f4766e38e feat: add view cases 2023-10-20 18:22:30 +08:00
slzhou
3fe5c447e7 enhance: begin parse cols 2023-10-20 17:16:45 +08:00
dapan1121
1ff5ccf186
Merge pull request #23222 from taosdata/feat/TS-4072
feat: support interval syntax of quoted duration and default unit
2023-10-20 15:16:07 +08:00
slzhou
ce6be3d3e7 fix: refactor checkAuth for target table 2023-10-20 14:51:44 +08:00
wangjiaming0909
720982374c fix: union all cast func resType check error 2023-10-20 10:36:52 +08:00
dapan1121
42f440b0fb Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-20 08:46:32 +08:00
dapan1121
969b002936 enh: support view privilege 2023-10-20 08:41:49 +08:00
slzhou
332268fd4b set super table name for stb syntax and rename setRefreshMate to setRefreshMeta 2023-10-19 15:55:24 +08:00
wangjiaming0909
04c60486e9 feat: support interval syntax of quoted duration and default unit 2023-10-19 15:46:19 +08:00
slzhou
cb2311fde6 fix minior error 2023-10-19 13:28:48 +08:00
slzhou
334feb199a call processTableSchemaFromMetaData when success 2023-10-19 13:22:28 +08:00
shenglian zhou
8532227a36 fix: first schema clause top - target is supertable 2023-10-19 11:30:44 +08:00
dapan1121
afe963a9d1 enh: support view privilege 2023-10-19 08:31:31 +08:00
slzhou
9c1697bfd1 fix: fix minior error 2023-10-18 13:19:44 +08:00
slzhou
98d782cfa5 fix: if not subquery, rewrite project alias 2023-10-18 11:04:34 +08:00
slzhou
cdc8b757ad fix: remove subquery user alias name distinct check 2023-10-18 10:11:43 +08:00
dapan1121
7c8cf28b37 feat: add privileges 2023-10-16 19:53:08 +08:00
slzhou
d30c6f6bcc fix: change tablename.tbname aliasname to tbname 2023-10-16 13:56:15 +08:00
dapan1121
aab4cb98dc enh: create & drop view meta processing 2023-10-13 19:16:37 +08:00
dapan1121
a0699d758c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-13 16:51:38 +08:00
dapan1121
c0a4328803 feat: support view meta updating 2023-10-13 16:29:34 +08:00
shenglian-zhou
cbd9749bfe
Merge branch '3.0' into szhou/pseudo-column-aliasname 2023-10-12 19:01:28 -05:00
dapan1121
7c67f23469 feat: update view meta 2023-10-12 19:56:17 +08:00
slzhou
b78a32eb1a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/pseudo-column-aliasname 2023-10-12 11:01:50 +08:00
Haojun Liao
eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
dapan1121
f5768494b4 feat: support describe view command 2023-10-11 18:49:47 +08:00
dapan1121
478de7ae56 feat: add show create view implement 2023-10-11 10:38:22 +08:00
shenglian zhou
6c30c4faab Revert "fix: add create table sql to audit log"
This reverts commit 658de2a04e.
2023-10-10 11:12:53 +08:00
slzhou
bc2cf345fa fix: change error code after replace column and translate 2023-10-10 10:44:13 +08:00
slzhou
da9d39bfe6 fix: cancel future pseudo column translation function processing when rewritten to column 2023-10-10 08:31:23 +08:00
slzhou
b8fe279a85 fix: renanme function 2023-10-10 07:44:29 +08:00
dapan1121
d229492616 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-09 18:34:08 +08:00
dapan1121
6c8db261f3 feat: support show views command 2023-10-09 17:19:36 +08:00
slzhou
44c3bc99e0 feat: add interp pseudo column conversion to column 2023-10-09 16:56:21 +08:00
slzhou
56534a7b0d enhance: scan and window pseudo column 2023-10-09 16:22:44 +08:00
dapan1121
7c7cf2b1aa enh: support balance group leader on vgroup_id 2023-10-09 15:46:41 +08:00
shenglian zhou
1bf116f40c Merge branch 'szhou/continue-coing' of github.com:taosdata/TDengine into szhou/continue-coing 2023-10-09 13:23:23 +08:00
shenglian zhou
6ad518d61d enhance: pseduo column coverted to column when necessary 2023-10-09 13:21:32 +08:00
dapan1121
5b639a172d feat: support query from view 2023-10-08 18:36:06 +08:00
slzhou
94b9d0f10a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/pseudo-column-aliasname 2023-10-08 08:58:34 +08:00
Minglei Jin
2d3652c723 fix(keep0-duration): force keep0 at least thrice of duration 2023-09-28 16:15:35 +08:00
dapan1121
0a0f512023 feat: add view meta processing 2023-09-28 11:44:38 +08:00
slzhou
f659e36d2c fix: internal error when show normal db.tables like pattern 2023-09-28 09:20:12 +08:00
slzhou
dce29b367b fix: retore translater.c 2023-09-27 13:46:14 +08:00
slzhou
dee6006ed9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-09-27 10:02:49 +08:00
wade zhang
f6134b42d7
Merge pull request #23036 from taosdata/feat/TS-4011-3.0
feat/TS-4011: adjust config 'keep_time_offset' level from dnode to db
2023-09-26 14:25:54 +08:00
Shungang Li
743a5b0640 feat: add db config item keep_time_offset 2023-09-25 15:46:08 +08:00
shenglian zhou
df19645a90 fix: check table is super table when rewrite star for bi tool 2023-09-22 22:02:30 +08:00
slzhou
fb62588dd3 fix: nodesIsStar and nodesIsTableStar 2023-09-22 15:26:39 +08:00
slzhou
57d5d793f8 fix: comm/enterprise split 2023-09-22 15:06:38 +08:00
slzhou
18f8e0dc8d fix: enterprise/community bi support 2023-09-22 14:31:47 +08:00
slzhou
72307ab877 enhance: move bi to enterprise 2023-09-22 14:27:01 +08:00
dapan1121
a61d90f672 enh: remove column list 2023-09-22 11:36:53 +08:00
slzhou
9bb628650c fix: pass basic test 2023-09-22 10:13:17 +08:00
dapan1121
a67b0c99fc feat: support create/drop view 2023-09-21 19:28:07 +08:00
shenglian zhou
80f77251b2 merge with 3.0 and finish coding star expansion 2023-09-21 17:04:12 +08:00
dapan1121
cc08a5ee87 fix: add query sql 2023-09-20 19:30:40 +08:00
slzhou
6496bb3d31 Merge branch 'szhou/show-db-table' into szhou/continue-coing 2023-09-20 14:19:40 +08:00
slzhou
0c6338dc15 fix: fix address sanitizer error 2023-09-20 13:25:26 +08:00
slzhou
1f1657a160 fix: fix address sanitizer error 2023-09-20 11:50:32 +08:00
slzhou
1c27c2123f enhance: select tbname from (select tbname from d.st) 2023-09-20 11:06:59 +08:00
slzhou
951786669d fix: modify show_kind enum value from none to all 2023-09-20 08:39:57 +08:00
slzhou
bd2669b4f1 fix: show normal tables core 2023-09-19 16:40:23 +08:00
slzhou
f4dbd5d9c9 enhance: show normal/child tables and show user/system databases 2023-09-19 16:14:17 +08:00
dm chen
ee913cbfbc
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-19 14:39:20 +08:00
dapan1121
b9d554275c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-09-19 14:21:00 +08:00
dapan1121
14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
shenglian zhou
2773f1e9ac fix: continue coding 2023-09-19 14:03:06 +08:00
slzhou
cabe04fccd fix: add more sql trace 2023-09-19 10:47:12 +08:00
slzhou
7b2eea0b4b fix: fix address sanitizer error 2023-09-19 10:08:01 +08:00
slzhou
05ef6e291c fix: fix address sanitizer error 2023-09-19 09:15:12 +08:00
slzhou
6eb6799a34 fix: fix sanitizer error 2023-09-19 08:41:10 +08:00
slzhou
78ea4b1927 fix: fix memory sanitizer error 2023-09-19 08:38:08 +08:00
shenglian zhou
94a616fcc1 fix: save and continue 2023-09-18 16:59:07 +08:00
xsren
83d8e3a524 mem exception handle 2023-09-18 13:48:09 +08:00
dm chen
fda32dcc51
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-18 09:41:47 +08:00
Haojun Liao
05e9f40834
Merge pull request #22828 from taosdata/enh/ipWhiteList
Enh/ip white list
2023-09-15 17:49:37 +08:00
shenglian zhou
658de2a04e fix: add create table sql to audit log 2023-09-15 09:56:56 +08:00
Haojun Liao
500fcad36c
Merge pull request #22892 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-09-15 00:46:46 +08:00
dapan1121
8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
wangmm0220
8d2ac4a317 fix:return TSDB_CODE_PAR_VALUE_TOO_LONG if data value is longer than bytes & fix tsAssert default value to 0 2023-09-14 15:56:01 +08:00
Haojun Liao
9b70c0c457 fix:fix coverity issue and remove unnecessary files. 2023-09-14 09:06:10 +08:00
Yihao Deng
fa302ac6b9
Merge branch '3.0' into enh/ipWhiteList 2023-09-13 10:14:08 +08:00
Haojun Liao
60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
yihaoDeng
7ce8f694dc Merge branch 'enh/dev3New' into enh/ipWhiteList 2023-09-12 15:54:06 +08:00
shenglian zhou
d724762f68 fix: add audit sql to cmd request 2023-09-12 13:35:41 +08:00
Haojun Liao
f602aa965f fix(stream): fix coverity scan issues. 2023-09-12 09:16:18 +08:00
yihaoDeng
d549a47cf5 add rpc update interface 2023-09-11 15:17:20 +08:00
Haojun Liao
0f909285c4
Merge pull request #22684 from taosdata/mark/tmq-3.0
fix:use vgstatus before if rebalance
2023-09-07 09:20:27 +08:00
yihaoDeng
e539eebaa2 add rpc update interface 2023-09-05 18:50:11 +08:00
wangmm0220
ef87b9c571 fix:conflicts from 3.0 2023-09-05 16:19:04 +08:00
wangmm0220
1716579081 fix:return TSDB_CODE_PAR_VALUE_TOO_LONG if data value is longer than bytes 2023-09-05 16:13:59 +08:00
dapan1121
07053ae525
Merge pull request #22725 from taosdata/fix/TS-3895
fix: fix last(*)/last_row(*) return MD5 hashed column name
2023-09-05 13:28:47 +08:00
dapan1121
4a5bcb5c80
Merge pull request #22650 from taosdata/szhou/ip-whitelist
enhance: ip whitelist syntax
2023-09-05 11:00:55 +08:00
wangjiaming0909
2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
Ganlin Zhao
0fed045a12 fix: fix last(*)/last_row(*) return MD5 hashed column name 2023-09-04 18:33:50 +08:00
Haojun Liao
21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
wangmm0220
fd85d5885a fix:add limit time for consume in 1 seconds 2023-09-01 16:57:49 +08:00
wangmm0220
f0fbe08e1d fix:core dump if tmq is null 2023-09-01 16:45:46 +08:00
yihaoDeng
832b78c0e8 Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 13:44:23 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121
eda96e4301 Merge remote-tracking branch 'origin/main' into fix/m23.2 2023-09-01 11:02:54 +08:00
yihaoDeng
8b146f793d Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 10:51:24 +08:00
dapan1121
228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
wade zhang
20a9ab16e0
Merge pull request #22664 from taosdata/fix/TD-26046
fix: remove constant partition
2023-08-31 18:37:53 +08:00
dapan1121
cff17434a2 fix: aggragate function omited issue 2023-08-31 16:23:00 +08:00
slzhou
16e3541d4a fix: windows compilation error 2023-08-31 15:44:42 +08:00
dapan1121
1709ab4849 fix: remove constant partition 2023-08-31 13:52:37 +08:00
wade zhang
f9aaf42cd0
Merge pull request #22657 from taosdata/feat/TD-18789
fix:modify error tips
2023-08-31 11:05:29 +08:00
dapan1121
62d77c8be2
Merge pull request #22654 from taosdata/fix/TD-26046
fix: trim block and partition by constant function issue
2023-08-31 09:04:46 +08:00
slzhou
189c5cf137 fix: address sanitizer error 2023-08-31 07:55:21 +08:00
dapan1121
20552290cd fix: partition by constant function issue 2023-08-30 19:13:44 +08:00
wangmm0220
be893c1bb0 fix:modify error tips 2023-08-30 18:21:37 +08:00
slzhou
f41783c73f fix: address sanitizer error 2023-08-30 17:12:12 +08:00
slzhou
82dc2de2f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 17:11:42 +08:00
dapan1121
2e7897239a fix: trim block and partition by constant function issue 2023-08-30 16:51:44 +08:00
slzhou
25262c0dea fix: unknow error 2023-08-30 16:33:19 +08:00
Haojun Liao
d87a525131
Merge pull request #22639 from taosdata/fix/TD-26025
fix create tag error
2023-08-30 16:28:16 +08:00
dapan1121
f94c849f23
Merge pull request #22540 from taosdata/fix/TS-3821
fix: use MD5 hash to fix aliasname not enough to hold dbname.tbname
2023-08-30 15:21:23 +08:00
slzhou
402a4c3d60 enhance: add test case 2023-08-30 15:13:43 +08:00
slzhou
1ab94d0992 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 14:42:26 +08:00
slzhou
97f048364b enhance: regenerate sql.c 2023-08-30 14:37:04 +08:00
shenglian zhou
b8205f23bf enhance: ip whitelist before debug 2023-08-30 14:32:46 +08:00
yihaoDeng
cf98414dbd fix case error 2023-08-30 14:22:50 +08:00
Haojun Liao
b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
yihaoDeng
89bb80db65 fix create tag error 2023-08-30 10:46:28 +08:00
shenglian zhou
33966cf856 enhance: continue coding 2023-08-29 17:35:03 +08:00
Ganlin Zhao
d0fb485573 fix all possible overflow using md5 2023-08-29 15:51:29 +08:00
wangmm0220
34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
slzhou
f280da26da Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-29 14:16:37 +08:00
wangmm0220
201a8f0918 feat:support varbinary type 2023-08-28 19:06:16 +08:00
dapan1121
0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
Haojun Liao
88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
dapan1121
1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
wangmm0220
e59536181c fix:bytes error 2023-08-25 22:21:33 +08:00
wangmm0220
9cd8df12c2 fix:memory leak 2023-08-25 16:32:01 +08:00
wangmm0220
26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
slzhou
d5db4b16ba Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tags-after-distinct 2023-08-24 16:57:25 +08:00
Haojun Liao
3c6870275b fix(parser): update the key words for disk io throttling. 2023-08-24 16:45:47 +08:00
slzhou
b16470414a enhance: ip range white list to user 2023-08-24 15:54:10 +08:00
slzhou
f6dbd0b0e4 fix: select distinct/all tags instead of select tags distinct 2023-08-24 14:03:40 +08:00
wangjiaming0909
366a9cc009 Revert "feat: support column comment"
This reverts commit dcbef83dea.
2023-08-24 13:54:27 +08:00
wangjiaming0909
c2af41d0d0 Revert "feat: support alter table add column with comment"
This reverts commit cb027cc5c5.
2023-08-24 13:48:35 +08:00
wangjiaming0909
7fad1de841 Revert "feat: show create table, desc table with col comments"
This reverts commit 16754b5ac1.
2023-08-24 13:38:41 +08:00
dapan1121
efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
slzhou
4e2a26e8be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-18 08:46:17 +08:00
slzhou
85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
dapan1121
1b038d2dcd Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-17 16:08:39 +08:00
Benguang Zhao
7735e6f388 Merge branch 3.0 to FEAT/TD-25699-3.0 2023-08-17 16:04:23 +08:00
dapan1121
0e10e94a40
Merge pull request #22453 from taosdata/feat/TD-25685
feat: support column comment
2023-08-17 14:23:54 +08:00
dapan1121
e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
wangjiaming0909
16754b5ac1 feat: show create table, desc table with col comments 2023-08-17 11:39:34 +08:00
Benguang Zhao
bad2bb52b5 enh: update test cases for show vnodes 2023-08-16 20:17:11 +08:00
Benguang Zhao
80518cf82b feat: support sql command show vnodes for all dnodes 2023-08-16 20:17:11 +08:00
wangmm0220
b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wangmm0220
f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
slzhou
c21559c3d5 fix: select tags - error of stmt can not be created 2023-08-16 16:00:16 +08:00
dapan1121
143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121
91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
Benguang Zhao
8b26ea7a55 enh: add command show vnodes on dnode <dnode_id> 2023-08-16 13:31:52 +08:00
wangjiaming0909
cb027cc5c5 feat: support alter table add column with comment 2023-08-16 11:07:40 +08:00
Haojun Liao
63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +08:00
slzhou
1c9611ea51 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-16 09:14:04 +08:00
wade zhang
1a1a12b7b8
Merge pull request #22327 from taosdata/fix/TD-25010-3
feat(tsdb/cos): s3 migration
2023-08-16 08:02:20 +08:00
wangjiaming0909
dcbef83dea feat: support column comment 2023-08-15 16:30:02 +08:00
slzhou
514da6e1b0 fix: select tags and set tag scan execution mode 2023-08-15 15:16:57 +08:00
wangmm0220
7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
shenglian zhou
9fb9d863b9 enhance: modify sql.y 2023-08-15 11:29:17 +08:00
dapan1121
8fc0f1bbd6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-15 09:00:53 +08:00
dapan1121
31b0bcd716 fix: taosd crash issue 2023-08-15 08:51:23 +08:00
dapan1121
f9f74eaaf4
Merge pull request #22406 from taosdata/fix/TD-24684
fix: remove ins_modules table
2023-08-15 08:42:08 +08:00
Haojun Liao
9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
dapan1121
6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
yihaoDeng
cf9f9ab471 rebuild index at tag0 2023-08-14 08:01:20 +00:00
dapan1121
6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121
ae0426717a feat: add hint option 2023-08-14 10:47:56 +08:00
dapan1121
b4b9a12d61 fix: memory issue 2023-08-14 09:06:21 +08:00
dapan1121
c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
dapan1121
8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
Minglei Jin
33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
kailixu
1ce8d06032 fix: proj col compare func 2023-08-10 09:57:57 +08:00
dapan1121
1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
slzhou
9b4bdd819b enhance: subquery can use expr primary key +/- value as primary key 2023-08-08 13:24:06 +08:00
wangmm0220
864d07e1bc feat:[TD-24559]support geomety type in schemaless 2023-08-07 19:39:06 +08:00
Minglei Jin
fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
dapan1121
0546bdceb2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-07 11:23:15 +08:00
wade zhang
3a59b95211
Merge pull request #22226 from taosdata/wjm/fix/TD-25374
fix: window fill ts range check with int64 overflow
2023-07-30 14:32:31 +08:00
dapan1121
b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
wangjiaming0909
6713882b48 fix: window fill ts range check with int64 overflow 2023-07-28 14:17:21 +08:00
Haojun Liao
b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao
3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
dapan1121
4e5fbb52ee Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-26 13:56:46 +08:00
dapan1121
768a84647c
Merge pull request #22177 from taosdata/enh/TS-3625
fix: fix error message
2023-07-25 13:28:19 +08:00
Ganlin Zhao
c9c7f99764 fix: fix error message 2023-07-25 09:49:23 +08:00
dapan1121
4f75eb5655 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-24 11:43:15 +08:00
wangmm0220
872222eb77 fix:[TD-25222] error in drop topic if topic num is too long 2023-07-17 19:52:07 +08:00
Ganlin Zhao
929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
wangjiaming0909
ee7c8289aa fix: create sma index for us/ns database failed 2023-07-17 09:02:30 +08:00
Ganlin Zhao
7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
dapan1121
aca9c5fe19 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-14 13:31:07 +08:00
Haojun Liao
e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
Haojun Liao
f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
dapan1121
424c3d39fb
Merge pull request #22048 from taosdata/feat/TD-25003
feat: add new syntax for show tags/index/table tags
2023-07-13 09:46:11 +08:00
Ganlin Zhao
b058f3c881 add syntax for show tags/index/table tags from db.tb 2023-07-12 13:50:17 +08:00
dapan1121
75c250f503 fix: report permission error when all columns are invisiable 2023-07-12 11:49:57 +08:00
Ganlin Zhao
5ec94c0697 add syntax for show tags/index/table tags from db.tb 2023-07-12 11:06:47 +08:00
Ganlin Zhao
48bc377233 add show command for system db 2023-07-11 13:56:02 +08:00
Haojun Liao
3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
wangmm0220
35ba132a29 fix:conflicts from main 2023-07-09 12:52:18 +08:00
wangmm0220
a5363e6e03 fix:test case in tmq 2023-07-09 12:49:50 +08:00
dapan1121
5b5b5648ac Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-07 19:32:50 +08:00
dapan1121
a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
dapan1121
328104a15a
Merge pull request #21971 from wangjiaming0909/fix/3.0/TD-25068
refine select interval from sys table error msg
2023-07-07 08:40:06 +08:00
wangjiaming0909
2de37b9426 refine select interval from sys table error msg 2023-07-06 13:52:52 +08:00
wangjiaming0909
1f71ce9409 feature: get last timestamp before create sma index 2023-07-06 10:33:22 +08:00
dapan1121
c85bbef2e9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-05 11:13:57 +08:00
Haojun Liao
82342ebdc7
Merge pull request #21934 from taosdata/feature/TD-20678
feat:subscribe only meta info
2023-07-04 11:28:27 +08:00
wangmm0220
20e616d59d feat:parse sql.y 2023-06-30 19:36:39 +08:00
dapan1121
99fc0e0c96 fix: add with meta 2023-06-30 17:45:28 +08:00
wangmm0220
af16b62289 fix:modify sql.y 2023-06-30 16:57:29 +08:00
wangmm0220
58c7011e0e feat:support only meta in tmq subscriptions 2023-06-30 11:42:40 +08:00
dapan1121
7dddfd0a5a Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-29 19:29:27 +08:00
wade zhang
80130b2691
Merge pull request #21851 from luckeverda/fix/TD-24473
fix/TD-24542/TD-24484/TD-24473
2023-06-29 10:42:53 +08:00
Shungang Li
308ba7a02e fix: type geometry predicates support
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
dapan1121
9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
dapan1121
8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Ganlin Zhao
77d2737f91 fix: fix userAlias issue when keepColumnName is set to true 2023-06-25 17:51:51 +08:00
wade zhang
254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Shungang Li
b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
dapan1121
205e79ad28
Merge pull request #21736 from taosdata/fix/TD-24790
fix: fix fill double type column with scalar expression error
2023-06-15 18:45:40 +08:00
Ganlin Zhao
4e2eeed44c optimize 2023-06-15 16:31:36 +08:00
Haojun Liao
1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Ganlin Zhao
61d089496d fix: fix fill double type column with scalar expression error 2023-06-15 10:58:39 +08:00
dapan1121
e52c6aae8c
Merge pull request #21620 from taosdata/fix/TD-24567-3.0
fix: tsma query with order by _wstart/_wend
2023-06-15 09:06:57 +08:00
dapan1121
73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
dapan1121
48b9cac75c fix: fix no data in db issue 2023-06-13 11:44:13 +08:00
kailixu
4cd039c38e chore: compare funcNode without aliasName 2023-06-12 16:47:03 +08:00
dapan1121
170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
kailixu
f5d28cdcd1 chore: more check 2023-06-12 10:49:17 +08:00
kailixu
b200fdba51 chore: node type 2023-06-12 10:44:01 +08:00
kailixu
58c43901ed chore: another logic 2023-06-12 09:14:38 +08:00
dapan1121
988ee2b57a fix: consumer group issue 2023-06-09 11:13:22 +08:00
kailixu
1812b9e968 Merge branch '3.0' into fix/TD-24567-3.0 2023-06-09 09:55:47 +08:00
dapan1121
5a3d3713dc
Merge pull request #21601 from wangjiaming0909/fix/m/TS-3482
fix: select desc and asc return different rows after delete
2023-06-08 15:17:28 +08:00
kailixu
576e3d1156 chore: erase duplicated func node for window logic node 2023-06-08 11:49:49 +08:00
dapan1121
958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
Ganlin Zhao
150e9ae296 make interp fill multiple col logic same as window fill 2023-06-07 16:55:03 +08:00
dapan1121
01683f6d92
Merge pull request #21527 from taosdata/feat/TS-3048
feat(query): support single point interp
2023-06-06 18:17:20 +08:00
kailixu
bcac24b6b7 fix: tsma query with order by _wstart/_wend 2023-06-06 17:19:59 +08:00
Ganlin Zhao
e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
dapan1121
65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
wade zhang
e12af9327e
Merge pull request #21612 from luckeverda/geo
fix: compress core by tDataTypes
2023-06-06 14:20:45 +08:00
Shungang Li
472665e4b1 fix: compress core by tDataTypes 2023-06-06 13:06:53 +08:00
slzhou
beb2b7b467 fix: rewrite count(*) to count(1) for temp table 2023-06-06 07:39:14 +08:00
wangjiaming0909
73585b3552 fix: select desc and asc return different rows after delete 2023-06-05 17:44:34 +08:00
Ganlin Zhao
005182c3c9 fix multiple interp issue 2023-06-05 16:40:48 +08:00
Ganlin Zhao
6b670b7f08 fix desc 2023-06-05 15:48:15 +08:00
Ganlin Zhao
be34546edd enh: enable interp fill value support scarlar expression 2023-06-05 15:19:06 +08:00
dapan1121
ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao
d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
dapan1121
6dda2e94f4 fix: distinct primary timestamp issue 2023-06-02 11:42:25 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
dapan1121
23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
wangmm0220
b8a4df4146 fix:avoid put tag to select if where condition is always true or false 2023-05-30 16:50:20 +08:00
Ganlin Zhao
1009c80967 fix bug 2023-05-30 14:21:32 +08:00
Ganlin Zhao
b83a4b14e7 allow omit every clause for single point interp 2023-05-29 17:34:35 +08:00
Ganlin Zhao
57c301553b feat(query): support single point interp syntax 2023-05-29 16:40:30 +08:00
dapan1121
ccf57129bb fix: show create table privilege issue 2023-05-29 16:33:31 +08:00
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
dapan1121
60588af694 fix: add topic query 2023-05-29 13:33:51 +08:00
wangmm0220
208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
dapan1121
e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
dapan1121
2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
wangmm0220
357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00