Commit Graph

3526 Commits

Author SHA1 Message Date
dapan1121 1b47b35c3d fix: memory protect issue 2023-04-13 15:23:35 +08:00
dapan1121 945997f22a fix: add memory protect 2023-04-13 15:18:53 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
dapan1121 e86ffad8ef fix: add debug info 2023-04-13 14:23:12 +08:00
dapan1121 3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
Ganlin Zhao 81610773c5 add test cases 2023-04-12 18:40:56 +08:00
dapan1121 ba1219303b fix: add debug info 2023-04-12 15:48:18 +08:00
dapan1121 23920e10c1 enh: optimize log perf 2023-04-12 13:58:29 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Haojun Liao f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
Haojun Liao 24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
Ganlin Zhao 0201348bbe add test cases 2023-04-11 17:58:55 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Ganlin Zhao d163a16f3a fix: fix max/min(tag) random result 2023-04-11 15:46:32 +08:00
wangmm0220 c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
Ganlin Zhao ea6c96df32 fix memory leak 2023-04-11 11:13:23 +08:00
liuyao 74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
Haojun Liao a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
xinsheng Ren 965af6cc82
fix: handle leak (#20836)
* fix: handle leak

* fix: del unused code

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-04-11 09:46:06 +08:00
Ganlin Zhao 3078e2d487 feat(query): INTERP support boolean type 2023-04-10 18:35:35 +08:00
Haojun Liao 497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou af5a16b129 fix: set block allocated to false for each call to downstream operator 2023-04-07 18:54:37 +08:00
wangmm0220 05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Haojun Liao 7e734e3088 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-04-06 15:09:06 +08:00
Haojun Liao 665ba407cf fix: fix syntax error. 2023-04-06 15:08:35 +08:00
Haojun Liao 06c7bbe91b
Merge branch 'main' into feature/3_liaohj 2023-04-06 14:41:06 +08:00
Haojun Liao 18955be092 refactor: erase unnecessary error log. 2023-04-06 14:40:01 +08:00
Haojun Liao 2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
wangmm0220 1d7581f660 fix:conflicts from main 2023-04-03 19:59:33 +08:00
wangmm0220 d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Haojun Liao 3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
wangmm0220 1114d358a4 fix:lose consume data because of exec close if consume while insert data 2023-04-03 17:06:51 +08:00
Haojun Liao 08bd021a6f refactor: do some internal refactor. 2023-04-03 14:49:14 +08:00
Haojun Liao 81c3d16a2d fix(query):set the table list ptr. 2023-04-03 13:29:11 +08:00
Haojun Liao 6e0f1cb1e0 refactor: do some internal refactor. 2023-04-03 11:57:43 +08:00
Haojun Liao 91ae07b6c7 fix(tmq): set the table list correctly. 2023-04-03 11:57:17 +08:00
wangmm0220 2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
wangmm0220 446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
Haojun Liao 09df16f6e4 fix(query): fix memory leak. 2023-04-02 22:47:26 +08:00
wangmm0220 f977b27b88 fix:remove useless setmsg 2023-04-02 22:38:18 +08:00
wangmm0220 b029c8f157 fix:remove useless setmsg 2023-04-02 22:34:51 +08:00
Haojun Liao 167a56f8d0 fix(query): set the correct group table list. 2023-04-02 21:25:54 +08:00
Haojun Liao a887ccda89 fix(query): destroy the tablelist in cache scanner. 2023-04-02 15:30:56 +08:00
Haojun Liao addabf3ba7 refactor: push down the tableListinfo to scanner. 2023-04-02 15:25:31 +08:00
Haojun Liao ae4234cce0 fix(tmq): add lock when check table list. 2023-03-31 19:36:27 +08:00
wangmm0220 97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Haojun Liao 82d98f9c97
Merge branch 'main' into feature/3_liaohj 2023-03-31 16:07:40 +08:00
Haojun Liao f57899e070 refactor: do some internal refactor. 2023-03-31 16:06:38 +08:00
Haojun Liao 36ccf34d50
Merge pull request #20707 from taosdata/fix/TD-23397
fix:state window return wrong block type
2023-03-31 11:31:30 +08:00
Haojun Liao 450c5b447c fix(tmq): quit the scan asap. 2023-03-31 10:35:13 +08:00
dapan1121 00376b45fb
Merge pull request #20708 from taosdata/szhou/fix-ts3013
fix: add filter to exchange node for union-all subquery
2023-03-30 18:14:48 +08:00
shenglian zhou a3a3dc8243 fix: add filter to exchange node for union-all subquery 2023-03-30 16:41:26 +08:00
54liuyao ae98ad43a5 fix:state window return wrong block type 2023-03-30 16:38:54 +08:00
dapan1121 15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
Haojun Liao d947619b4f
Merge pull request #20691 from taosdata/feature/3_liaohj
fix(stream):fix the race condition when creating new tables.
2023-03-30 14:39:20 +08:00
dapan1121 a778dc8c09
Merge pull request #20698 from taosdata/szhou/fix-ts23354-2
fix: join before interval
2023-03-30 14:14:45 +08:00
Haojun Liao e1d85ce074 fix(tmq): fix error. 2023-03-30 12:04:47 +08:00
Haojun Liao 5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
slzhou 84d75c2ec0 fix: join after interval 2023-03-29 19:51:13 +08:00
Haojun Liao c8ad465a0d refactor: do some internal refactor. 2023-03-29 19:40:34 +08:00
Haojun Liao 56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
dapan1121 3810e57c15 fix: tag copy issue 2023-03-29 19:10:10 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
wangmm0220 9d9ae749d1 opti:tmq logic & fix CI cases 2023-03-29 17:27:04 +08:00
Haojun Liao d998912ce8 fix(query): fix syntax error. 2023-03-29 17:11:41 +08:00
Haojun Liao 25245b9005 Merge branch 'main' into feature/3_liaohj 2023-03-29 16:40:12 +08:00
Haojun Liao 152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
dapan1121 9952be43f6 Merge remote-tracking branch 'origin/main' into fix/cencVer 2023-03-29 15:50:14 +08:00
dapan1121 0659814d16
Merge pull request #20674 from taosdata/fix/TS-3010
fix: query schema is old issue
2023-03-29 11:41:07 +08:00
dapan1121 0327a8eaa3 fix: block rows number type 2023-03-29 10:46:56 +08:00
wangmm0220 d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
dapan1121 a87d35be08 fix: optimize performance 2023-03-28 17:40:46 +08:00
dapan1121 22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
Haojun Liao fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
Haojun Liao c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
Haojun Liao 5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
dapan1121 61571d9296 enh: optimize count performance 2023-03-27 19:40:29 +08:00
wangmm0220 f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
Haojun Liao 7d1aa634fb
Merge pull request #20527 from taosdata/fix/TD-23200
fix:scan of fill history ended prematurely
2023-03-25 15:01:42 +08:00
Haojun Liao 61974b9f70
Merge pull request #20605 from taosdata/fix/TD-23272
fix:add combine function for groupKey
2023-03-25 15:01:33 +08:00
Haojun Liao 27c848453e
Merge pull request #20625 from taosdata/fix/TD-23220
fix: modify stream fill linear
2023-03-25 15:01:06 +08:00
54liuyao f18cfc25d6 fix:reset parameter ignoreExpried for fill history 2023-03-24 11:06:05 +08:00
54liuyao ffa59f69aa fix:add combine function for groupKey 2023-03-23 15:20:45 +08:00
wangmm0220 6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
dapan1121 6506805784 fix: fix no group slimit issue and test cases 2023-03-22 17:14:45 +08:00
wangmm0220 dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
dapan1121 97c7d363f2 fix: slimit not work issue 2023-03-22 15:18:54 +08:00
dapan1121 7258ea9244
Merge pull request #20576 from taosdata/fix/TS-2933
enh: optimize table merge scan performance
2023-03-22 13:45:00 +08:00
wangmm0220 c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
dapan1121 cb3b4a6d8a Merge remote-tracking branch 'origin/main' into fix/TS-2947 2023-03-22 08:56:21 +08:00
dapan1121 56d5034b7f fix: table merge scan limit issue 2023-03-22 08:55:43 +08:00
dapan1121 ddfcba76f3 fix: optimize table merge scan perf 2023-03-21 18:51:16 +08:00
54liuyao a614ef777f fix: modify pull linear 2023-03-21 18:19:45 +08:00
dapan1121 3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Haojun Liao d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
dapan1121 ddab83a2ba enh: optimize table merge scan performance 2023-03-21 11:42:46 +08:00
kailixu 179579f204 chore: more code 2023-03-20 17:41:22 +08:00
kailixu 24dbcaa844 chore: merge main 2023-03-20 17:32:54 +08:00
wangmm0220 f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220 506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
Haojun Liao ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
wangmm0220 f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
wangmm0220 f94b1df529 fix:error in TD-23218 & remove useless logic 2023-03-20 14:55:11 +08:00
wangmm0220 c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
wangmm0220 a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao 7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Haojun Liao ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Cary Xu 7a3c897a80
Revert "fix(query): invalid write when query of ins_columns" 2023-03-18 20:49:48 +08:00
wangmm0220 ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220 7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
yihaoDeng afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
54liuyao 2185464836 fix:scan of fill history ended prematurely 2023-03-18 13:38:33 +08:00
kailixu d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
kailixu 45a625f2dc fix: add mem check 2023-03-18 12:50:37 +08:00
Ganlin Zhao 8fa4aa1435 fix(query): do not update ts window at exchange operator. 2023-03-18 12:06:59 +08:00
kailixu 5d82380993 chore: code optimization 2023-03-17 16:55:53 +08:00
kailixu 5f2ced466b Merge branch 'main' into fix/TS-2891-M 2023-03-17 16:49:06 +08:00
kailixu ed3fc6bdf1 fix: select ins_columns from stb/ctb 2023-03-17 14:48:23 +08:00
Haojun Liao 8d1c6956d6 fix(query): set the tag filter flag. 2023-03-17 14:28:30 +08:00
kailixu a85e30efe6 fix: select ins_columns from stb/ctb 2023-03-17 14:19:00 +08:00
Haojun Liao d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
kailixu 7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
Haojun Liao 970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
kailixu ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
kailixu acd57f03e6 fix(query): invalid write when query of ins_columns 2023-03-15 20:31:54 +08:00
Shengliang Guan 51e503dd2c
Merge pull request #20464 from taosdata/fix/TD-23156
fix:source task needs to wait && stream state window does not handle null
2023-03-15 14:09:26 +08:00
Shengliang Guan dd2940b8b3
Merge pull request #20463 from taosdata/fix/TS-2883
fix: fix table count operator groupId issue
2023-03-15 14:08:54 +08:00
Shengliang Guan 09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
54liuyao 25732f7c3c fix:source task needs to wait & stream state window does not handle null 2023-03-15 13:15:17 +08:00
54liuyao d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
dapan1121 20c8a9031d fix: fix table count operator groupId issue 2023-03-15 08:35:40 +08:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan 6d09532f10
Merge pull request #20396 from taosdata/fix/TD-23087
fix(query): remove assert
2023-03-14 09:36:31 +08:00
Shengliang Guan 6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Haojun Liao 21ef5e5577 Merge branch 'main' into fix/liaohj 2023-03-14 09:19:49 +08:00
Ganlin Zhao c3b0245ff5 Merge branch 'main' into fix/TD-23087 2023-03-13 18:43:43 +08:00
Haojun Liao 731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
Shengliang Guan 041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
dapan1121 91df1b3298 fix: group merge issue 2023-03-12 15:04:53 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
dapan1121 f74c488c42 fix: keep group for interval query 2023-03-12 11:03:41 +08:00
wangmm0220 5b75ee4396 opti:modify tmq logic 2023-03-11 19:13:50 +08:00
dapan1121 16209644c4 fix: regenerate groupId and case issue 2023-03-11 17:24:54 +08:00