Commit Graph

22300 Commits

Author SHA1 Message Date
factosea 04af5f4b94 enh: check param 2024-11-19 19:38:40 +08:00
Shengliang Guan 899e5acb99
Merge pull request #28777 from taosdata/fix/3.0/TD-32366
fix:TD-32366/stmt add geometry datatype check
2024-11-19 18:42:27 +08:00
Shengliang Guan afcdd4e4b3
Merge pull request #28803 from taosdata/fix/main/TD-32915
fix:skip begin&end snapshot while wal level = 0.
2024-11-19 17:44:55 +08:00
Pengrongkun f3b4aa14be add checkWKBGeometry function 2024-11-19 16:44:28 +08:00
factosea f3acf49e22 enh: include 2024-11-19 16:23:46 +08:00
Shengliang Guan a4b6d9dee0
Merge pull request #28797 from taosdata/enh/TD-32907-3.0
enh: add bypassFlag to facilitate performance testing
2024-11-19 14:24:09 +08:00
Shengliang Guan 686c20cd9f
Merge pull request #28779 from taosdata/fix/3_liaohj
fix(stream): update the msg encoder.
2024-11-19 11:23:08 +08:00
Shengliang Guan 46e93820d9
Merge pull request #28790 from taosdata/ehn/add-sync-msg-statisd
Ehn:add sync msg statis
2024-11-19 10:54:30 +08:00
Hongze Cheng 8b5664f185
Merge pull request #28787 from taosdata/fix/optReturnCode
opt return code
2024-11-19 10:33:09 +08:00
Shengliang Guan 99bebacd8e
Merge pull request #28784 from taosdata/fix/TD-32861-main
fix(query)[TD-32861]. fix that WHERE condition not work in statements with INTERP function
2024-11-19 09:40:28 +08:00
Pengrongkun ff2d0e6d67 fix CI problem 2024-11-19 09:22:34 +08:00
kailixu ca49a3eaf0 chore: restore the code change 2024-11-19 09:01:45 +08:00
dmchen fde7a7aeaf ehn/add-sync-heartbeat-sent-time-to-log-fix-check 2024-11-19 08:23:43 +08:00
Shengliang Guan 6044bb06f1
Merge pull request #28793 from taosdata/fix/main/TD-32883
remove duplicate group by cols
2024-11-18 19:32:16 +08:00
yihaoDeng 45df3ee3b2 reset return code 2024-11-18 18:43:15 +08:00
dmchen 472e8361ea ehn/add-sync-heartbeat-sent-time-to-log 2024-11-18 18:25:52 +08:00
kailixu 3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +08:00
wangjiaming0909 cb44efd329 fix comments 2024-11-18 17:26:07 +08:00
Jinqing Kuang f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
dmchen daa3c6bbf4 ehn/add-sync-msg-statis 2024-11-18 15:57:06 +08:00
kailixu 3225c381e2 enh: add bypassFlag to facilitate performance testing 2024-11-18 15:41:08 +08:00
Haojun Liao 1c66f22c2b refactor: move to msg. 2024-11-18 15:00:30 +08:00
yihaoDeng dbb5c9e864 change return code 2024-11-18 14:44:18 +08:00
wangjiaming0909 a6ab76b02e fix lastrow function tests 2024-11-18 14:11:21 +08:00
wangjiaming0909 6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
xiao-77 f0c182988c Add test case for begin&end snapshot while wal_level =0 . 2024-11-18 13:49:03 +08:00
xiao-77 c954d0ac7a fix:skip begin&end snapshot while wal level = 0. 2024-11-18 11:23:06 +08:00
wangjiaming0909 b589f9089c add test case 2024-11-18 09:33:43 +08:00
Pengrongkun a774d3b428 fix some review problem 2024-11-16 09:27:52 +08:00
Pengrongkun 8d5508a7a6 fix compile problem 2024-11-16 08:52:57 +08:00
Haojun Liao 55239964a9 refactor: injection error. 2024-11-16 01:56:33 +08:00
Haojun Liao 20ad165ae3 Merge branch 'main' into fix/liaohj 2024-11-16 01:31:50 +08:00
wangjiaming0909 2be0ca15d8 fix group_partition test 2024-11-15 18:10:44 +08:00
wangjiaming0909 09fe252a31 remove duplicate group by cols 2024-11-15 17:52:06 +08:00
Haojun Liao b1981d309f fix(stream): return error code. 2024-11-15 17:41:14 +08:00
Haojun Liao 628808c9a4 fix(stream): fix dead lock. 2024-11-15 17:16:47 +08:00
Haojun Liao 9cc2aec9d6 fix(stream): set correct value and open inputQ for stream if reset checkpoint. 2024-11-15 17:12:01 +08:00
dmchen e57a914f00 ehn/add-sync-msg-statisd 2024-11-15 16:34:04 +08:00
yihaoDeng 2b2377869f Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-15 15:36:05 +08:00
yihaoDeng 88253b627e opt return code 2024-11-15 14:50:20 +08:00
Haojun Liao b74a1bc726 refactor: update logs, and set correct vgId. 2024-11-15 13:48:42 +08:00
Shengliang Guan 59c755b7b1
Merge pull request #28759 from taosdata/fix/ly_stream_main
fix(stream):fix bloom filter decode issue
2024-11-15 10:37:57 +08:00
yihaoDeng 69710517e0 fix invalid fiter 2024-11-15 10:31:31 +08:00
Haojun Liao a79f63caeb Merge branch '3.0' into fix/3_liaohj 2024-11-15 10:28:13 +08:00
Shengliang Guan 527def388d
Merge pull request #28778 from taosdata/main
merge: from main to 3.0 branch
2024-11-15 10:14:22 +08:00
54liuyao 87e1f8da47 fix(stream):fix bloom filter decode issue 2024-11-15 09:13:18 +08:00
Haojun Liao 2e3196cfdc fix(stream): fix syntax error. 2024-11-15 08:57:00 +08:00
Haojun Liao fd1996a1d1 fix(stream): fix error in build msg. 2024-11-15 01:27:31 +08:00
Haojun Liao f65651f6ef fix(stream): update the msg encoder. 2024-11-15 00:19:35 +08:00
yihaoDeng e8045e6270 update interface 2024-11-14 21:35:36 +08:00
Pengrongkun 4eabc8afe3 Merge remote-tracking branch 'origin/3.0' into fix/3.0/TD-32366 2024-11-14 21:25:48 +08:00
Pengrongkun 6f3c6548cb add geometry check during stmt_bind_param 2024-11-14 21:25:14 +08:00
yihaoDeng 8bfee53e67 fix interface update 2024-11-14 18:02:12 +08:00
yihaoDeng 42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
Haojun Liao b88a786fdf fix(stream): set correct error code and open inputq for upstream . 2024-11-14 17:42:49 +08:00
Haojun Liao c9a120e1d0 Merge branch '3.0' into fix/3_liaohj 2024-11-14 17:42:04 +08:00
Haojun Liao 187997d5f0 fix(stream): record the failed checkpointId, after receive reset task info. 2024-11-14 17:40:37 +08:00
Haojun Liao b2b5a14d9d fix(stream): reset task add the failed chkptId info. 2024-11-14 17:38:40 +08:00
yihaoDeng 6ad894b356 support quick cmd 2024-11-14 17:04:11 +08:00
Shengliang Guan 82d8f1357c
Merge pull request #28743 from taosdata/fix/TD-32860-main
fix: print multi dataDir
2024-11-14 16:03:03 +08:00
wangjiaming0909 ab7b0026b3 refine code 2024-11-14 11:37:42 +08:00
Shengliang Guan 80b7cbdb84 Merge branch '3.0' into merge/mainto3.0 2024-11-13 23:11:05 +08:00
54liuyao ea7c30505a fix(stream):fix bloom filter decode issue 2024-11-13 19:37:22 +08:00
wangjiaming0909 1c6976ca09 fix eliminate proj caused crash 2024-11-13 17:07:53 +08:00
yihaoDeng 620c7627e9 add quick cmd 2024-11-13 17:01:56 +08:00
Shungang Li 67da7b1036 feat: alter systable variablesSchema 2024-11-13 16:51:40 +08:00
Shengliang Guan e20b612046
Merge pull request #28727 from taosdata/enh/TD-32167/osparameterValidation
enh: param valid, os
2024-11-13 16:16:27 +08:00
Shengliang Guan d097e307f7
Merge pull request #28745 from taosdata/enh/TD-32167/query
enh: param valid, query
2024-11-13 14:39:15 +08:00
Shengliang Guan ab4e0267de
Merge pull request #28716 from taosdata/enh/TD-32167/parameterValidation
enh: param valid, udf
2024-11-13 14:38:52 +08:00
Shengliang Guan 902dbfbabc
Merge pull request #28688 from taosdata/fix/main/TD-32824
Fix: alter wal level from 0 to 1or2 and restart failed
2024-11-13 14:01:25 +08:00
xiao-77 27f489fadf fix ci error. 2024-11-13 11:01:11 +08:00
xiao-77 bd9d859162 fix ci error. 2024-11-13 09:45:57 +08:00
Shengliang Guan 09285f9710
Merge pull request #28720 from taosdata/fix/fix/TD-32838-add-writer-lock-main
fix:[TD-32838]add-writer-lock
2024-11-13 09:15:30 +08:00
yihaoDeng eddc7918d3 add quick cmd 2024-11-12 21:10:17 +08:00
factosea 6b37b32997 fix: transportedid 2024-11-12 18:13:35 +08:00
dmchen 50482c7e41 fix/TD-32838-add-writer-lock-fix-review 2024-11-12 18:10:30 +08:00
factosea 057d388451 fix: set pointer to null after free 2024-11-12 17:59:58 +08:00
dmchen 12fbc74ffb fix/TD-32838-add-writer-lock-fix-review 2024-11-12 17:52:40 +08:00
xiao-77 095ad14bc8 fix init ptr = NULL 2024-11-12 17:44:53 +08:00
xiao-77 9c24db5d03 Add error log and close wal file. 2024-11-12 17:28:46 +08:00
factosea e3499f2377 enh:queryUtil 2024-11-12 16:47:39 +08:00
factosea c1f8e59c1b enh: query 2024-11-12 16:11:47 +08:00
factosea 0bb872c1d9 enh: command/explain 2024-11-12 15:03:48 +08:00
Jing Sima f7a2c857f4 fix:[TD-32855] Improve percentile function when calculating on a small amount of data. 2024-11-12 15:01:09 +08:00
yihaoDeng f876bfd6c9 fix error summery 2024-11-12 11:32:40 +08:00
yihaoDeng 6d56822f83 fix mem leak 2024-11-11 19:39:03 +08:00
yihaoDeng 2ad8637acf support disk usage 2024-11-11 19:18:11 +08:00
Shengliang Guan 25fc7025a4
Merge pull request #28703 from taosdata/fix/main/TS-5580
fix:[TS-5580] Fix wrong tag num from ins_tags.
2024-11-11 18:19:20 +08:00
yihaoDeng 11064d43e6 support disk usage 2024-11-11 18:16:41 +08:00
facetosea 61ccba3ce7 enh: check level 2024-11-11 17:23:13 +08:00
Shengliang Guan 26be934503
Merge pull request #28483 from taosdata/enh/TD-32127-main
enh(query)[TD-32127]: improve code quality of tsdbRead module
2024-11-11 16:09:17 +08:00
yihaoDeng a7fe6d804f support disk usage 2024-11-11 15:03:10 +08:00
Jing Sima e4bfef4977 fix:[TS-5580] Fix wrong tag num from ins_tags. 2024-11-11 13:56:37 +08:00
xiao-77 a93cebfb5f Merge branch 'main' into fix/main/TD-32824 2024-11-11 13:41:06 +08:00
dmchen aedeca9ecb fix/TD-32838-add-writer-lock 2024-11-11 12:03:05 +08:00
Jinqing Kuang b4e0f9a922 enh(query)[TD-32127]: improve code quality of tsdbRead module
- Add parameter validation for functions to ensure robustness
- Nullify pointers when freeing memory to prevent dangling pointers
- Initialize local variables to avoid undefined behavior
- Add error handling and logging for better debugging
2024-11-11 11:53:28 +08:00
xsren bf9ea14f86 data check: udf 2024-11-11 11:04:11 +08:00
xsren 1c01bd801b param valid: udf 2024-11-11 09:23:02 +08:00
yihaoDeng 0087ba3f62 opt get conn rule 2024-11-10 21:44:35 +08:00
yihaoDeng abb79a4402 opt get conn rule 2024-11-10 21:41:51 +08:00
yihaoDeng ca860881a7 fix compile error 2024-11-10 16:53:01 +08:00
yihaoDeng 1a433666eb opt get conn rule 2024-11-10 16:50:36 +08:00
Shengliang Guan f46cf6044d
Merge pull request #28709 from taosdata/main
merge: from main to 3.0 branch
2024-11-10 11:50:38 +08:00
xiao-77 689c0f5254 fix ci crash. 2024-11-08 14:34:31 +08:00
xiao-77 0178d734cb fix ci crash 2024-11-08 10:17:42 +08:00
wangjiaming0909 274a7fd876 refine unused codes 2024-11-08 09:50:32 +08:00
wangjiaming0909 2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909 de8576a6a1 refine comments and functions 2024-11-08 09:50:07 +08:00
wangjiaming0909 9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909 65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
Shengliang Guan d0828ddf1e
Merge pull request #28643 from taosdata/enh/TD-32732-main
enh(query)[TD-32732]: add client Id generation and usage
2024-11-08 09:44:07 +08:00
wangjiaming0909 f2860b766a add ret check for deletePartName 2024-11-08 09:42:59 +08:00
wangjiaming0909 fc39ea70ac fix tsma stream same tbname with same group id 2024-11-08 09:42:59 +08:00
54liuyao 9449c8bdc5 adj log 2024-11-08 09:42:59 +08:00
wangjiaming0909 5955d121b3 revert first/last fetch 2024-11-08 09:42:59 +08:00
54liuyao 2b924c68fd ignore delete result 2024-11-08 09:42:59 +08:00
wangjiaming0909 7f501130a2 client add query fisrt/last/count for drop table 2024-11-08 09:42:58 +08:00
54liuyao f452ca47fe delete window state when drop table 2024-11-08 09:42:56 +08:00
wangjiaming0909 a5a3d1d8ad fix same timestamp written into same tsma res ctb 2024-11-08 09:40:06 +08:00
Shengliang Guan d36b6fd214
Merge pull request #28682 from taosdata/enh/TD-32167/os
Parameter validation
2024-11-08 09:30:09 +08:00
yihaoDeng ffd4829143 support disk usage 2024-11-08 08:14:16 +08:00
yihaoDeng 4f9c9a15db support disk usage 2024-11-07 20:20:44 +08:00
xiao-77 badc1037a9 Remove the wrong comments. 2024-11-07 17:44:25 +08:00
xiao-77 4f9fa3bb3e fix alter wal level from 0 to 1or2 and restart failed 2024-11-07 17:43:28 +08:00
xsren 9adc756975 enh: parameter validation 2024-11-07 17:37:33 +08:00
Haojun Liao a8f7f153d9 refactor: do some internal refacrtor. 2024-11-07 16:44:43 +08:00
Haojun Liao daedcc53fb refactor: return the error code and do some refactor. 2024-11-07 16:28:47 +08:00
xsren 5c01cff369 enh: param 2024-11-07 16:19:57 +08:00
Shengliang Guan 3034c22afd
Merge pull request #28664 from taosdata/fix/liaohj
fix(stream): fix the underlying scan operations for stream
2024-11-07 13:59:52 +08:00
xsren 04565b23ef Parameter validation 2024-11-07 13:36:53 +08:00
Shengliang Guan b0902e81eb
Merge pull request #28659 from taosdata/fix/main/32800
fix vnode cannot restart while wal level =0
2024-11-07 11:06:31 +08:00
Shengliang Guan 3aca3c68f0
Merge pull request #28662 from taosdata/fix/TD-32829
fix:(rpc)update fqdn cache
2024-11-07 09:17:46 +08:00
Jinqing Kuang 43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
Shengliang Guan 1f7bd1d179 Merge branch 'main' into enh/TD-32615/lemon 2024-11-06 20:52:36 +08:00
Shengliang Guan 10df16b01a
Merge pull request #28667 from taosdata/merge/3.0tomain
merge: from 3.0 to main branch
2024-11-06 20:46:56 +08:00
54liuyao 06bfd0a7ba fix issue 2024-11-06 17:43:04 +08:00
54liuyao 88cb8a9599 fix issue 2024-11-06 17:21:21 +08:00
Haojun Liao 4b4943335e fix(stream): fix the underlying scan operations for stream, when trying to drop stream tasks. 2024-11-06 17:01:32 +08:00
yihaoDeng 268576b386 fix double free when meet mem leak 2024-11-06 16:15:36 +08:00
yihaoDeng 0a9d1d8ff7 update fqdn cache 2024-11-06 15:55:42 +08:00
yihaoDeng aa8bc83791 update fqdn cache 2024-11-06 15:46:21 +08:00
yihaoDeng a6436882a2 support disk usage 2024-11-06 15:25:50 +08:00
xsren 1456d027b7 fix: lemon_sqll depends 2024-11-06 15:11:27 +08:00
xsren b566e26084 enh: ttokendef.h 2024-11-06 13:47:01 +08:00
Shengliang Guan 6ff8de1d22
Merge pull request #28641 from taosdata/fix/TD-32815
fix(stream):check scan range of stream operator
2024-11-06 13:35:24 +08:00
54liuyao 527c3d59a9 fix issue 2024-11-06 11:44:02 +08:00
xiao-77 8984231b9f fix vnode cannot restart while wal level =0 2024-11-06 11:15:08 +08:00
54liuyao 719a3faa12 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 11:13:15 +08:00
54liuyao 379df5f5b2 add twa ci test 2024-11-06 10:43:13 +08:00
Shengliang Guan 08603e5d11
Merge pull request #28551 from taosdata/feat/TS-5215-2
test(blob): testing & fixes for blob
2024-11-06 10:29:03 +08:00