Commit Graph

1689 Commits

Author SHA1 Message Date
Hongze Cheng f3baaf1a60 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 10:25:19 +00:00
Hongze Cheng 0bdbf866c0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 10:19:26 +00:00
54liuyao 7b98430906 feat(stream): stream partition by 2022-06-16 18:11:39 +08:00
Hongze Cheng 5bd3732adf refact more code 2022-06-16 09:53:07 +00:00
Haojun Liao dfce7e7261 other:merge 3.0 2022-06-16 17:49:58 +08:00
Haojun Liao bd518f3f71 fix(query): remove group info during sort. 2022-06-16 17:39:33 +08:00
Haojun Liao 6e328d42ca
Merge pull request #13897 from taosdata/feature/3_liaohj
fix(query): set correct error code.
2022-06-16 17:33:41 +08:00
Hongze Cheng 3c18269c29 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 08:34:43 +00:00
Haojun Liao 87300b2ab0 fix(query): set correct error code. 2022-06-16 16:21:01 +08:00
Haojun Liao 2c746848fc
Merge pull request #13877 from taosdata/feature/3_liaohj
enh(query): partition by supports arithmetic expr
2022-06-16 16:18:50 +08:00
Haojun Liao 5492155009 fix(query): fix syntax error on windows platform. 2022-06-16 14:49:37 +08:00
Hongze Cheng 07792850cb refact code 2022-06-16 06:29:28 +00:00
Haojun Liao 75e0eaa53f fix(query): add null pointer check. 2022-06-16 13:53:02 +08:00
Haojun Liao 102fdf2916 fix(query): fix the syntax error in unit test. 2022-06-16 11:52:58 +08:00
Haojun Liao 2360f072a8 fix(query): add indef process procedure. 2022-06-16 11:43:11 +08:00
Haojun Liao 63884b554b fix(query): set correct sort buffer page size. 2022-06-16 10:51:29 +08:00
Xiaoyu Wang f6f4f65a56 merge 3.0 2022-06-16 09:55:32 +08:00
Xiaoyu Wang e52429e31b merge 3.0 2022-06-16 09:31:22 +08:00
Haojun Liao 6b2d4a6aca other: merge 3.0 2022-06-15 23:05:55 +08:00
Haojun Liao f2de1af904 enh(query): partition by support arithmetic expr, and do some internal refactor. 2022-06-15 23:00:31 +08:00
Haojun Liao efd28728df
Merge pull request #13779 from taosdata/feature/3_liaohj
enh(query): add derivative function.
2022-06-15 22:35:30 +08:00
shenglian-zhou 39ac85b1f3
Merge pull request #13842 from taosdata/szhou/feature/multi-tb-merge-scan
feat: add table merge scan operator
2022-06-15 21:26:47 +08:00
Haojun Liao 4f8c84cf02 fix(query): remove invalid colId check. 2022-06-15 20:48:12 +08:00
slzhou 8efaa65ade fix: use different datablock for each sort source 2022-06-15 20:12:04 +08:00
Xiaoyu Wang 7f78d4a79b feat: partition by tags optimize 2022-06-15 19:08:25 +08:00
liuyao 6e49b7bbd7
Merge pull request #13862 from taosdata/feature/TD-16512
feat(stream): stream state&session support partition by
2022-06-15 17:21:03 +08:00
slzhou b6bddd3fb1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 17:13:09 +08:00
Liu Jicong fd9bb8db73
Merge pull request #13860 from taosdata/feature/stream
feat(stream): trigger mode add max delay
2022-06-15 17:11:18 +08:00
slzhou 040093bee8 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 16:43:34 +08:00
54liuyao 87bcbe003e feat(stream): stream state&session support partition by 2022-06-15 16:40:45 +08:00
slzhou 562ec27c7b feat: add merge table scan operator 2022-06-15 16:40:43 +08:00
Haojun Liao 771065952e other: merge 3.0 2022-06-15 16:32:28 +08:00
Haojun Liao ec97183737 fix(query): add refId for exchange operator. 2022-06-15 16:26:43 +08:00
Liu Jicong 8eb08fa0d4 feat(stream): trigger mode add max delay 2022-06-15 16:11:20 +08:00
54liuyao d8c2a68f27 feat(stream): update data fo partition by 2022-06-15 15:35:51 +08:00
shenglian zhou 9f9a55f4f0 fix: change table scan to table merge scan 2022-06-15 08:56:45 +08:00
shenglian zhou a38f70ba7c fix: select * from t core dump 2022-06-14 23:34:50 +08:00
Haojun Liao 83ee553615 refactor(query): do some internal refactor. 2022-06-14 21:01:08 +08:00
Haojun Liao 93dfebe071 refactor(query): do some internal refactor. 2022-06-14 19:47:25 +08:00
shenglian zhou 4fa20a1e76 feat: add table merge scan operator 2022-06-14 19:44:48 +08:00
shenglian zhou 1b1d1d1c4a feature: add table merge scan operator 2022-06-14 18:17:18 +08:00
WANG MINGMING 32fbb8aa59
Merge pull request #13801 from taosdata/feature/TD-15956
opt: optimize generating groupid in partition/group by tag
2022-06-14 15:55:38 +08:00
Haojun Liao c56be8f871 enh(query): add interp function. 2022-06-14 14:45:17 +08:00
wangmm0220 7435221e32 opt: optimize generating groupid in partition/group by tag 2022-06-14 14:40:01 +08:00
wangmm0220 cb85ee6d3c opt: optimize generating groupid in partition/group by tag 2022-06-14 13:36:54 +08:00
liuyao f218e73ffe
Merge pull request #13793 from taosdata/feature/TD-16512
feat(stream): partition by
2022-06-14 13:12:48 +08:00
Haojun Liao 531b85ce22 enh(query): add interp function. 2022-06-14 11:54:13 +08:00
54liuyao 22f86ee529 feat(stream): partition by 2022-06-14 11:15:10 +08:00
wangmm0220 fc32f71628 opt: optimize group by tag 2022-06-13 19:59:30 +08:00
Xiaoyu Wang a5ce5192f2 merge 3.0 2022-06-13 18:37:25 +08:00
shenglian-zhou 5507931dee
Merge pull request #13766 from taosdata/szhou/feature/multiwaymerge
feature: explain mulitway merge and merge interval optimization
2022-06-13 16:34:55 +08:00
Haojun Liao 0166d40c68
Merge pull request #13759 from taosdata/feature/3_liaohj
fix(query): add check for data completed.
2022-06-13 15:10:46 +08:00
shenglian zhou dc56c636ea Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-13 15:08:26 +08:00
shenglian zhou 140e15bc8d fix: merge interval operator optimization and explain analyze multimerge operator 2022-06-13 15:07:54 +08:00
Xiaoyu Wang 1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
dapan1121 2eed1d4f2f
Merge pull request #13690 from taosdata/feature/qnode
feat: support mnode/vnode epset update
2022-06-13 14:02:06 +08:00
Haojun Liao 0a414b4934 fix(query): add check for data completed. 2022-06-13 13:32:02 +08:00
Haojun Liao 3e5b18d4b8 fix(query): add null pointer check. 2022-06-13 10:23:16 +08:00
Haojun Liao eee5408d25 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-06-11 19:28:44 +08:00
Haojun Liao 0b8dd61f41 fix(query): fix some memory leaks. 2022-06-13 09:33:08 +08:00
Haojun Liao 1ad2b5c92b fix(query): fix memory leak. 2022-06-12 23:37:29 +08:00
dapan1121 0046593d4f
Merge branch '3.0' into feature/qnode 2022-06-11 17:58:53 +08:00
54liuyao c8af8daa61 feat(stream): state\session max delay 2022-06-11 16:39:59 +08:00
dapan1121 d3a56d87ca
Merge branch '3.0' into feature/qnode 2022-06-11 16:34:21 +08:00
Haojun Liao 4ab97e81cf
Merge pull request #13717 from taosdata/feature/3_liaohj
refactor: do some internal refactor, and add some check before create exchange operator
2022-06-11 15:20:52 +08:00
liuyao 3097bf2af8
Merge pull request #13716 from taosdata/feature/TD-16435
feat(stream): stream max delay
2022-06-11 15:11:39 +08:00
Haojun Liao a91053300c other: merge 3.0 2022-06-11 14:54:31 +08:00
Haojun Liao 9f4e89a7e2 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-06-11 14:52:33 +08:00
Haojun Liao 0fbf30ce6d refactor: do some internal refactor, and add some check before create exchange operator. 2022-06-11 14:51:54 +08:00
Haojun Liao a80529e810
Merge pull request #13688 from taosdata/feature/3_liaohj
fix(query): fix invalid write.
2022-06-11 14:50:35 +08:00
54liuyao d210ef1c0e feat(stream): stream max delay 2022-06-11 14:27:45 +08:00
Haojun Liao 94c8ca1e06 fix(query): add null pointer check. 2022-06-11 14:10:00 +08:00
Haojun Liao 514e86ff26 fix(query): clear flag before assign data. 2022-06-11 11:28:59 +08:00
dapan1121 23e26d569b Merge branch '3.0' into feature/qnode 2022-06-11 11:21:27 +08:00
54liuyao ee5517d5ee feat(stream): combine function spread\elapsed\histogram\hll 2022-06-11 10:28:44 +08:00
Haojun Liao afe612e369 refactor: remove unnecessary check. 2022-06-11 00:51:59 +08:00
Haojun Liao 516750bd42 refactor: remove unnecessary check. 2022-06-10 23:58:17 +08:00
dapan1121 7923d51f62 Merge branch '3.0' into feature/qnode 2022-06-10 20:04:19 +08:00
shenglian zhou c038848f72 feature: output results in merge-interval agg buf when exhausted input stream 2022-06-10 18:33:24 +08:00
dapan1121 0e9203ebf6 Merge branch '3.0' into feature/qnode 2022-06-10 17:09:11 +08:00
dapan1121 1b196df8ed update epset 2022-06-10 17:07:24 +08:00
Haojun Liao 63269c19de fix(query): fix invalid write. 2022-06-10 16:45:26 +08:00
shenglian zhou 433286c0f9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 16:31:25 +08:00
liuyao b5f6272bc8
Merge pull request #13682 from taosdata/feature/TD-16285
feat(stream): distribute stream interval
2022-06-10 16:23:06 +08:00
54liuyao c790ac64d6 feat(stream): distribute stream interval 2022-06-10 15:54:20 +08:00
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
yihaoDeng 26f2d342b0 enh(index): add prefix query 2022-05-02 22:15:51 +08:00
Yihao Deng 13b42a00fa
Merge pull request #12089 from taosdata/enh/supportIdxFilter
enh(index): support index filter
2022-05-02 10:15:38 +08:00
yihaoDeng ee5b67a965 enh(index): support index filter 2022-05-01 22:20:24 +08:00
Haojun Liao f096f27ce8 refactor: do some internal refactor. 2022-05-01 15:22:28 +08:00
Haojun Liao 7cecc3418c
Merge pull request #12077 from taosdata/feature/3.0_liaohj
fix(query): update the capacity for ssdatablock when merge new blocks.
2022-04-30 16:09:04 +08:00
Haojun Liao 498cbc62fc fix(query): update the capacity for ssdatablock when merge new blocks. 2022-04-30 15:13:18 +08:00
Xiaoyu Wang 408929ec4b
Merge pull request #12074 from taosdata/feature/3.0_wxy
feat: fill physical plan
2022-04-30 14:29:27 +08:00
Xiaoyu Wang cdfe9929c8 feat: fill physical plan 2022-04-30 14:07:44 +08:00
Haojun Liao 0ebd90b549 fix(query): set the correct primary timestamp column for first/last function. 2022-04-30 13:48:07 +08:00
Xiaoyu Wang 913354057e feat: fill physical plan 2022-04-30 11:40:12 +08:00
Haojun Liao ca786a9251
Merge pull request #12065 from taosdata/feature/3.0_liaohj
enh(query): enable check sma status for each column in query.
2022-04-29 20:49:46 +08:00
Haojun Liao 4b761380b2 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-29 20:27:09 +08:00
Haojun Liao c71c88a719 enh(query): enable check sma status for each column in query. 2022-04-29 20:07:33 +08:00
Haojun Liao 210e9cdbd8
Merge pull request #12059 from taosdata/feature/3.0_liaohj
fix(query): avoid to build dummy value column in group by constant value.
2022-04-29 18:48:19 +08:00
Haojun Liao eecd01dc9a refactor: do some internal refactor. 2022-04-29 16:46:01 +08:00
54liuyao b2dd293568 stream supports filter 2022-04-29 16:30:43 +08:00
Yihao Deng 39a129aee5
Merge pull request #12035 from taosdata/feat/refactor-index
refactor(index): refactor index code
2022-04-29 11:55:56 +08:00
Haojun Liao 45e8eeb9f8
Merge pull request #12038 from taosdata/feature/3.0_liaohj
refactor(query): remove redundant attributes in some structs.
2022-04-29 10:41:15 +08:00
Cary Xu 0bac6edfd6
Merge pull request #12032 from taosdata/feature/TD-13066-3.0
feat: migrate tsdb read interface to vnode
2022-04-29 09:32:35 +08:00
Haojun Liao 2a696d2790 fix(query): add one more attribute in SSDataBlock. 2022-04-29 08:49:31 +08:00
yihaoDeng 60b05c8a51 refactor(index): refactor index code 2022-04-28 23:32:14 +08:00
Cary Xu 5afaaaf4a9 feat: migrate tsdb read interface to vnode 2022-04-28 21:22:40 +08:00
Haojun Liao f6fbbdfc5f other: merge 3.0 2022-04-28 18:13:41 +08:00
Haojun Liao d9aa35ecfe fix(query): revise the output data column info in the exchange operator to be adaptable for the case of extensive datablocks. 2022-04-28 18:08:56 +08:00
Liu Jicong 58ee66a8e8
Merge pull request #12013 from taosdata/feature/tq
fix: memory error
2022-04-28 17:54:10 +08:00
Liu Jicong 3ae3fd65e8 fix: memory error 2022-04-28 16:31:35 +08:00
Haojun Liao 96363c411d other: merge 3.0 2022-04-28 15:40:03 +08:00
Haojun Liao 47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
shenglian zhou 00509d0edf udaf integrate into function framework 2022-04-28 14:43:54 +08:00
Haojun Liao 707be3a826
Merge pull request #11965 from taosdata/feature/3.0_liaohj
fix(query): the null value is missing when merging two SColumnInfoData.
2022-04-27 20:50:10 +08:00
Haojun Liao 8c911a34ec Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-27 20:24:49 +08:00
Haojun Liao 878bb18d08 fix(query): the null value is missing when merging two SColumnInfoData. 2022-04-27 19:59:50 +08:00
Haojun Liao b159b0ff12
Merge pull request #11957 from taosdata/feature/3.0_liaohj
fix(query): enable the limitation on the number of query results
2022-04-27 19:24:27 +08:00
Haojun Liao d41a9e8bf0 fix(query): enable the limitation on each group by using limit/offset. 2022-04-27 18:43:46 +08:00
Haojun Liao 1c08688da2 fix(query): return object instead of free it when error happens. 2022-04-27 18:12:26 +08:00
Haojun Liao 7c6bc10760 fix(query): enable the limitation on the number of query results within each group. 2022-04-27 17:52:39 +08:00
afwerar bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
Haojun Liao 3db512e08f refactor(query): do some internal refactor. 2022-04-27 16:37:19 +08:00
Haojun Liao 0444f0835e fix(query): add super table related information in show tables; 2022-04-27 15:31:04 +08:00
Haojun Liao d62ddcf2db enh(query): add more information for the result of show tables. 2022-04-27 15:17:15 +08:00
Haojun Liao 02cee2ba62 refactor: do some internal refactor. 2022-04-27 10:11:32 +08:00
Haojun Liao c0b7b1302b refactor: do some internal refactor. 2022-04-27 09:27:12 +08:00
Haojun Liao 09fc0b791d refactor: do some internal refactor. 2022-04-26 20:26:32 +08:00
Haojun Liao 723a6bd909 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-26 17:52:14 +08:00
Haojun Liao 0f4da0ef57 fix(query): copy the hasNull attribute to destination SColumnInfoData. 2022-04-26 17:34:00 +08:00
Hongze Cheng 15127f3a97 Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 09:19:30 +00:00
Haojun Liao cdbfe53c13
Merge pull request #11884 from taosdata/feature/3.0_liaohj
fix(query): add an null ptr check
2022-04-26 15:59:35 +08:00
Haojun Liao 3461d97b25 fix(query): reset the block id before apply the filter. 2022-04-26 15:24:46 +08:00
Hongze Cheng 9204992516 Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 06:54:14 +00:00
afwerar dce677a72d fix(os): fix window compilation errors. 2022-04-26 14:11:16 +08:00
Haojun Liao 842b75cd9d Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-26 14:10:45 +08:00
Haojun Liao ab390ecee1 fix(query): add a null ptr check 2022-04-26 14:10:25 +08:00
Hongze Cheng 1c968f0bb0 make mrege compilable 2022-04-26 05:53:18 +00:00
Haojun Liao 13feb7dad9 refactor(query): do some internal refactor. 2022-04-26 13:53:11 +08:00
Hongze Cheng 6fe299cdcd Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 05:49:42 +00:00
Haojun Liao 9b40ec72d6 fix(query): handle the optimized order by in tablescan operator. 2022-04-26 13:09:29 +08:00
Haojun Liao 43cdc8d878
Merge pull request #11840 from taosdata/feature/3.0_liaohj
fix(query): get the correct data block column number.
2022-04-25 17:53:31 +08:00
Haojun Liao 56f3c9bf61 fix(query): get the correct data block column number. 2022-04-25 17:12:28 +08:00
Haojun Liao 0468b12d56
Merge pull request #11839 from taosdata/feature/3.0_liaohj
refactor(query): do some internal refactor.
2022-04-25 17:09:14 +08:00
Haojun Liao 57b492624b refactor(query): do some internal refactor. 2022-04-25 16:44:48 +08:00
Cary Xu d44611e220 feat: block wise sma aggr query 2022-04-25 15:58:44 +08:00
Ganlin Zhao 9122fb077b
Merge pull request #11828 from taosdata/fix/TD-15116
fix(query): count function result on stable inconsistant with normal table
2022-04-25 15:22:56 +08:00
Ganlin Zhao 970f2d788e fix(query): count function result on stable inconsistant with normal
table

TD-15116
2022-04-25 14:47:54 +08:00
Haojun Liao 7968144c5c refactor(query): do some internal refactor. 2022-04-25 10:22:48 +08:00
Haojun Liao 199a3610f7 fix: fix some syntax errors. 2022-04-25 09:44:39 +08:00
Haojun Liao 5eed1159b1 other: merge 3.0 2022-04-25 09:16:37 +08:00
Xiaoyu Wang 6d8566cad8
Merge pull request #11807 from taosdata/feature/3.0_wxy
enh: order by primary key optimize
2022-04-24 20:59:15 +08:00
Haojun Liao 1d681a9e4b enh(query): Add the group id in the serialized block format to support the multi-table(super table) interval query. 2022-04-24 20:48:42 +08:00
Ganlin Zhao 4ea06b37be
Merge pull request #11805 from taosdata/fix/TD-15107
fix(query): fix sum,count,max,min function no output when input is constant value
2022-04-24 20:39:51 +08:00
Xiaoyu Wang 755e0a6456 merge 3.0 2022-04-24 20:14:00 +08:00
Ganlin Zhao 8181ef84db fix(query): fix sum,count,max,min function no output when input is constant value
TD-15107
2022-04-24 19:21:09 +08:00
Xiaoyu Wang 809a78b06e enh: order by primary key optimize 2022-04-24 18:05:28 +08:00
Hongze Cheng 588fd84853 refact meta 2022-04-24 06:19:12 +00:00
yihaoDeng b384167087 enh(rpc): fix hb problem 2022-04-23 18:29:45 +08:00
Haojun Liao 4b36763429 refactor(query): do some internal refactor. 2022-04-22 22:43:07 +08:00
Haojun Liao 978b369e8b fix(query): set timestamp window for the returned datablock. 2022-04-22 22:40:19 +08:00
Haojun Liao d83ce4044a
Merge pull request #11754 from taosdata/feature/3.0_liaohj
fix(driver): the user specified port that is in taos_connect API isn't active.
2022-04-22 19:33:23 +08:00
Haojun Liao e28b75b8d4 refactor(query): do some internal refactor. 2022-04-22 15:07:20 +08:00
Liu Jicong af1b5138e6
Merge pull request #11736 from taosdata/feature/tq
feat(tmq): add db subscribe
2022-04-22 11:29:46 +08:00
Liu Jicong 9a3365e1f1 fix pointer type 2022-04-22 10:59:09 +08:00
Liu Jicong d51336384f feat(tmq): add db subscribe 2022-04-22 10:55:17 +08:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
Haojun Liao 20111df8e3 fix(query): comment unused codes. 2022-04-21 18:04:30 +08:00
Haojun Liao fc799fa115 other: merge 3.0 2022-04-21 17:51:00 +08:00
Haojun Liao 9a038322b6 refactor(query): do some internal refactor. 2022-04-21 17:44:08 +08:00
Haojun Liao a6e8ad6e4a fix(query): if one vgroup has no tables, query against this vgroup will receive unexpected error. 2022-04-21 17:43:46 +08:00
Liu Jicong 3dd3ad1e05 refactor(tmq): rewrite tq read function 2022-04-21 14:30:37 +08:00
Haojun Liao 43b5bf8333 refactor(query): refactor stream scanner to be adaptive to be involved schema. 2022-04-21 14:09:00 +08:00
Haojun Liao e14142d114 refactor(query): do some internal refactor. 2022-04-21 13:57:32 +08:00
Haojun Liao 46a3a58fac refactor:do some internal refactor. 2022-04-20 20:41:53 +08:00
Haojun Liao 490f7f3b14
Merge pull request #11664 from taosdata/feature/3.0_liaohj
fix(query): fix invalid write in distinct query.
2022-04-20 16:15:22 +08:00
Haojun Liao 343988beeb refactor: do some internal refactor. 2022-04-20 14:59:06 +08:00
Haojun Liao 1f92000c48 fix(query): fix invalid write in distinct query. 2022-04-20 14:58:32 +08:00
Shengliang Guan 76883aa42f refactor: check db options 2022-04-20 10:25:03 +08:00
Haojun Liao f25a72e5c3 fix(query): fix the crash caused by the complex having clause in which an scalar function is nested with an aggregate function in group by query. 2022-04-19 18:45:28 +08:00
Haojun Liao 1c94bbb5e4 enh(query): set the status of stream scan operator. 2022-04-19 16:11:16 +08:00
Haojun Liao a036d2f3ff fix(query): fix the bug caused by refactor in first/last function implementation. 2022-04-19 13:07:23 +08:00
Haojun Liao 2305b05869 refactor(query): do some internal refactor for executor. 2022-04-19 10:12:30 +08:00
Haojun Liao 9d1a9d9510 fix(query): avoid the output result overlap within the project operator buffer. 2022-04-18 19:27:41 +08:00
Haojun Liao 9864e367bb refactor(query): do some internal refactor in executor. 2022-04-18 18:47:59 +08:00
Haojun Liao dc76f2e91a refactor: refactor hash module to invoke the freeFp when destroying the hash node. 2022-04-18 17:32:50 +08:00
Haojun Liao ea8832baa5 Merge branch 'fix/valgrind' into feature/3.0_liaohj 2022-04-18 14:30:10 +08:00
Haojun Liao 781fbce942 fix(query): fix bug caused by new completed query function. 2022-04-18 12:07:04 +08:00
Haojun Liao e91233f5eb fix(query): set the correct flag to denote the initialization status. 2022-04-18 11:01:07 +08:00
Haojun Liao 7429f37c0c fix(query): fix bug in calculating the aggregate function with constant numeric value as input parameter. 2022-04-18 10:46:07 +08:00
Zhiqiang Wang d8feae98b2
Merge pull request #11571 from taosdata/fix/ZhiqiangWang/TD-13877-fix-use-static-taos-lib
fix(build): use static taos lib.
2022-04-17 20:20:01 +08:00
Yihao Deng 487d45c0de
Merge pull request #11561 from taosdata/feature/tag_filter_oper
enh: add tag index filter impl
2022-04-17 14:16:34 +08:00
Haojun Liao f0463a6a58 test: temporarily disable some invalid cases. 2022-04-16 22:50:08 +08:00
afwerar dea51ba364 fix(build): use static taos lib. 2022-04-16 20:46:51 +08:00
yihaoDeng 25837faf28 enh: add multi filter merge 2022-04-16 20:35:18 +08:00
Haojun Liao 902fcb0c0b refactor(query): refactor code. 2022-04-16 19:10:21 +08:00
Haojun Liao 30602b8cfb Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-16 19:02:08 +08:00
yihaoDeng fe367b5ef4 enh: add tag index filter impl 2022-04-16 17:56:06 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
yihaoDeng 9fae339710 enh: add tag index filter impl 2022-04-16 16:35:24 +08:00
Haojun Liao d40f830b77 enh(query): optimize the data block load algorithm in table scan operator. 2022-04-16 16:06:48 +08:00
Haojun Liao be4d72bf80 refactor(query): refactor executor module to optimization the block load filter routine. 2022-04-16 15:15:28 +08:00
Haojun Liao 34c125e1bb fix(query): fix bug in employing sma data during aggregate process. 2022-04-16 11:47:50 +08:00
Haojun Liao fd9e520865 other: merge 3.0 branch to resolve conflict. 2022-04-16 10:07:28 +08:00
Haojun Liao 53ff8c113e fix(query): add a little bit more check when build SqlFunctionCtx. 2022-04-16 10:04:33 +08:00
Haojun Liao 597cba3aff fix(query): enable to employ the scalar function as the parameter of the aggregate function. 2022-04-16 10:00:25 +08:00
Haojun Liao e6a4af8ed8 refactor(query): refactor the executor module of query. 2022-04-15 23:02:26 +08:00
yihaoDeng acc12943b8 validate tag filter status 2022-04-15 22:17:22 +08:00
Yihao Deng 4b729ada42
Merge branch '3.0' into feature/tag_filter_oper 2022-04-15 21:42:46 +08:00
yihaoDeng a172f11e24 add tag index filter 2022-04-15 21:38:56 +08:00
Haojun Liao 774e4ad62c enh(query): add more load conditions check before load data block from file. 2022-04-15 20:06:27 +08:00
Haojun Liao 078c48a50a other:fix syntax error. 2022-04-15 18:25:24 +08:00
Haojun Liao 5029cd67b2 ehn(query): add the file data block load optimization check. 2022-04-15 18:06:49 +08:00
Haojun Liao 684db8eba8 refactor(query): refactor some variable name and macro definitions. 2022-04-15 14:01:43 +08:00
Haojun Liao d2761b4114 ehn(query): refactor c driver codes. 2022-04-15 12:09:27 +08:00
Haojun Liao 2b2c2ad5c1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-15 09:07:36 +08:00
yihaoDeng 46ec8300d9 enh: add tag filter operator 2022-04-14 22:32:49 +08:00
Haojun Liao c490820b09 feat(query): add the merge join operator for child table inner join. 2022-04-14 22:12:10 +08:00
Shengliang Guan 83a824a14d Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-14 20:56:57 +08:00
Shengliang Guan 2635df084d refact<cluster>: adjust show types 2022-04-14 20:54:43 +08:00
Haojun Liao 79596698ab other: resolve conflict with 3.0 branch. 2022-04-14 16:51:46 +08:00
Haojun Liao 928a977354 ehn(query): enhance the api of ssdatablock to support copy data while clone a new ssdatablock. 2022-04-14 15:33:37 +08:00
Ganlin Zhao 4eb20bda19
Merge pull request #11478 from taosdata/feature/TD-14243
feat(query): add today()/today() + duration in insert clause
2022-04-14 15:01:26 +08:00
Haojun Liao 0252fa49db ehn(query): remove some redundant codes in executor. 2022-04-14 14:39:28 +08:00
Haojun Liao 33e51fda3e ehn(query): refactor the executor module. 2022-04-14 14:34:02 +08:00
Haojun Liao 3457a5e5af other: merge 3.0 2022-04-14 13:23:09 +08:00
Ganlin Zhao b355e2b3c8 feat(query): add today()/today() + duration in insert clause
TD-14243
2022-04-14 12:53:59 +08:00
afwerar 332b5504a2 fix(grant): change the way taosd calls grant. 2022-04-14 11:53:02 +08:00
Haojun Liao e0654bac73 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-14 11:43:36 +08:00
Haojun Liao 9c9e980ec0 test(query): update tsim test scripts. 2022-04-14 11:36:06 +08:00
Xiaoyu Wang ac1673fc71
Merge pull request #11463 from taosdata/feature/3.0_wxy
feat(query): distributed splitting of child/normal table JOIN
2022-04-13 19:43:01 +08:00
Haojun Liao 5a0a036770 other: merge 3.0 2022-04-13 19:32:49 +08:00
Haojun Liao bcbc8618d2 ehn(query): refactor show module in mnode. 2022-04-13 19:27:47 +08:00
Xiaoyu Wang 13735d7257 feat(query): distributed splitting of child/normal table JOIN 2022-04-13 19:04:25 +08:00
Liu Jicong 1a13affb13 Merge branch '3.0' into feature/tq 2022-04-13 16:05:02 +08:00
Liu Jicong 03d7201d47 feat: support tmq msg parse 2022-04-13 16:00:30 +08:00
Haojun Liao 739c4e3815 enh(query): Get the precise size of SSDatablock when allocating memory buffer. 2022-04-12 18:28:43 +08:00
Haojun Liao 684a1f23ad
Merge pull request #11424 from taosdata/feature/3.0_liaohj
fix(query): handle crash of taosd caused by a complex expression in GROUP BY clauses.
2022-04-12 18:20:28 +08:00
Haojun Liao e10794169e Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-12 18:19:40 +08:00
Haojun Liao b9bf2515f5 fix(query): handle crash of taosd caused by a complex expression in GROUP BY clauses. 2022-04-12 17:55:17 +08:00
Haojun Liao fac649403a Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-12 14:28:55 +08:00
Haojun Liao ec0637df8d
Merge pull request #11412 from taosdata/feature/3.0_liaohj
fix(query): load the null data in nchar/binary columns.
2022-04-12 14:26:01 +08:00
Haojun Liao 9899a5e6b0 fix(query): load the null data in nchar/binary columns. 2022-04-12 13:16:36 +08:00
Liu Jicong db796f9e7f merge from 3.0 2022-04-12 10:59:13 +08:00
Liu Jicong bc6a466b36 refactor TAOS_RES process 2022-04-12 10:45:34 +08:00
WANG MINGMING bc9157a6a2
Merge pull request #11387 from taosdata/feature/TD-14222-new
refactor: add encode/decode logic for operator result info
2022-04-11 18:17:32 +08:00
Xiaoyu Wang 147675c71f
Merge pull request #11385 from taosdata/feature/3.0_wxy
enh: set datablock desc timestamp precision, and fix the bug of constant calculation
2022-04-11 18:05:43 +08:00
wangmm0220 bc4e73a3dd feat: optimize encode/decode resultRow 2022-04-11 17:55:53 +08:00
wangmm0220 45b766cd35 feat: optimize encode/decode resultRow 2022-04-11 17:35:17 +08:00
wangmm0220 78fd2d3a3e feat: optimize encode/decode resultRow 2022-04-11 17:30:27 +08:00
wangmm0220 4961b6ab8e feat: optimize encode/decode resultRow 2022-04-11 17:08:13 +08:00
Xiaoyu Wang e30d114c7b set datablock desc timestamp precision 2022-04-11 16:27:42 +08:00
Haojun Liao c18810402c
Merge pull request #11376 from taosdata/feature/3.0_liaohj
fix[query]:fix memory invalid write in group by nchar data.
2022-04-11 15:24:25 +08:00
Haojun Liao b223010bdd fix[query]:fix memory invalid write in group by nchar data. 2022-04-11 14:54:16 +08:00
wangmm0220 8e42ce1d27 fix:fix conflict merge from 3.0 2022-04-11 14:12:53 +08:00
wangmm0220 9a543fb331 feat:fix error in result row 2022-04-11 14:09:47 +08:00
Haojun Liao c828ed3793
Merge pull request #11369 from taosdata/feature/3.0_liaohj
test[query]:update the script.
2022-04-11 11:10:02 +08:00
Haojun Liao ca5d5ca7bb test[query]:update the script. 2022-04-11 10:44:37 +08:00
afwerar 2662a3b69d [TD-13254]<fix>: make 3.0 grant. 2022-04-10 19:08:16 +08:00
Haojun Liao 1df069814a feat[query]:add time slice operator. 2022-04-10 15:35:09 +08:00
Haojun Liao 08f0b05721 <fix>[query]:fix bug in filter, and update a query related test script. 2022-04-09 23:28:16 +08:00
Haojun Liao 20b36401ac fix[query]:fix limit/offset bug. 2022-04-09 19:03:31 +08:00
Haojun Liao d6338ca773
Merge branch '3.0' into feature/3.0_liaohj 2022-04-09 18:30:05 +08:00
Shengliang Guan 2a88060067 feat[cluster]: create and drop snode bnode 2022-04-09 17:52:29 +08:00
dapan1121 ac60b0408a
Merge pull request #11342 from taosdata/feature/qnode
feature/qnode
2022-04-09 17:13:07 +08:00
Liu Jicong 59945477ab merge from 3.0 2022-04-09 16:47:10 +08:00
Liu Jicong 5189643909 extract compressed col data format 2022-04-09 16:44:31 +08:00
Haojun Liao 6a245710c9 other: merge 3.0 branch. 2022-04-09 16:24:44 +08:00
Haojun Liao 208f639806 feature[query]:refactor show query processing in mnode. 2022-04-09 16:19:08 +08:00
dapan1121 3295507835 feature/qnode 2022-04-09 16:14:01 +08:00
wangmm0220 80d5c856ea <feature>:merge from 3.0 2022-04-09 16:08:10 +08:00
Haojun Liao bece2cbd35 <feat>[query]: add the state window operator implementation. 2022-04-09 15:01:28 +08:00
dapan1121 f207646a64
Merge pull request #11338 from taosdata/feature/qnode
feature/qnode
2022-04-09 14:38:58 +08:00
dapan1121 257b729757 feature/qnode 2022-04-09 13:36:36 +08:00
Haojun Liao 1d51e42b0e <fix>[query]:fix some syntax errors. 2022-04-09 13:10:55 +08:00
Haojun Liao 6af7e1810f Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-09 11:56:45 +08:00
Haojun Liao 2523445452 <fix>[query]: refactor. 2022-04-09 11:55:59 +08:00
wangmm0220 388ab2f50d <fix>:fix compile error 2022-04-09 10:31:15 +08:00
WANG MINGMING 41392e9e4a
Merge branch '3.0' into feature/TD-14422 2022-04-09 10:18:52 +08:00
Haojun Liao 94e19cc32a <fix>[query]: fix scalar function calculate bug in scalar module. td-14576 2022-04-09 10:10:56 +08:00
Haojun Liao 8a62f5fa73 <fix>[query]: fix filter caused taosd crash.td-14566. 2022-04-08 19:41:55 +08:00
Haojun Liao 126658bf80
Merge pull request #11313 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
2022-04-08 19:33:58 +08:00
Haojun Liao cf9e0be1c9 [td-14493] support slimit/soffset 2022-04-08 17:37:57 +08:00
WANG MINGMING bcbba6d0ae
Merge branch '3.0' into feature/TD-14422 2022-04-08 17:28:03 +08:00
dapan1121 519b6ca0f3
Merge pull request #11305 from taosdata/feature/qnode
Feature/qnode
2022-04-08 17:21:33 +08:00
wangmm0220 bd3a7838c0 Merge branch '3.0' into feature/TD-14422 2022-04-08 16:53:56 +08:00
wangmm0220 460d43f22c <fix>: fix index map error from table scan to sort output 2022-04-08 16:53:09 +08:00
Haojun Liao e77ecba753 [td-14493] fix bug in partition by. 2022-04-08 15:31:03 +08:00
wangmm0220 65a2131493 <fix>: fix index map error from table scan to sort output 2022-04-08 14:40:02 +08:00
wangmm0220 1f8d2ea446 <fix>: fix index map error from table scan to sort output 2022-04-08 14:17:32 +08:00
Hongze Cheng 6faaafb7a2 remove tsdb.h and meta.h 2022-04-08 06:09:15 +00:00
Haojun Liao 28456a034c Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-08 13:13:38 +08:00
Haojun Liao f700e4746c [td-14393] fix bug. 2022-04-08 13:09:44 +08:00
wangmm0220 8df8c60f60 merge from 3.0 2022-04-08 10:58:39 +08:00
dapan1121 b0184c201f feature/qnode 2022-04-08 10:27:27 +08:00
Haojun Liao b984e12e4c [td-14493] support partition by 2022-04-08 10:24:35 +08:00
Ganlin Zhao aa2396acca
Merge pull request #11295 from taosdata/fix/TD-14572
[TD-14572]<fix>: fix char_length result when nchar column has chinese characters
2022-04-07 19:45:08 +08:00
Ganlin Zhao f22574262a [TD-14572]<fix>: fix char_length result when nchar column has chinese characters 2022-04-07 18:53:34 +08:00
Ganlin Zhao bb847e87bd [TD-14572]<fix>: fix char_length result when nchar column has chinese characters 2022-04-07 18:49:33 +08:00