Commit Graph

23420 Commits

Author SHA1 Message Date
Haojun Liao 2c92cca603 test(analytics): add test case and set the unit to be second. 2025-03-04 23:31:02 +08:00
xiao-77 7f5d687882 Enh(insert): use mini cache in stmt to improve insert speed. 2025-03-04 20:10:40 +08:00
Haojun Liao fa1ff744fc fix(stream): not remove local checkpoint dir, log the checkpoint size. 2025-03-04 19:51:27 +08:00
Haojun Liao b82d60036b Merge branch 'ehn-TD-33933-decouple-send-heartbeat-main' into fix/checkfh 2025-03-04 17:06:13 +08:00
Haojun Liao 936f0af929 fix(analytics): check return value. 2025-03-04 17:04:07 +08:00
Simon Guan 6ac5c64733 Merge branch '3.0' into refactor/TD-33926 2025-03-04 16:22:36 +08:00
xiao-77 d03423448a Merge branch 'enh/3.0/TD33165' of https://github.com/taosdata/TDengine into enh/3.0/TD33165 2025-03-04 15:11:00 +08:00
xiao-77 69e88f9f5c Fix(stmt): skip stmt while use ctg cache. 2025-03-04 15:10:47 +08:00
Zhixiao Bao 45d05761ae
Merge branch '3.0' into enh/3.0/TD33165 2025-03-04 14:46:51 +08:00
xiao-77 be9732d774 Fix(insert):insert into an exist ctable in another stable. 2025-03-04 14:39:14 +08:00
Simon Guan 8d1ed68ddb
Merge pull request #29992 from taosdata/fix/TD-33935
fix: double decode compiler issue
2025-03-04 14:28:27 +08:00
Haojun Liao 450561226a fix(analytics): fix syntax error. 2025-03-04 14:02:21 +08:00
Haojun Liao 0e37b45e06 fix(analytics): fix syntax error. 2025-03-04 13:56:39 +08:00
Simon Guan 1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
Haojun Liao 9139f3cb47 fix(analytics): fix syntax error. 2025-03-04 13:44:56 +08:00
Haojun Liao 8c035a930a refactor(analytics): do some internal refactor. 2025-03-04 13:40:33 +08:00
Simon Guan 16ada1f0d3 Merge branch 'main' into merge/mainto3.0 2025-03-04 11:24:13 +08:00
xiao-77 b5ea56d809 Test(insert):Add some test for auto create. 2025-03-04 11:12:41 +08:00
xiao-77 e2b18a7182 End(insert):Use cache to improve auto create table performance. 2025-03-04 10:04:58 +08:00
Haojun Liao f85347b311 fix(analysis): fix syntax error. 2025-03-03 23:44:21 +08:00
Haojun Liao 19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +08:00
dapan1121 5204f97a4b fix: add test cases 2025-03-03 19:31:43 +08:00
dapan1121 b3c5e5a66d fix: double decode compiler issue 2025-03-03 18:29:10 +08:00
Haojun Liao 96cd36900a fix(analysis): fix syntax error. 2025-03-03 18:28:17 +08:00
dmchen 9d8c959502 ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:45:06 +08:00
dmchen 1d435faaa2 ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:42:19 +08:00
Haojun Liao f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Simon Guan 4379882779 refactor: do not compile udf tests files when BUILD_TEST=OFF 2025-03-03 16:26:47 +08:00
Haojun Liao ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
Simon Guan 5db648038b refactor: do not compile test-related files when BUILD_TEST=OFF 2025-03-03 15:39:33 +08:00
Haojun Liao dfd1beaead chore: merge main 2025-03-03 14:29:10 +08:00
Simon Guan 7326e3d8bc Merge branch '3.0' into merge/mainto3.0 2025-03-03 14:01:51 +08:00
Simon Guan 6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Simon Guan f88c249fa4
Merge pull request #29946 from taosdata/fix/remove-sync-heartbeat-lock
fix: remove sync heartbeat lock
2025-03-03 13:52:16 +08:00
Simon Guan eee9976a44
Merge pull request #29958 from taosdata/fix/TD-33872-improve-status-sync-heartbeat
fix: [td-33872] improve status sync heartbeat
2025-03-03 13:51:44 +08:00
Simon Guan a0e1599f08
Merge pull request #29970 from taosdata/enh/TD-33883/errorLog
fix: error log
2025-03-03 13:31:40 +08:00
Simon Guan d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
Haojun Liao 1c223488f8 Merge branch 'main' into fix/droptask 2025-03-03 10:40:13 +08:00
Simon Guan 568ad58079
Merge pull request #29950 from taosdata/enh/3.0/TD-32686
Enh(stmt2)[td-32686] add row format bind
2025-03-03 10:28:59 +08:00
factosea 6da2e6f547 fix: test case 2025-03-02 22:48:21 +08:00
factosea 36bec2c958 fix: rows 2025-03-02 22:48:21 +08:00
factosea e91014f807 feat: show variables like 2025-03-02 22:48:05 +08:00
Haojun Liao 74562db0e5 fix(stream): set empty string instead of null ptr. 2025-03-02 15:36:29 +08:00
Haojun Liao 14ffa60e6e fix(stream): remove invalid error check. 2025-03-01 15:44:02 +08:00
dmchen e257f69c61 fix:remove-lock-from-heartbeat-log 2025-03-01 00:22:43 +08:00
dmchen 6d2925b832 fix/remove-get-queue-size-when-print-heartbeat-log 2025-03-01 00:22:42 +08:00
dmchen 774c512148 fix:add-status-timestamp 2025-03-01 00:22:37 +08:00
dmchen 48787ba1aa fix/move-status-to-new-queue 2025-03-01 00:22:35 +08:00
dmchen 21e3ec5a35 fix/remove-sync-heartbeat-lock-fix-check 2025-03-01 00:22:34 +08:00
dmchen 86e8675fae fix/remove-sync-heartbeat-lock 2025-03-01 00:22:34 +08:00
Simon Guan c0932e3ce0 refactor: adjust some logs 2025-02-28 23:22:38 +08:00
Haojun Liao c726420081 Merge branch 'main' into fix/droptask 2025-02-28 19:42:35 +08:00
Haojun Liao 8c1d28219a fix(stream): fix race condition 2025-02-28 19:40:10 +08:00
Haojun Liao e831bf7845 fix(stream): fix race condition 2025-02-28 19:38:15 +08:00
Haojun Liao a822be3866 refactor(stream): try to lock during build stream hb. 2025-02-28 18:50:55 +08:00
Haojun Liao 6e3f738490 refactor(stream): try to lock during build stream hb. 2025-02-28 18:49:48 +08:00
Haojun Liao 8c3035cf24 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:47:43 +08:00
Haojun Liao e1c4451f81 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:46:54 +08:00
dmchen d2c505a9b9 fix:remove-lock-from-log-sync-heartbeat 2025-02-28 17:35:59 +08:00
dmchen fde07fff88 fix:remove-lock-from-log-sync-heartbeat 2025-02-28 17:32:54 +08:00
Haojun Liao 1ced6d0d65 Merge branch 'main' into fix/droptask 2025-02-28 17:23:32 +08:00
Simon Guan d9e9213483
Merge pull request #29964 from taosdata/fix/chkptq
refactor(stream): handle the checkpoint msg from mnode with highest priority
2025-02-28 17:21:31 +08:00
facetosea 887444669c fix: error log 2025-02-28 16:51:25 +08:00
Simon Guan 43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
pengrongkun94@qq.com 703a9924a4 fix:review 2025-02-28 16:16:15 +08:00
Haojun Liao e74ae6fc05 refactor(stream): not generated hb when trying to restart tasks. 2025-02-28 16:09:17 +08:00
dmchen 7eda6747fc fix:remove-lock-from-heartbeat-log 2025-02-28 16:06:54 +08:00
Haojun Liao 0945ddc63f refactor(stream): not generated hb when trying to restart tasks. 2025-02-28 16:05:39 +08:00
dmchen 12249bb512 fix:remove-lock-from-heartbeat-log 2025-02-28 16:03:38 +08:00
dmchen 61a4c41332 fix:remove-lock-from-heartbeat-log 2025-02-28 16:02:18 +08:00
facetosea 1462f64ce2 fix: different lenth in uion 2025-02-28 14:22:53 +08:00
dmchen 45cdd871db fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 14:15:20 +08:00
Haojun Liao 3892a98e2e fix(stream): check return values. 2025-02-28 14:09:45 +08:00
Haojun Liao b23f20a450 fix(stream): fix memory leak in checkpt queue. 2025-02-28 13:56:15 +08:00
Haojun Liao e60321196b fix(stream): remove invalid assert. 2025-02-28 13:49:29 +08:00
Haojun Liao 732a9d4b32 fix(stream): fix error in the check of continuing execution condition. 2025-02-28 13:49:19 +08:00
Haojun Liao 34a439d78b fix(stream): fix error in the check of continuing execution condition. 2025-02-28 13:48:52 +08:00
Haojun Liao cb9a1a852d refactor: update some logs. 2025-02-28 13:48:13 +08:00
Haojun Liao f56aeaf1bd fix(stream): fix error in deciding exec should quit or not. 2025-02-28 13:47:43 +08:00
Haojun Liao 24c6fe727f refactor(stream): do some internal refactor. 2025-02-28 13:47:07 +08:00
Haojun Liao 67853b4a54 enh(stream): add checkpoint queue for source tasks. 2025-02-28 13:46:40 +08:00
Simon Guan 24fae6adbb
Merge pull request #29900 from taosdata/fix/checkfh
refactor(stream): scan wal is driven by time, instead of insert events.
2025-02-28 13:42:43 +08:00
Hongze Cheng 0174d7404d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-28 13:26:53 +08:00
dmchen aa7cb880bb fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:53:18 +08:00
dmchen 1237e762c1 fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:52:27 +08:00
Simon Guan aa1bf309ea
Merge pull request #29959 from taosdata/fix/droptask
refactor(stream): create task epset update trans out of lock
2025-02-28 11:00:58 +08:00
Simon Guan 890b8cfee2
Merge pull request #29938 from taosdata/fix/analysis
fix(stream): fix memory leak.
2025-02-28 11:00:44 +08:00
Simon Guan 1ae2bb28e8
Merge pull request #29954 from taosdata/enh/killtrans
enh(stream): not waiting during drop stream tasks.
2025-02-28 10:40:53 +08:00
Simon Guan 63992a3240 Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2025-02-28 09:16:43 +08:00
Simon Guan ed2d3b258d Merge branch '3.0' into merge/mainto3.0 2025-02-28 09:11:14 +08:00
Simon Guan f5429637fa Merge branch 'main' into merge/mainto3.0 2025-02-28 09:11:10 +08:00
dmchen 8c671f51fb refactor(stream): move the generate checkpoint procedure out of lock, to avoid blocking heartbeat, and resulting in leader/follower switch. 2025-02-27 19:54:46 +08:00
dmchen b6707fbbd2 refactor(stream): move the generate checkpoint procedure out of lock, to avoid blocking heartbeat, and resulting in leader/follower switch. 2025-02-27 19:53:53 +08:00
Hongze Cheng 0d2ca243b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-27 17:18:33 +08:00
dmchen d435bbae1d fix:add-status-timestamp 2025-02-27 15:54:07 +08:00
dmchen 55f58d743f fix/move-status-to-new-queue 2025-02-27 15:54:06 +08:00
dmchen 2a037f7ef5 fix/remove-sync-heartbeat-lock-fix-check 2025-02-27 15:54:06 +08:00
dmchen 77a49c1854 fix/remove-sync-heartbeat-lock 2025-02-27 15:54:05 +08:00
Simon Guan 5d777f9bcf
Merge pull request #29654 from taosdata/feat/TS-5805-force-assign-leader
Feat/ts 5805 force assign leader
2025-02-27 15:42:27 +08:00
dmchen 7eeb800213 fix:add-status-timestamp 2025-02-27 15:29:52 +08:00
dmchen 1f6c4df422 fix/move-status-to-new-queue 2025-02-27 15:26:06 +08:00
dmchen 4dcb984b02 fix/remove-sync-heartbeat-lock-fix-check 2025-02-27 15:25:56 +08:00
dmchen 6bfa1acaeb fix/remove-sync-heartbeat-lock 2025-02-27 15:25:40 +08:00
dmchen 93992f3d6e fix:add-status-timestamp 2025-02-27 15:22:33 +08:00
Hongze Cheng 541f98037f Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-27 14:06:53 +08:00
Simon Guan 7676a02979 Merge branch '3.0' into fix/internal 2025-02-27 13:48:54 +08:00
Simon Guan ceb6e49ebb
Merge pull request #29956 from taosdata/feat/TS-5776
feat[TS-5776]: process return value
2025-02-27 13:40:57 +08:00
54liuyao 9d3a00920e fix(stream): fix mem leak && rebuild event window when the window end flag is modified 2025-02-27 11:23:40 +08:00
dmchen 031f176aa1 fix/move-status-to-new-queue 2025-02-27 11:02:18 +08:00
wangmm0220 ec3bb5b742 feat:[TS-5776]process return value 2025-02-27 10:15:38 +08:00
Simon Guan 7f10288df1 Merge branch '3.0' into fix/internal 2025-02-27 10:04:34 +08:00
Simon Guan 76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Simon Guan b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
Haojun Liao 644d9b98ba refactor(stream): remove unused variables. 2025-02-27 00:46:42 +08:00
Haojun Liao 11e7126f98 Merge branch 'main' into enh/killtrans 2025-02-27 00:35:28 +08:00
Haojun Liao 786ee101cd other: merge main. 2025-02-27 00:18:25 +08:00
Haojun Liao bf1f162aa0 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:36 +08:00
Haojun Liao 012ee53d35 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:31 +08:00
Haojun Liao 45b0e47a19 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
Haojun Liao c14ba08d7c refactor(stream): drop task in async ways 2025-02-27 00:12:11 +08:00
pengrongkun94@qq.com 536042caae Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32686 2025-02-26 20:05:27 +08:00
pengrongkun94@qq.com 10f3a388f2 add row format bind control argument 2025-02-26 20:04:33 +08:00
dmchen 2d93259f1a fix/remove-sync-heartbeat-lock-fix-check 2025-02-26 18:41:17 +08:00
dmchen bd492f790e fix/remove-sync-heartbeat-lock 2025-02-26 16:55:06 +08:00
dapan1121 e41cd44c51 enh: add merge join primary expr type 2025-02-26 16:30:36 +08:00
dongming chen 0ce087f2b3
Merge branch '3.0' into feat/TS-5805-force-assign-leader 2025-02-26 13:57:36 +08:00
pengrongkun94@qq.com 8cf363fbf3 Merge remote-tracking branch 'origin/3.0' into enh/3.0/TD-32686 2025-02-26 10:36:19 +08:00
Haojun Liao 3923707826 fix(stream): fix memory leak. 2025-02-26 01:33:40 +08:00
Haojun Liao 7ff3a5968a fix(stream): fix memory leak. 2025-02-26 00:13:44 +08:00
dapan1121 4224d55b39 feat: support const ts as primary cond 2025-02-25 19:26:52 +08:00
Hongze Cheng b26166b48d support meta_only option 2025-02-25 17:57:25 +08:00
Hongze Cheng d48547ed64 more code 2025-02-25 16:48:43 +08:00
Jinqing Kuang a987d925a1 fix(query)[TD-33833]: fix function projectApplyFunctions for null pointer handling 2025-02-25 15:48:25 +08:00
Haojun Liao e46a063c2f fix(stream): fix memory leak in checkpt queue. 2025-02-25 14:29:49 +08:00
Shengliang Guan e429264432
Merge pull request #29884 from taosdata/enh/killtrans
enh(stream): auto kill checkpoint trans that last long time
2025-02-25 11:29:49 +08:00
wangmm0220 9b6a094cac feat:[TS-5613] modify sql.y to move bool_expression to common expression 2025-02-25 09:32:17 +08:00
wangmm0220 ee0f7a4d38 feat:[TS-5613]support bool in cast 2025-02-24 17:45:07 +08:00
wangmm0220 47e23e3d99 feat:[TS-5613]support bool in castfsd 2025-02-24 17:37:01 +08:00
Shengliang Guan 5ad05a662a Merge branch '3.0' into feat/TS-5470-3.0 2025-02-24 16:12:47 +08:00
Shengliang Guan 8fccf318ab
Merge pull request #29902 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-02-24 15:47:21 +08:00
Shengliang Guan 3a1d06f4d7
Merge pull request #29354 from taosdata/enh/TS-5255/colsFunc2
enh: ts5255/cols func2
2025-02-24 14:19:37 +08:00
Jinqing Kuang 51ffff2079 feat(query)[TS-5470]: add syntax to specify minimum duration for event and state windows
Introduce the `true for` syntax to allow users to specify the minimum
duration for event and state windows. Add corresponding tests to
validate the feature. Updated the user manual with usage instructions.
2025-02-24 08:02:48 +08:00
facetosea 63dc2e1299 cols desc 2025-02-24 00:06:22 +08:00
Shengliang Guan c74c749cf5 Merge branch '3.0' into merge/mainto3.0 2025-02-23 20:50:25 +08:00
Haojun Liao 8bcc8399e6 fix(stream): reset value. 2025-02-23 16:27:35 +08:00
Haojun Liao a98d839c01 fix(stream): reset value. 2025-02-23 15:36:26 +08:00
Haojun Liao 2fdb31a41a fix(stream): adjust scan timer 2025-02-23 10:49:13 +08:00
Haojun Liao e378b5cb8a fix(stream): adjust scan timer 2025-02-23 03:42:44 +08:00
Haojun Liao 9018970135 refactor: do some internal refactor. 2025-02-23 01:39:00 +08:00
Haojun Liao 034c907ee1 refactor: do some internal refactor. 2025-02-23 01:38:05 +08:00