Commit Graph

1303 Commits

Author SHA1 Message Date
Liu Jicong 2be81daf2e
Merge pull request #13681 from taosdata/feature/stream
refactor(tsdb): tsdb reader open
2022-06-10 15:53:03 +08:00
Liu Jicong 6fcee0e244 refactor(tsdb): tsdb reader open 2022-06-10 15:20:57 +08:00
shenglian zhou c0ae56483a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 14:04:20 +08:00
shenglian zhou 546c077213 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 11:28:17 +08:00
Haojun Liao 24cca6cbcd Merge branch '3.0' into feature/3_liaohj 2022-06-10 11:28:10 +08:00
shenglian zhou 7a4534a06a feat: before merge origin 3.0 2022-06-10 11:20:00 +08:00
shenglian zhou b3ce29dc4a add time window operator 2022-06-10 11:09:31 +08:00
Haojun Liao 7917bfc296 fix(query): set the correct tag filter condition. 2022-06-10 10:49:21 +08:00
Haojun Liao 85d4ee6031 refactor: do some internal refactor. 2022-06-10 10:29:53 +08:00
shenglian zhou 62780bbfb4 feature: add merge interval operator 2022-06-10 10:24:52 +08:00
shenglian zhou c97dcbcf76 feature: add merge interval operator 2022-06-10 09:55:14 +08:00
Haojun Liao c55aae2c0c enh(query): block distribution query is supported. 2022-06-10 09:51:57 +08:00
shenglian zhou 25636d6201 feature: add merge interval operator 2022-06-09 19:34:43 +08:00
54liuyao 016a7b698f feat(stream): stream state window support top and bottom 2022-06-09 17:45:40 +08:00
WANG MINGMING fe6014eaf1
Merge pull request #13632 from taosdata/fix/TD-16289
fix:err in tag scan
2022-06-09 16:43:16 +08:00
Liu Jicong 88313b9068
Merge pull request #13619 from taosdata/feature/stream
fix(query): decode
2022-06-09 13:03:35 +08:00
Liu Jicong 9e4b3adc7c fix(stream): msg dispatch 2022-06-09 11:45:06 +08:00
wangmm0220 ac5f09251d fix:err in tag scan 2022-06-09 11:09:23 +08:00
shenglian-zhou 0b549e9de8
Merge pull request #13629 from taosdata/szhou/feature/multiwaymerge
fix: add group id to sort operator
2022-06-09 10:46:04 +08:00
shenglian zhou 80a29a6a31 fix: add group id to sorted merge operator 2022-06-09 10:09:49 +08:00
shenglian zhou 414b3242a7 fix: add group id to sort operator 2022-06-09 09:51:00 +08:00
shenglian zhou 9afcca0355 fix: add group id to create initial source 2022-06-09 09:36:14 +08:00
shenglian-zhou 9239f6064b
Merge pull request #13626 from taosdata/szhou/feature/multiwaymerge
fix: add  group id to multiway merge operator
2022-06-09 09:33:52 +08:00
shenglian zhou 1783c971e9 fix: add group id to multiway merge operator 2022-06-09 08:47:19 +08:00
Liu Jicong 6733636a1a
Merge pull request #13601 from taosdata/feature/retrievemsg
refactor: do some internal refactor.
2022-06-08 21:27:16 +08:00
shenglian-zhou a4ac8b1c03
Merge pull request #13613 from taosdata/szhou/feature/multiwaymerge
fix: compare group id first when choose from loser tree
2022-06-08 20:28:15 +08:00
shenglian zhou eed875268c fix: compare group id first when choose tuple from loser tree 2022-06-08 18:59:26 +08:00
shenglian zhou 6522ff199a Revert "Revert "feat: add group id to multiway-sort-merge operator""
This reverts commit d5a29fc413.
2022-06-08 18:23:03 +08:00
54liuyao a8da3cfd14 feat(stream): stream state support apercentile 2022-06-08 18:20:43 +08:00
shenglian zhou e12576ed1c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-08 18:14:09 +08:00
shenglian zhou d5a29fc413 Revert "feat: add group id to multiway-sort-merge operator"
This reverts commit b2d066521b.
2022-06-08 18:11:16 +08:00
Yihao Deng 0d665b57d2
Merge pull request #13605 from taosdata/enh/jsonIdx1
Enh/json idx1
2022-06-08 17:21:14 +08:00
yihaoDeng 6b39c690d2 json idx 2022-06-08 16:13:52 +08:00
Haojun Liao 9bee5e2cee refactor: do some internal refactor. 2022-06-08 16:08:26 +08:00
shenglian zhou b2d066521b feat: add group id to multiway-sort-merge operator 2022-06-08 14:58:50 +08:00
shenglian zhou 3a9b5cc6f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-08 13:43:56 +08:00
Xiaoyu Wang dd38da7982 merge 3.0 2022-06-08 10:46:11 +08:00
54liuyao 262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
Xiaoyu Wang 08209f30ae Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-06-08 09:26:16 +08:00
Xiaoyu Wang e8e68fab9a feat: physical plan add clone interface 2022-06-07 20:59:44 +08:00
Liu Jicong 931a763ebc
Merge pull request #13578 from taosdata/feature/stream
enh(stream): direct sink if not dispatch
2022-06-07 20:49:20 +08:00
Liu Jicong 46bea47b62 enh(stream): direct sink if not dispatch 2022-06-07 19:58:06 +08:00
shenglian zhou a9f019f6f2 feat: multi-way merge sort 2022-06-07 18:52:54 +08:00
wangmm0220 9221513d97 fix:memory leak & memory problem & sml params 2022-06-07 18:37:35 +08:00
shenglian zhou a0d96f9b98 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-07 17:41:27 +08:00
shenglian zhou eb6250de4f feat: support multiway sort merge 2022-06-07 17:41:11 +08:00
wangmm0220 652035d8b2 Merge branch 'fix/jsonIdx' of github.com:taosdata/TDengine into fix/jsonIdx 2022-06-07 16:29:30 +08:00
wangmm0220 7ab66e5b6b fix:memory leak in doFilter 2022-06-07 16:29:00 +08:00
yihaoDeng b5c813f259 Merge branch 'nidx' into dev 2022-06-07 16:04:27 +08:00
wangmm0220 324977a981 feat:add filter for tag scan 2022-06-07 14:07:44 +08:00
Hongze Cheng f6c38f09db Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-06-07 05:52:19 +00:00
Hongze Cheng 6917ff2685 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-06-07 01:23:53 +00:00
dapan1121 16b84f575f Merge branch '3.0' into featuer/delete 2022-06-07 09:13:47 +08:00
dapan1121 42d02a7ea6 fix uidlist issue 2022-06-07 09:11:53 +08:00
dapan1121 33a7a83d65 feature delete data 2022-06-06 20:59:36 +08:00
Xiaoyu Wang 6de91932ea
Merge pull request #13472 from taosdata/feature/3.0_bug16060
feat: add physical plannode of indefinite rows func
2022-06-06 20:47:40 +08:00
Hongze Cheng c28aac66dc more 2022-06-06 12:22:21 +00:00
Xiaoyu Wang ce3aacf4d7 feat: order by distributed split 2022-06-06 18:07:34 +08:00
shenglian zhou 72c71141b2 feat: support multiway sort merge 2022-06-06 15:16:20 +08:00
shenglian zhou c438b699c9 feat: support multiway sort merge 2022-06-06 15:12:07 +08:00
shenglian zhou a8be204254 feat: add multiwaysort merge operator 2022-06-06 14:37:00 +08:00
Xiaoyu Wang 0b5c08edb9 merge 3.0 2022-06-06 11:47:20 +08:00
Yihao Deng 6c57bb2b07
Merge pull request #13480 from taosdata/enh/json_index
Enh/json index
2022-06-05 22:34:30 +08:00
yihaoDeng 0ca6a5ae27 refactor json index 2022-06-05 21:46:07 +08:00
Xiaoyu Wang 1c3e02aa1f
Merge pull request #13476 from taosdata/feature/3.0_wxy
feat: sql command 'delete from'
2022-06-05 19:15:38 +08:00
Xiaoyu Wang 55d41c8f5c feat: sql command 'delete from' 2022-06-05 15:48:06 +08:00
Haojun Liao 52ae8f0efa other: merge 3.0 2022-06-05 15:45:01 +08:00
Haojun Liao e25560b640 refactor: do some internal refactor. 2022-06-05 15:35:34 +08:00
Haojun Liao 6bd6822637 refactor: remove unused functions. 2022-06-05 15:26:25 +08:00
Haojun Liao 7df1727a7b refactor(query): do some internal refactor. 2022-06-05 15:24:57 +08:00
Haojun Liao 6fcbcabdfc refactor: do some internal refactor. 2022-06-05 14:48:15 +08:00
Haojun Liao 338f6eea71 fix(query): fix invalid free in exchange. 2022-06-05 00:47:03 +08:00
WANG MINGMING 8566917971
Merge pull request #13433 from taosdata/feature/TD-13041
feat:add json test case
2022-06-04 23:18:09 +08:00
Xiaoyu Wang 8ba9496471 feat: add physical plannode of indefinite rows func 2022-06-04 22:57:01 +08:00
54liuyao 5400507245 feat(stream): stream state operator 2022-06-04 20:36:28 +08:00
Xiaoyu Wang 7fa2d3d0d0
Merge pull request #13467 from taosdata/feature/3.0_wxy
feat: sql command 'delete from'
2022-06-04 20:18:18 +08:00
Xiaoyu Wang 74026205a7 feat: sql command 'delete from' 2022-06-04 19:54:55 +08:00
wangmm0220 a2ebeda89c feat: add sort/group logic for json 2022-06-04 19:28:30 +08:00
Haojun Liao 0244c4ff94 enh(query): add a new operator. 2022-06-04 19:19:49 +08:00
Haojun Liao 64c171d7b3
Merge pull request #13465 from taosdata/feature/3_liaohj
fix(query): enable filter in projection operator.
2022-06-04 17:03:01 +08:00
Haojun Liao 01e198231d fix(query): enable filter in projection operator. 2022-06-04 16:30:42 +08:00
wangmm0220 a3033b59e6 fix:fix error in table scan by group 2022-06-04 11:19:38 +08:00
wangmm0220 f1860b7918 fix:fix error in table scan by group 2022-06-04 10:25:55 +08:00
wangmm0220 5ed0c48af0 feat:merge from 3.0 2022-06-02 22:49:53 +08:00
Liu Jicong 77fe6a4ef7
Merge branch '3.0' into feature/3_liaohj 2022-06-02 15:05:49 +08:00
Cary Xu 7fceb5a709 other: code optimization and do more check 2022-06-02 10:22:34 +08:00
wangmm0220 eb82ac04a0 fix:fix error in new tag format 2022-06-01 13:06:25 +08:00
wangmm0220 f99e66df32 fix:fix error in new tag format 2022-06-01 10:29:10 +08:00
wangmm0220 19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
dapan1121 d85457833f
Merge pull request #13289 from taosdata/feature/qnode
feat: scheduler based on load
2022-05-31 19:59:41 +08:00
Yihao Deng a8845fff3b
Merge branch '3.0' into enh/supportTagFlt 2022-05-31 18:53:18 +08:00
yihaoDeng 64ffbc1eea enh: support tag filter 2022-05-31 18:34:17 +08:00
dapan1121 717acef00d
Merge branch '3.0' into feature/qnode 2022-05-31 17:50:50 +08:00
wangmm0220 816cea07f9 feat:add new logic for new tag format 2022-05-31 17:49:33 +08:00
54liuyao 901ff9bf18 feat(sma):files factor 2022-05-31 16:14:56 +08:00
dapan1121 52988b6da6 Merge branch '3.0' into feature/qnode 2022-05-31 14:04:47 +08:00
dapan1121 496ae4ca89 schedule based on qnode's load 2022-05-31 14:03:47 +08:00
Xiaoyu Wang 2dd1771f39 fix: problems of some function parameters with negative numbers 2022-05-30 19:08:14 +08:00
wangmm0220 6c38d716a1 feat:add test for operator encode/decode 2022-05-30 12:00:51 +08:00
wangmm0220 f37388514c feat:add encode/decode for operator 2022-05-29 00:26:50 +08:00
WANG MINGMING 99966e73ae
Merge pull request #13177 from taosdata/3.0
3.0
2022-05-29 00:23:37 +08:00
wangmm0220 650a6a85a7 feat:add encode/decode for operator 2022-05-28 23:48:31 +08:00
wangmm0220 5ebd2ec810 feat:add encode/decode for operator 2022-05-28 23:26:22 +08:00
dapan1121 5da1ead67b
Merge pull request #13174 from taosdata/feature/qnode
fix: fix memory leak
2022-05-28 22:44:00 +08:00
Yihao Deng 910b2b1a50
Merge pull request #13172 from taosdata/enh/rpcRefactor
enh: refactor rpc code
2022-05-28 22:15:47 +08:00
dapan1121 5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
Yihao Deng e93714226a
Merge branch '3.0' into enh/rpcRefactor 2022-05-28 21:49:15 +08:00
yihaoDeng 1d2e13c985 enh: refactor rpc code 2022-05-28 21:10:09 +08:00
afwerar 7b540d91d9 fix(os): add win ctest 2022-05-28 21:08:50 +08:00
Yihao Deng 465278786a
Merge pull request #13159 from taosdata/enh/tagFlt
Enh/tag flt
2022-05-28 20:03:43 +08:00
Yihao Deng 7710766583
Merge branch '3.0' into enh/tagFlt 2022-05-28 18:40:54 +08:00
54liuyao aa20cfedcd feat(stream): watermark and trigger 2022-05-28 18:19:36 +08:00
Haojun Liao 4bc5466bbd fix(query): add tags in stream scanner. 2022-05-28 17:28:47 +08:00
Cary Xu 9b4c9e4802 enh: tag refactor for normal tags 2022-05-28 17:16:04 +08:00
yihaoDeng 6acbe7e777 enh: support tag filter 2022-05-28 16:15:24 +08:00
slzhou 94c42b9230 fix: table scan operator change time windows index when reset read handle 2022-05-28 08:45:22 +08:00
wangmm0220 780644c135 feat:add encode/decode for operator 2022-05-27 23:21:41 +08:00
slzhou ee9c4c6390 fix: table scan operator for reset read handle 2022-05-27 22:22:23 +08:00
wangmm0220 955679276f feat:optimize for group by tag 2022-05-27 22:05:53 +08:00
slzhou 589ecd75ba Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sma 2022-05-27 21:30:24 +08:00
yihaoDeng 9678b81725 enh: update index interface 2022-05-27 19:54:22 +08:00
slzhou 860f7270fb ehance: table scan operator accepts many time ranges 2022-05-27 19:50:22 +08:00
Haojun Liao 349ef38ce4
Merge pull request #13083 from taosdata/feature/3_liaohj
fix(query): set the gid for stream result.
2022-05-27 18:30:27 +08:00
yihaoDeng c47371c877 change filter interface 2022-05-27 18:13:22 +08:00
slzhou 7a459a26a8 enhance:modify table scan operator that can accept several scan ranges 2022-05-27 17:59:27 +08:00
Haojun Liao a78fd74dc6 fix(query): set group id in stream scanner. 2022-05-27 15:46:07 +08:00
Haojun Liao 285bf707e0 fix(query): set the gid for stream result. 2022-05-27 15:00:33 +08:00
Haojun Liao 955c37a483
Merge pull request #13066 from taosdata/feature/3_liaohj
refactor(query): set the block groupId for stream block.
2022-05-27 14:29:37 +08:00
Haojun Liao d87bb5f3fa refactor(query): set the block groupId for stream block. 2022-05-27 10:03:45 +08:00
wangmm0220 3e94a85629 fix: remove table group code in 2.x 2022-05-26 23:05:06 +08:00
wangmm0220 750b7ccec9 fix: remove table group code in 2.x 2022-05-26 21:45:49 +08:00
WANG MINGMING dfe0440c5f
Merge pull request #13044 from taosdata/3.0
3.0
2022-05-26 21:42:21 +08:00
Haojun Liao 0e2505936b Merge branch '3.0' into feature/3_liaohj 2022-05-26 17:51:34 +08:00
Haojun Liao 2ced335b04 fix(query): set the proper buffer page size. 2022-05-26 17:48:07 +08:00
54liuyao e87ba7d526 fix(stream): function error 2022-05-26 17:46:52 +08:00
liuyao ed31fc754e
Merge branch '3.0' into feature/TD-16011 2022-05-26 17:33:59 +08:00
Haojun Liao a2a7674021 fix(query): do some internal refactor. 2022-05-26 17:18:56 +08:00
54liuyao 270771e39e feat(stream): stream final session operator 2022-05-26 16:55:54 +08:00
Hongze Cheng b40e3671a4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/two_versions 2022-05-26 08:32:35 +00:00
Hongze Cheng fe22f0f6d3 use two version in server and refact 2022-05-26 08:29:52 +00:00
wangmm0220 051020f932 fix: remove table group code in 2.x 2022-05-26 16:05:27 +08:00
Haojun Liao f6e8276475 fix(query): free the cursor when all data retrieved immediately. 2022-05-26 11:51:32 +08:00
WANG MINGMING dfbd780b5b
Merge pull request #13004 from taosdata/3.0
3.0
2022-05-26 09:56:37 +08:00
wangmm0220 8db0315341 feat: add tag condition 2022-05-25 22:35:24 +08:00
wangmm0220 71ec636c3c feat: add tag condition 2022-05-25 22:29:24 +08:00
wangmm0220 eea32f5f0a feat: add tag condition 2022-05-25 22:21:04 +08:00
Haojun Liao b37ca86866
Merge pull request #12979 from taosdata/feature/3_liaohj
fix(query): set correct expression number in project operator.
2022-05-25 18:31:46 +08:00
Haojun Liao 356c9e9056 fix(query): set correct expression number in project operator. 2022-05-25 17:55:34 +08:00
Haojun Liao 53527cfe59
Merge pull request #12975 from taosdata/feature/3_liaohj
enh(query): add detailed sort exec information in analysis of operator.
2022-05-25 17:08:51 +08:00
Haojun Liao 84f6898fcd enh(query): add detailed sort exec information in analysis of operator. 2022-05-25 15:22:34 +08:00
54liuyao 0778bf8857 stream session operator 2022-05-25 09:05:03 +08:00
Haojun Liao 3ac134adbe enh: free cursor if it is not a null pointer. 2022-05-24 23:10:51 +08:00
Haojun Liao a4e38ed7ca enh(query): return open/total cost for each operator. 2022-05-24 15:54:39 +08:00
Haojun Liao e8c03c576a other: merge 3.0 2022-05-24 11:32:48 +08:00
Haojun Liao 60e7e2ae6f enh(query): add more information regarding analyze sql execution. 2022-05-24 11:29:51 +08:00
Xiaoyu Wang dec850677b Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-05-23 19:50:33 +08:00
Xiaoyu Wang 8da52cbb04 feat: tag index filter plan 2022-05-23 19:50:08 +08:00
yihaoDeng 7da509b2f2 enh: index filter interface 2022-05-23 17:31:36 +08:00
dapan1121 403b2ba1c2
Merge pull request #12731 from taosdata/feature/async
feat: add catalog async api
2022-05-23 12:52:11 +08:00
54liuyao 42fcb433dc fix(stream):adjust bloom filter 2022-05-23 11:30:22 +08:00
dapan1121 9d6475fa09 Merge remote-tracking branch 'origin/3.0' into feature/async 2022-05-23 09:26:48 +08:00
yihaoDeng fb4982f8ca merge 3.0 2022-05-22 21:41:55 +08:00
Haojun Liao 9cea8dbaf7 fix(query): remove duplicated function call. 2022-05-31 00:21:47 +08:00
Haojun Liao a7feca23fe other: merge 3.0 2022-05-30 23:32:00 +08:00
Haojun Liao bb2146cd75 refactor(query): do some internal refactor. 2022-05-30 22:35:01 +08:00
Haojun Liao 70927458e5 refactor(query): do some internal refactor. 2022-05-30 20:10:30 +08:00
Haojun Liao 1652cd0ec2 enh(query): enable twa function in select clause. 2022-05-29 12:35:11 +08:00
afwerar 5acf419019 fix(os): win not close file ctest error 2022-05-21 23:47:39 +08:00
yihaoDeng 4d18fa0875 enh: refator index/transport code 2022-05-21 17:29:50 +08:00
54liuyao cacc7364d7 fix(stream): avoid check data update for tmq 2022-05-21 15:41:36 +08:00
Haojun Liao 6466187a63
Merge pull request #12788 from taosdata/feature/3_liaohj
fix(query): specify the primary timestamp column in ssdatablock
2022-05-21 14:46:08 +08:00
Haojun Liao e162d717ff Merge branch '3.0' into feature/3_liaohj 2022-05-21 14:10:04 +08:00
Haojun Liao c96036a7c4 fix(query): add null value check before update the block window info 2022-05-21 14:08:00 +08:00
Haojun Liao 00821527be fix(query): specify the primary timestamp column in ssdatablock when update the time range of ssdatablock. 2022-05-21 11:02:53 +08:00
Haojun Liao 800aa60588
Merge pull request #12779 from taosdata/feature/3_liaohj
fix(query): set buffer page dirty when place data in it.
2022-05-21 10:33:55 +08:00
Haojun Liao 03c916b436 fix(query): set buffer page dirty when place data in it. 2022-05-20 23:59:17 +08:00
Haojun Liao 25e2a9dd72 refactor: do some internal refactor, and set the correct intermediate buffer size for average function. 2022-05-20 23:58:34 +08:00
Liu Jicong 9ad18b8c2d
Merge pull request #12776 from taosdata/feature/3_liaohj
fix(query): ignore the check of qualified table id.
2022-05-20 23:15:50 +08:00
Haojun Liao 2964542617 fix(query): ignore the check of qualified table id. 2022-05-20 22:45:43 +08:00
dapan1121 d0aa9436e4 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-20 21:05:21 +08:00
dapan1121 a353b1a1fb refresh meta 2022-05-20 18:00:05 +08:00
Haojun Liao ee470a9427 other: merge 3.0 2022-05-20 17:12:04 +08:00
Haojun Liao fa84d0585b enh(query): enable remove the candidate table ids in the stream scanner. 2022-05-20 17:07:53 +08:00
Haojun Liao 5e819fbdb3 fix(query): assign the group id in the ssdatablock when generating grouped results. 2022-05-20 16:50:39 +08:00
dapan1121 40a3f02463 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-20 15:38:45 +08:00
WANG MINGMING c715ee5993
Merge pull request #12719 from taosdata/feature/TD-13041
fea: add select json from table
2022-05-20 13:15:49 +08:00
Haojun Liao 7b55cb0df2 fix(query): set the correct number of expressions. 2022-05-20 12:06:29 +08:00
dapan1121 af429ca64e Merge remote-tracking branch 'origin/3.0' into feature/async 2022-05-20 09:21:40 +08:00
Haojun Liao c84e666fab fix(query): remove the false alarm in aggregate operator when handling the stream computing. 2022-05-20 00:29:14 +08:00
Haojun Liao cded09bf79 enh(query): limit the rsp ssdatablock size. 2022-05-19 23:47:27 +08:00
wangmm0220 d48d98f094 fea:add select json logic 2022-05-19 22:10:20 +08:00
dapan1121 d472c28142 update table meta based on query sversion 2022-05-19 22:08:06 +08:00
wangmm0220 6c26b6230f fea:add select json logic 2022-05-19 17:57:14 +08:00
wangmm0220 91dc9e9089 fea:add select json logic 2022-05-19 17:46:28 +08:00
Haojun Liao f636806c2a other: merge 3.0 2022-05-19 17:07:01 +08:00
Haojun Liao 4c3f6f11eb fix(query): set hasNull flag to be true when initializing columnInfodata by default. 2022-05-19 16:58:30 +08:00
Haojun Liao e0b9da9c3d refactor: do some internal refactor. 2022-05-19 16:49:43 +08:00
Haojun Liao 14998af2b8
Merge pull request #12669 from taosdata/feature/3_liaohj
enh(query): record and return the schema version and tags version of the queried table.
2022-05-19 16:48:37 +08:00
Haojun Liao 90a6ec0917 fix(query): release meta reader after initializing it. 2022-05-19 16:16:16 +08:00
slzhou 83f4d1286e fix: executor process express tree scalar execution error 2022-05-19 11:20:27 +08:00
wangmm0220 e818e27902 fea:add select json logic 2022-05-18 22:13:38 +08:00
Liu Jicong f2ee70efb1 merge from 3.0 2022-05-18 21:25:23 +08:00
Liu Jicong a696ed583a test(stream): _wstartts should be reverse quoted 2022-05-18 21:23:06 +08:00
Haojun Liao 47e6e95866 enh(query): record and return the schema version and tags version of current queried table. 2022-05-18 20:39:00 +08:00
54liuyao 5ca0e81bba stream final interval operator 2022-05-18 19:41:29 +08:00
shenglian-zhou 1fecbd2587
Merge pull request #12657 from taosdata/feature/udf
fix: improve udf function misuse stability
2022-05-18 18:37:57 +08:00
slzhou 36dcc70f0d fix: improve udf function misuse stability 2022-05-18 18:21:32 +08:00
liuyao f094d32fa3
Merge pull request #12652 from taosdata/feature/TD-15688
fix(stream):set window info
2022-05-18 16:52:22 +08:00
54liuyao fb0711fa3e fix(stream):set window info 2022-05-18 16:31:52 +08:00
Liu Jicong 4e640b6d67 enh(tmq): update tb list for existing topic 2022-05-18 16:27:50 +08:00
Haojun Liao 5c2c2b378b fix(query): fix the invalid column length value during spill out the group data into disk. 2022-05-18 10:15:29 +08:00
Haojun Liao a918f19329 Merge branch '3.0' into feature/3.0_liaohj 2022-05-17 22:47:52 +08:00
Haojun Liao 1cc0708d85 fix(query): expand the capacity for aggregate operator. 2022-05-17 22:42:11 +08:00
Shengliang Guan 8b7f0f3a15 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-17 20:35:19 +08:00
Shengliang Guan 00a69a4d57 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-17 19:41:53 +08:00
54liuyao ae2399cd50 fix(stream):valgrind 2022-05-17 19:37:40 +08:00
Haojun Liao aefa9bd891 refactor: do some internal refactor. 2022-05-17 16:53:55 +08:00
Shengliang Guan 0623514ed1 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-17 16:12:53 +08:00
Haojun Liao 1d577dbc69 fix(query): free resources after load table meta. 2022-05-17 16:06:57 +08:00
Haojun Liao c508c89a92 enh(query): filter the child table that are not belongs to current super table when adding into candidate list. 2022-05-17 16:02:03 +08:00
Haojun Liao c2a918a85e refactor: do some internal refactor. 2022-05-17 12:36:32 +08:00
Haojun Liao eb6f95c7dd enh(query): reverse scan table to generated interval results. 2022-05-17 12:16:44 +08:00
Shengliang Guan 81e89ec7b6 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-16 20:13:02 +08:00
Haojun Liao 4bac6c4fef fix(query): avoid copy the unassigned column to the destination datablock after filter applied. 2022-05-16 18:29:34 +08:00
Haojun Liao 745f64aff6 refactor(query): do some internal refactor. 2022-05-16 17:16:20 +08:00
Shengliang Guan fc94b71c80 refactor: adjust SRpcMsg 2022-05-16 15:17:11 +08:00
Haojun Liao 94c8a67e23
Merge pull request #12524 from taosdata/feature/3.0_liaohj
fix(query): extract correct join condition from physical plan.
2022-05-16 11:22:40 +08:00
Haojun Liao 2df67d9133 fix(query): extract correct join condition from physical plan. 2022-05-16 11:10:05 +08:00
slzhou 8ce04a94f9 fix: change function name for tearing down udf handles 2022-05-16 09:06:08 +08:00
slzhou 5b35fcacd6 fix: teardown udf functions handles 2022-05-16 07:47:56 +08:00
Haojun Liao 18fcb33465 refactor: do some internal refactor. 2022-05-15 00:04:51 +08:00
Haojun Liao a170b3fa9d
Merge pull request #12486 from taosdata/feature/3.0_liaohj
fix(query): set the correct row index during generating join results.
2022-05-14 23:27:52 +08:00
Haojun Liao 5a72ca804b fix(query): set the correct row index during generating join results. 2022-05-14 23:03:02 +08:00
Haojun Liao 0c111d3315
Merge pull request #12482 from taosdata/feature/3.0_liaohj
fix(query): remove expired moving data operation during extract data …
2022-05-14 22:35:10 +08:00
Haojun Liao b6677e1a5d fix(query): remove expired moving data operation during extract data from in-memory buffer. 2022-05-14 22:13:27 +08:00
Yihao Deng 7f08c25030
Merge pull request #12481 from taosdata/fix/avoid_invalid_rw
enh(index): fix sanitizer error
2022-05-14 21:45:52 +08:00
yihaoDeng 70171a66e0 enh(index): fix sanitizer error 2022-05-14 20:53:40 +08:00
Haojun Liao 8242cac94a fix(query): fill the pseudo column before applying filter in table scanner. 2022-05-14 19:21:12 +08:00
Haojun Liao 46e76fc2ee fix(query): fix a corner case for generating the filtered ssdatablock. 2022-05-14 16:40:51 +08:00
Haojun Liao 234c0cd966 fix(query): ignore the reserved column data when generating filtered result. 2022-05-14 16:28:34 +08:00
Shengliang Guan 1f5941ebde
Merge pull request #12465 from taosdata/fix/mnode
enh: control the memory of the rpc queue
2022-05-14 12:05:18 +08:00
Shengliang Guan 7ad96ac276 enh: control the memory of the rpc queue 2022-05-14 11:53:46 +08:00
Yihao Deng 9dc392d321
Merge pull request #12455 from taosdata/enh/add_more_index_ut
enh(index): add more UT
2022-05-14 10:49:10 +08:00
Haojun Liao e119b56f55 other: merge 3.0 and do some internal refactor. 2022-05-14 10:39:21 +08:00
Shengliang Guan 1e41ba8c14 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-14 09:30:55 +08:00
yihaoDeng d003f1b0d7 enh(index): add more UT 2022-05-13 23:30:46 +08:00
shenglian-zhou 095217a204
Merge pull request #12445 from taosdata/feature/udf
feat: fix erros of square int overflow and block capacity set before filling a new column
2022-05-13 21:59:02 +08:00
Haojun Liao d760f981a3
Merge pull request #12437 from taosdata/feature/3.0_liaohj
fix(query): set the correct state value key index.
2022-05-13 21:58:32 +08:00
slzhou d54e345dc9 fix: ensure capacity before column merge: select agg1(col/10), agg2(col/2) 2022-05-13 21:00:46 +08:00
Haojun Liao 5dadb26070 fix(query): set the correct state value key index. 2022-05-13 18:18:54 +08:00
54liuyao 4b564b2ebd add stream ci 2022-05-13 15:37:31 +08:00
Haojun Liao 9b2cdcff9d
Merge pull request #12417 from taosdata/feature/3.0_liaohj
fix(query): add the repeat scan flag check in the aggregate executor.
2022-05-13 14:28:05 +08:00
Shengliang Guan 65e9e97252 refactor: control the memory of the rpc queue 2022-05-13 14:23:11 +08:00
yihaoDeng d0fe68b0e4 fix(rpc): avoid fd leak 2022-05-13 12:18:57 +08:00
Haojun Liao 86031c1985 fix(query): add the repeat scan flag check during aggregate executor. 2022-05-13 12:17:09 +08:00
Haojun Liao 38d52c69dc fix(query): fix syntax errors in executorimpl.c 2022-05-13 10:12:03 +08:00
Haojun Liao fbc3ca6093 Merge branch '3.0' into feature/3.0_liaohj 2022-05-13 09:57:00 +08:00
Haojun Liao 321c291f4c refactor: do some internal refactor. 2022-05-13 09:53:19 +08:00
liuyao 426200a71b
Merge pull request #12384 from taosdata/feature/TD-15379
feat(stream): stream reprocess window
2022-05-13 09:19:22 +08:00
Haojun Liao e468363ce1
Merge pull request #12409 from taosdata/feature/3.0_liaohj
fix(query): close read fd when finishing scanning data files.
2022-05-13 01:25:38 +08:00
Haojun Liao ec808a75c1 Merge branch 'feature/3.0_liaohj' of github.com:taosdata/tdengine into feature/3.0_liaohj 2022-05-13 00:38:21 +08:00
Haojun Liao aae019d18a fix(query): close read fd when finishing scanning data files. 2022-05-13 00:32:02 +08:00
Haojun Liao 3678aa9094
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
2022-05-12 23:49:21 +08:00
Haojun Liao bc64bdc179 Merge branch '3.0' into feature/3.0_liaohj 2022-05-12 23:15:35 +08:00
Haojun Liao 2693689285 fix(query): set the ascending scan order for exchange operator. 2022-05-12 23:10:23 +08:00
54liuyao 42f27e99d0 steam reprocess window 2022-05-12 22:15:13 +08:00
Haojun Liao a41f6a3479 fix(query): fix the bug that special pseudo column tbname, along with other normal columns in select clause, cause taosd crash. 2022-05-12 17:33:36 +08:00
yihaoDeng 7f7b1a423a fix(rpc): avoid fd leak 2022-05-12 12:10:22 +08:00
slzhou@taodata.com 85ee4f7df6 fix finalize function call return value >=0 not error, <0 error 2022-05-12 10:43:54 +08:00
slzhou@taodata.com ed1a71f1a0 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-12 09:57:55 +08:00
slzhou@taodata.com d37d4e5b5e error processing of executor when calling aggregate function 2022-05-12 09:57:43 +08:00
yihaoDeng f3bf12c711 enh(index): update index filter UT 2022-05-11 23:20:01 +08:00
yihaoDeng 19e7f2207b enh(index): update index filter UT 2022-05-11 22:41:03 +08:00
yihaoDeng b6c637dc64 enh(index): update index filter UT 2022-05-11 22:13:46 +08:00
yihaoDeng 9882ae0a21 enh(index): update index filter UT 2022-05-11 22:11:33 +08:00
yihaoDeng 17bbd59a82 enh(index): update index filter 2022-05-11 18:00:42 +08:00
Haojun Liao 7a4df795f4 refactor: do some internal refactor. 2022-05-11 17:19:35 +08:00
Yihao Deng 9d2ba0a360
Merge pull request #12324 from taosdata/enh/queryIndexInter
enh(query): index inter
2022-05-11 00:01:05 +08:00
yihaoDeng d4c550db66 enh(query): add executor plan interface 2022-05-10 21:35:43 +08:00
Haojun Liao 119874ac5d refactor:do some internal refactor. 2022-05-10 18:24:52 +08:00
Haojun Liao 8c47b350dc fix(query): Pseudo time window result expands to multiple rows in case of multiple rows aggregates function existing. 2022-05-10 18:21:54 +08:00
Haojun Liao 6c30d170ea refactor: do some internal refactor. 2022-05-10 17:46:45 +08:00
dapan1121 887b1ebf77
Merge pull request #12201 from taosdata/feature/qnode
fix: fix filter issue
2022-05-10 11:08:06 +08:00
Shengliang Guan fe4c1eed05
Merge pull request #12283 from taosdata/feature/3.0_wxy
fix: problem of parser and planner
2022-05-10 09:35:32 +08:00
Shengliang Guan 1899c4609f
Merge pull request #12220 from taosdata/feature/dnode
refactor: remove rpc client in executor and scanoperator
2022-05-10 09:34:25 +08:00
Xiaoyu Wang 88c767bcdb fix: problem of parser and planner 2022-05-10 08:55:32 +08:00
Haojun Liao 09f07dbbcf enh(query): add error check for scalar function calculation. 2022-05-09 19:16:22 +08:00
Shengliang Guan 2c694a5080 refactor: remove rpc client in executor and scanoperator 2022-05-09 18:14:12 +08:00
Shengliang Guan 00704f9da7 refactor: remove rpc client in executor and scanoperator 2022-05-09 18:07:26 +08:00
Shengliang Guan 0dfac36f5e Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-09 16:40:16 +08:00
Haojun Liao a030a9f32f enh(query):support selectivity function and normal column data query. 2022-05-09 16:06:15 +08:00
dapan 6621ee69a0 fix bug 2022-05-09 11:40:24 +08:00
dapan 71dbed3ede Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-09 08:16:02 +08:00
Haojun Liao 0f9f52e78b fix(query): remove false assert. 2022-05-08 16:37:12 +08:00
Haojun Liao b329b286ac refactor:do some internal refactor. 2022-05-08 16:09:56 +08:00
Haojun Liao f6be0f0dfe other: merge with 3.0. 2022-05-08 16:06:47 +08:00
Liu Jicong d17b478e96 feat(stream): auto create ctb 2022-05-08 02:37:23 +08:00
Haojun Liao e86bbc1cae
Merge branch '3.0' into feature/3.0_liaohj 2022-05-08 00:53:06 +08:00
Liu Jicong db3cbbf22d fix(query): column match 2022-05-08 00:21:17 +08:00
Haojun Liao 9025a5d735 Merge branch '3.0' into feature/3.0_liaohj 2022-05-08 00:14:02 +08:00
Haojun Liao 0bdabe6a10 fix(query): fix invalid extraction of column id. 2022-05-07 23:49:29 +08:00
dapan1121 7c535c40ba
Merge branch '3.0' into feature/qnode 2022-05-07 22:03:14 +08:00
Shengliang Guan 963813b5e6 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-07 20:19:54 +08:00
Shengliang Guan c8865f3a05 refactor: remove rpc client in executor and scanoperator 2022-05-07 20:19:40 +08:00
Hongze Cheng a06bf6e5ca
Merge pull request #12206 from taosdata/feature/vnode_refact1
refact: vnode
2022-05-07 19:05:25 +08:00
Haojun Liao 6ce36a083e
Merge pull request #12214 from taosdata/feature/3.0_liaohj
fix(query): remove a false assert.
2022-05-07 19:00:29 +08:00
Haojun Liao cdc2002e70 refactor(query): do some internal refactor. 2022-05-07 18:15:17 +08:00
54liuyao 599ea89a53 stream scan 2022-05-07 18:10:45 +08:00
Hongze Cheng 141ef5afd0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-05-07 10:03:16 +00:00
Haojun Liao f867e8ea91 fix(query): eliminate memory leak. 2022-05-07 17:23:05 +08:00
Haojun Liao addd65f222 Merge branch '3.0' into feature/3.0_liaohj 2022-05-07 16:51:03 +08:00
Haojun Liao f508da9e13 fix(query): eliminate memory leak 2022-05-07 16:22:52 +08:00
Hongze Cheng a194f6458f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-05-07 07:30:22 +00:00
Haojun Liao 1d8af5d4cf fix(query): fix memory leak. 2022-05-07 15:11:49 +08:00
Haojun Liao 47eb1fac26
Merge pull request #12187 from taosdata/feature/3.0_liaohj
fix(query): update the column match strategy.
2022-05-07 15:07:40 +08:00
Hongze Cheng 5d150204dd more refact 2022-05-07 06:57:31 +00:00
Haojun Liao 6115d3dbe8 fix(query): update the column match strategy. 2022-05-07 11:04:38 +08:00
dapan1121 8dd7c076d0 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-07 08:48:41 +08:00
dapan1121 20e0d336c7 fix memory leak issue 2022-05-07 08:47:52 +08:00
Yihao Deng 4d99b003d6
Merge pull request #12168 from taosdata/enh/supportIdxFilter
enh(index): support more data type
2022-05-07 08:47:51 +08:00
Haojun Liao 2b803d8b93 enh(query): set uid for the result datablock of stream scanner when handling the submit block. 2022-05-06 23:40:26 +08:00
Haojun Liao ea3e1a202e fix(query): add some check for null pointer. 2022-05-06 22:12:35 +08:00
dapan1121 1f9b6f14dd fix mem leak 2022-05-06 22:11:33 +08:00
yihaoDeng e08dd100a4 enh(index): support more data type 2022-05-06 18:39:28 +08:00
Haojun Liao 4e90982c22 fix(query): sort according to the generated column data in order by operator. 2022-05-06 17:23:20 +08:00
Haojun Liao e4f0a0fc67 fix(query): enable table name query for super table. 2022-05-05 23:47:44 +08:00
Haojun Liao 8954035a2c fix(query): update the unit test cases. 2022-05-05 19:05:55 +08:00
Haojun Liao 02c7fcc228 Merge branch '3.0' into feature/3.0_liaohj 2022-05-05 19:00:07 +08:00
Haojun Liao c1659805b6 fix(query): do perform arithmetic operator before apply the sort procedure. 2022-05-05 18:54:19 +08:00
Haojun Liao cb3e10a046
Merge pull request #12116 from taosdata/feature/3.0_liaohj
fix(query): set the correct join on column slot id.
2022-05-05 15:35:03 +08:00
Haojun Liao 96372a7322 fix(query): set the correct join on column slot id. 2022-05-05 14:57:48 +08:00
Yihao Deng e50e3a17fe
Merge pull request #12103 from taosdata/enh/supportIdxFilter
enh(index): support index filter
2022-05-05 08:37:26 +08:00
Yihao Deng d2c7b8a0ed
Merge pull request #12101 from taosdata/enh/supportIndexFilter
Enh/support index filter
2022-05-04 17:12:56 +08:00
Haojun Liao 61ca9527b7
Merge pull request #12098 from taosdata/feature/3.0_liaohj
refactor: do some internal refactor.
2022-05-04 15:31:37 +08:00
Haojun Liao db00d25b9b fix(query): add one more check for null pointer. 2022-05-04 14:34:38 +08:00
yihaoDeng 5ed7b44b16 enh(index): support index filter 2022-05-04 12:35:05 +08:00
Haojun Liao 05bd6a52c2 refactor: do some internal refactor. 2022-05-03 23:52:17 +08:00
Haojun Liao ad3075db1e refactor: do some internal refactor. 2022-05-03 23:23:49 +08:00
Haojun Liao d20d78729e
Merge pull request #12097 from taosdata/feature/3.0_liaohj
fix(query): set the correct primary timestamp column for state window operator.
2022-05-03 22:14:28 +08:00
yihaoDeng dc6bdab4e4 enh(index): add prefix query 2022-05-03 21:56:05 +08:00
yihaoDeng 8e7cf4a661 enh(index): add prefix query 2022-05-03 20:14:53 +08:00
yihaoDeng 6a7630e040 enh(index): add prefix query 2022-05-03 18:18:11 +08:00
Haojun Liao 90202c7221 fix(query): set the timewindow value for the result of partition by operator. 2022-05-03 15:39:46 +08:00
Haojun Liao 231b0c6cb5 fix(query): set the correct primary timestamp column for state window operator. 2022-05-03 15:33:24 +08:00
Haojun Liao 3438ed13f3 refactor: do some internal refactor. 2022-05-03 15:27:13 +08:00
Haojun Liao 9adc1ed8ac refactor: do some internal refactor. 2022-05-03 15:04:34 +08:00
Haojun Liao 0799a5eaf7 refactor: do some internal refactor. 2022-05-03 14:43:53 +08:00
Haojun Liao 6b5ca95d65
Merge pull request #12096 from taosdata/feature/3.0_liaohj
enh(query): time window interpolation is valid for interval query.
2022-05-03 14:37:50 +08:00
Haojun Liao b2e7a161ab refactor: remove some comments. 2022-05-02 23:59:59 +08:00
Haojun Liao ffbf455fee enh(query): time window interpolation for interval query. 2022-05-02 23:52:32 +08:00