Commit Graph

3530 Commits

Author SHA1 Message Date
Shengliang Guan 11463a6d8a Merge branch 'feat/anode6' into feat/anode7 2024-10-10 21:06:39 +08:00
Shengliang Guan 70d17e3642 Merge branch '3.0' into feat/anode6 2024-10-10 21:02:51 +08:00
wangmm0220 a9f393aa56 fix:[TS-5441] conflicts from 3.0 2024-10-10 18:32:25 +08:00
wangmm0220 42b7520d34 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-10 18:27:42 +08:00
lyh250-666 f08e5054a3 opti:modify type 2024-10-10 18:06:24 +08:00
dapan1121 3faff06991 fix: revoke table name escape issue 2024-10-10 16:19:27 +08:00
54liuyao 5c121fd90d Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-10 15:58:07 +08:00
lyh250-666 87caa19c70 opti:add bool type 2024-10-10 13:48:54 +08:00
lyh250-666 9a125698b8 opti:add bool type 2024-10-10 13:46:11 +08:00
Shengliang Guan e792c1a986 fix: unitest error 2024-10-10 11:49:26 +08:00
xsren e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
54liuyao dd7f705dcc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 19:31:44 +08:00
lyh250-666 1388ce32f6 opti:update case 2024-10-09 19:14:45 +08:00
Shengliang Guan ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Shengliang Guan 159c318fbd feat: analysis parser 2024-10-09 18:18:45 +08:00
Shengliang Guan 080c44681c feat: analysis translater 2024-10-09 18:13:45 +08:00
Shengliang Guan 234bf4b332 feat: analysis plan 2024-10-09 17:58:46 +08:00
Shengliang Guan 8eddf6c268 feat: analysis function 2024-10-09 17:52:21 +08:00
lyh250-666 521da82e14 opti:case when else data type compatibility 2024-10-09 17:23:58 +08:00
Shengliang Guan 4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
54liuyao e6f11c180c fix ci issue 2024-10-09 16:03:09 +08:00
lyh250-666 676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
lyh250-666 bab99c7897 opti:case when else data type compatibility 2024-10-09 14:16:42 +08:00
wangmm0220 67fe609129 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-08 18:24:16 +08:00
wangmm0220 3763a6adae enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-08 16:06:12 +08:00
lyh250-666 066a92e819 opti:case when else data type compatibility 2024-10-08 15:16:26 +08:00
54liuyao d13819bbf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 09:05:46 +08:00
Pan Wei f903f5edf0
Merge pull request #28148 from taosdata/ret_check
ret check for taosMemoryAlloc
2024-09-27 14:59:11 +08:00
54liuyao df8cfa65c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-27 11:37:37 +08:00
wangjiaming0909 420482720f ret check for taosMemoryAlloc 2024-09-27 09:16:47 +08:00
xsren 18bc5a048f taosStrndup 2024-09-26 14:46:53 +08:00
54liuyao 68b2ca0f7b adj sql.c 2024-09-25 15:16:07 +08:00
54liuyao d44529e62f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-25 15:12:15 +08:00
kailixu 92146c510a fix: unify the error code when drop stable 2024-09-25 09:22:56 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
54liuyao 2c24c52c80 fix(stream):not support group by 2024-09-23 13:52:18 +08:00
Hongze Cheng 5639fd0baf
Merge pull request #27947 from taosdata/enh/TS-5111-3.0
enh: support drop table with uid
2024-09-23 13:36:27 +08:00
Pan Wei 373aaeaf0d
Merge pull request #28019 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-23 10:13:57 +08:00
lyh250-666 df147c60b0 enh:modify error code passing 2024-09-23 08:58:10 +08:00
Pan Wei 04663cb4b3
Merge pull request #28011 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-23 08:54:34 +08:00
kailixu 812f3a04d9 enh: support drop table with uid 2024-09-23 00:14:49 +08:00
Kaili Xu 303eaaa5d9
Update parTranslater.c 2024-09-23 00:09:03 +08:00
kailixu 843637a897 enh: code optimization 2024-09-22 10:00:18 +08:00
kailixu bb31622693 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-21 13:48:33 +08:00
lyh250-666 651a94d747 enh:modify error code passing 2024-09-20 17:58:13 +08:00
lyh250-666 69d62454d7 enh:modify error code passing 2024-09-20 17:48:04 +08:00
54liuyao e53fafc08f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-20 15:31:03 +08:00
Jinqing Kuang 1ccaaf75bd fix(query)[TS-5443]. Fix invalid key in ORDER BY within subqueries
Resolved an issue where an ORDER BY alias in subqueries failed to
convert to the expected ColumnNode when the corresponding column
could be omitted. Updated the conversion logic to handle this case
correctly and ensure proper query execution.
2024-09-20 14:44:30 +08:00
kailixu 0e81372841 enh: support drop table with uid 2024-09-20 10:26:44 +08:00
kailixu 0fbf166a3b enh: support drop table with uid 2024-09-20 10:25:12 +08:00
kailixu 3fd2e51e06 enh: cannot drop table of system db 2024-09-20 09:46:37 +08:00
kailixu b0a711e575 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-20 09:45:49 +08:00
kailixu 3efa99520a enh: support drop table with uid 2024-09-20 01:54:07 +08:00
kailixu 6f0fafdc92 enh: drop table with uid 2024-09-19 18:55:26 +08:00
kailixu 9cc0702a77 enh: drop table with uid 2024-09-19 18:34:49 +08:00
kailixu cac1ce28ad enh: support drop table with uid 2024-09-19 16:47:08 +08:00
kailixu 33047e7d7f enh: memory leak issue 2024-09-19 15:38:57 +08:00
54liuyao 813cab6e33 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-19 14:45:38 +08:00
kailixu 7471b9506d enh: support drop stable with uid 2024-09-19 14:39:08 +08:00
kailixu 07abb97495 enh: support drop table with uid 2024-09-19 12:58:30 +08:00
kailixu c95c67e168 chore: remove assert 2024-09-18 21:18:46 +08:00
kailixu 207c7aded0 enh: support drop table with uid 2024-09-18 19:38:57 +08:00
wangjiaming0909 91927e84a5 ret check for memory allocation 2024-09-18 19:11:35 +08:00
kailixu 2ea574fa4f chore: merge 3.0 2024-09-18 19:06:15 +08:00
kailixu 107ad05273 enh: support drop table with uid 2024-09-18 19:04:44 +08:00
Hongze Cheng 6075213353
Merge pull request #27929 from taosdata/fix/TD-32125
fix(stmt/settag): return error if var tag's length is null
2024-09-18 18:45:21 +08:00
54liuyao c4566f98b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-18 16:26:37 +08:00
kailixu ba10e95723 enh: support drop table with uid 2024-09-18 16:05:05 +08:00
Minglei Jin ad56719d9b stmt2/bind tags: fail with null var tag length 2024-09-18 16:03:26 +08:00
Minglei Jin 94d76ffcd2 fix(stmt/settag): return error if var tag's length is null 2024-09-18 15:07:46 +08:00
kailixu 28edf40c2a enh: support drop table with uid 2024-09-18 13:57:17 +08:00
Minglei Jin 4d4f73de4e stmt: return oom if mem alloc failed 2024-09-18 13:52:34 +08:00
54liuyao b8cd739383 add ci and fix issue 2024-09-18 11:08:47 +08:00
Hongze Cheng eda1395928
Merge pull request #27886 from taosdata/fix/TD-30813-5
fix(stmt2/settbtags): fix memleak & can not set tags issue
2024-09-18 10:07:57 +08:00
kailixu d7fcf21f8b enh: support drop table with uid 2024-09-17 15:41:10 +08:00
kailixu 302c08331f enh: support drop table with uid 2024-09-17 10:33:38 +08:00
kailixu cd358de7ce enh: support drop table with uid 2024-09-16 18:54:53 +08:00
kailixu 270d485da7 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-16 11:38:44 +08:00
kailixu 31bb993e0d enh: support drop table with uid 2024-09-14 17:57:30 +08:00
Minglei Jin c789909579 fix(stmt2/gettags): return zero tags for normal tables 2024-09-14 15:52:30 +08:00
Hongze Cheng 8c1a04138a
Merge pull request #27819 from taosdata/fix/TD-31771-3.0
fix: memleak in taos (create table)
2024-09-14 09:13:01 +08:00
kailixu bb3479d952 enh: support drop table with uid 2024-09-14 08:42:06 +08:00
kailixu c3c578a408 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-14 08:36:09 +08:00
WANG MINGMING bf3dbc1d4d
Merge branch '3.0' into fix/TD-31899 2024-09-13 14:31:53 +08:00
kailixu fee5dcc54d Merge branch '3.0' into enh/TS-5111-3.0 2024-09-13 14:15:02 +08:00
54liuyao de44c5dc5e Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-13 11:13:04 +08:00
54liuyao d9bb710e96 add test 2024-09-13 11:12:49 +08:00
Pan Wei 12d8dfc801
Merge pull request #27829 from taosdata/fix/TD-31870/os2
semphore
2024-09-13 10:59:53 +08:00
WANG MINGMING 6234369d12
Merge branch '3.0' into fix/TD-31899 2024-09-12 16:18:35 +08:00
kailixu e16ac8aa5d enh: support drop table by uid 2024-09-12 16:12:52 +08:00
Pan Wei 497ef1d083
Merge pull request #27790 from taosdata/void/3.0/TD-31898
remove (void) from parser/planner/nodes/sma
2024-09-12 15:42:59 +08:00
xsren 78e9bb95ac osString 2024-09-12 14:02:19 +08:00
Shungang Li 8af5e89d4e enh: create from csv rm tbname hash 2024-09-12 10:39:35 +08:00
54liuyao 7c32cc7796 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-12 09:08:40 +08:00
Pan Wei 8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +08:00
wangjiaming0909 11b3faee8e remove (void) from parser/planner/nodes/sma 2024-09-11 14:15:34 +08:00
Pan Wei f9c8b6cd7b
Merge pull request #27796 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-11 13:47:43 +08:00
Pan Wei 78846f7ab8
Merge pull request #27772 from taosdata/fix/TD-31966
fix(query):set scan flag info
2024-09-11 13:25:14 +08:00
wangmm0220 b2878d1851 fix:[TD-31899] remove void(func) 2024-09-11 09:54:59 +08:00
lyh250-666 3c255e5581 Merge branch '3.0' of github.com:taosdata/TDengine into enh/TD-31691 2024-09-11 09:35:56 +08:00
lyh250-666 01bae36e82 enh:modify error code passing in libs/ 2024-09-10 18:42:00 +08:00
xsren aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
54liuyao bb785ce53e fix(query):set scan flag info 2024-09-10 14:47:42 +08:00
54liuyao 77ffe89bf6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-10 10:22:20 +08:00
Jing Sima 4a8bbc36bd feat:[TS-4893] refactor of rand function. 2024-09-09 18:48:24 +08:00
Jing Sima a249bef104 feat:[TS-4893] Add random and support use min/max on string column. 2024-09-09 18:48:24 +08:00
54liuyao 88d01d8980 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-09 11:21:23 +08:00
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