Commit Graph

2369 Commits

Author SHA1 Message Date
Xiaoyu Wang b97c440fe6
Merge pull request #15295 from taosdata/feature/3.0_debug_wxy
fix: plan problem when functions that requires a timeline is used directly in a super table
2022-07-22 18:50:27 +08:00
Liu Jicong e1046c7a98 fix: memory leak 2022-07-22 18:11:29 +08:00
Ganlin Zhao 51ac32e8ea Merge branch '3.0' into feat/TD-17552 2022-07-22 17:41:48 +08:00
Ganlin Zhao 68854bdea5 enh(query): add wal version to agg result datablock
TD-17552
2022-07-22 17:39:59 +08:00
Xiaoyu Wang 1be414354d fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:06:08 +08:00
54liuyao 47cb043f4c feat(stream):optimize update scan range 2022-07-22 16:55:14 +08:00
Liu Jicong 0a47ebc580 merge 3.0 2022-07-22 16:06:57 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Haojun Liao 6f4851a6a2 refactor: do some internal refactor. 2022-07-22 14:38:28 +08:00
Xiaoyu Wang dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang 675c91cc6b fix: the problem of data loss when interval is used for outer query 2022-07-22 13:12:43 +08:00
Hongze Cheng c47439970c fix: another coredump 2022-07-22 05:04:59 +00:00
Hongze Cheng 68acbb64b6 Merge branch 'fix/hzcheng_3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 05:04:22 +00:00
Hongze Cheng cd762afe76 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 04:50:24 +00:00
Haojun Liao ab2ad2cc54
Merge pull request #15269 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-22 12:50:03 +08:00
Liu Jicong f9563b5b74
Update scanoperator.c 2022-07-22 11:55:02 +08:00
Liu Jicong ac2b13740b
Update executorMain.c 2022-07-22 11:50:10 +08:00
Haojun Liao 72bbc27e8c fix(query): remove the invalid update ops. 2022-07-22 10:50:54 +08:00
Hongze Cheng 65fc81c45b fix: more concurrency read/write 2022-07-22 02:45:11 +00:00
Hongze Cheng 613ca9c67d fix resource leak 2022-07-22 02:28:39 +00:00
Liu Jicong c82bda25e2 refactor(tmq): add debug log 2022-07-21 21:48:05 +08:00
Haojun Liao 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
Cary Xu ada2eb232e fix: resource cleanup and rsma result build 2022-07-21 19:46:55 +08:00
shenglian-zhou be16ab2243
Merge pull request #15223 from taosdata/szhou/fix/td-17645
fix: clean up block data to use it again as result data block in doApplyIndefinitFunction
2022-07-21 17:46:31 +08:00
Haojun Liao 0c326410fd fix(query): set value for varchar type in fill and check for null ptr before cleanup. 2022-07-21 16:54:07 +08:00
Haojun Liao 8e42bf85e8 fix(query): fix border check. 2022-07-21 15:47:22 +08:00
dapan1121 3621aa5540 fix: fix mac compile issue 2022-07-21 14:06:38 +08:00
Haojun Liao 72760b7f30 other: merge 3.0 2022-07-21 13:55:21 +08:00
slzhou@taodata.com 97e8e67d4e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17645 2022-07-21 13:52:56 +08:00
Haojun Liao 9d565752c4 fix(query): extract schema before creating stream scanner. 2022-07-21 13:51:39 +08:00
dapan1121 dd640885e6 Merge branch '3.0' into fix/TD-15197 2022-07-21 13:36:46 +08:00
shenglian-zhou 62ac50c854
Merge pull request #15231 from taosdata/szhou/fix/td-17624
fix: continue execution for next group after filter in project produces zero rows
2022-07-21 12:53:53 +08:00
slzhou@taodata.com 318360c287 fix: continue execution after filter in project produces zero rows for next group 2022-07-21 11:35:02 +08:00
Haojun Liao c2d588a118 other:merge 3.0 2022-07-21 11:29:34 +08:00
Haojun Liao ee34c3bb3e fix(query): add query involved column info 2022-07-21 11:20:30 +08:00
Minglei Jin 1cdde411c0
Merge pull request #15227 from taosdata/fix/TD-17582-v2
fix: error case handle when table was dropped
2022-07-21 11:17:42 +08:00
Haojun Liao dae00fd10c
Merge pull request #15221 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor and add some logs.
2022-07-21 11:14:56 +08:00
Minglei Jin 359622761a fix: error case handle when table was dropped 2022-07-21 10:39:32 +08:00
liuyao d9f7c34a79
Merge pull request #15222 from taosdata/feature/TD-17357
feat(stream): adjust project operator
2022-07-21 10:12:01 +08:00
shenglian zhou 3828954f15 fix: clean up block data to use it again as result data block in doApplyIndefinitFunction 2022-07-21 09:43:06 +08:00
54liuyao b620609608 feat(stream): adjust project operator 2022-07-21 09:23:16 +08:00
dapan1121 976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
Haojun Liao abfa6d9162 refactor(query): do some internal refactor and add some logs. 2022-07-20 22:38:19 +08:00
shenglian zhou 4211db2ec4 fix: fix error in indef operator filter processing 2022-07-20 21:58:03 +08:00
Liu Jicong 86611cc08a
Merge pull request #15208 from taosdata/feature/stream
fix(stream): memory error
2022-07-20 21:08:55 +08:00
Liu Jicong fb52cfa816 fix(stream): memory error 2022-07-20 19:31:56 +08:00
Haojun Liao e6febe45dd
Merge pull request #15180 from taosdata/feature/3_liaohj
fix(query): fix time window generating bug.
2022-07-20 19:15:28 +08:00
54liuyao 736960e1d2 feat(stream): add log 2022-07-20 16:04:52 +08:00
Haojun Liao df58a9bb30 fix(query): handle fraction of ts in add ts offset. 2022-07-20 15:30:52 +08:00
Haojun Liao facf3c8648 fix(query): add limit/offset for order by operator. 2022-07-20 14:07:48 +08:00
dapan1121 7a62409dc1 fix: fix taosd mem leak 2022-07-20 13:54:06 +08:00
Haojun Liao cfe0047145
Merge pull request #15169 from taosdata/feature/3_liaohj
fix(query): update the column data info.
2022-07-20 11:51:46 +08:00
Haojun Liao 2b4e861f8d fix(query): update the column data info. 2022-07-20 11:03:58 +08:00
54liuyao 4371165235 feat(stream): add result group id 2022-07-20 11:02:35 +08:00
dapan1121 d6afa5e2c7 fix: fix show stables issue 2022-07-20 09:46:53 +08:00
dapan1121 5ed719c727 fix: fix catalog memory leak 2022-07-20 09:39:58 +08:00
Haojun Liao 8e9d5129fe
Merge pull request #15155 from taosdata/feature/3_liaohj
fix(query): fix the timewindow calculate error.
2022-07-20 09:31:42 +08:00
Haojun Liao dc92b27913 fix(query): fix the timewindow calculate error. 2022-07-19 20:32:55 +08:00
Liu Jicong edaec52bca refactor: add debug flag 2022-07-19 19:59:07 +08:00
Liu Jicong 414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Haojun Liao 88f13276f8
Merge pull request #15121 from taosdata/feature/3_liaohj
fix(query): set the output column number for subscribe.
2022-07-19 19:40:26 +08:00
shenglian-zhou b9490b2cac
Merge pull request #15129 from taosdata/szhou/fix/td-17429
fix: filter shall not be executed when the input block is empty
2022-07-19 18:44:09 +08:00
Liu Jicong 24bc71568e refactor(stream): batch optimization for submit msg 2022-07-19 18:29:12 +08:00
Haojun Liao ef17baedbe fix(query): fix memory leak. 2022-07-19 17:58:24 +08:00
Haojun Liao 282630a394 Merge branch '3.0' into feature/3_liaohj 2022-07-19 17:42:45 +08:00
Haojun Liao 179709f814 fix(query): assign the subplan to belong to task struct 2022-07-19 17:37:40 +08:00
jiacy-jcy 5200a48107 fix: update 2022-07-19 16:54:19 +08:00
dapan1121 215dfb3019 Merge branch 'enh/transMemLeak' into fix/TD-15197 2022-07-19 16:52:21 +08:00
Haojun Liao 79b0240a87 fix(query): fix some memory leak. 2022-07-19 16:34:26 +08:00
shenglian zhou 40d472212a feat: add user tags comments 2022-07-19 16:22:05 +08:00
Haojun Liao cd2eaf0152 fix(query): set the output column number for subscribe. 2022-07-19 16:01:28 +08:00
Haojun Liao 8751bcc0ea
Merge pull request #15109 from taosdata/feature/3_liaohj
fix(query): add check for deleting record
2022-07-19 15:56:41 +08:00
Liu Jicong bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
dapan1121 9a08b77e59 Merge branch '3.0' into fix/TD-15197 2022-07-19 15:19:08 +08:00
dapan1121 b027f0d431
Merge pull request #15050 from taosdata/fix/TD-15890.2
fix: fix taosc memory leak
2022-07-19 15:15:44 +08:00
54liuyao 8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Haojun Liao 2f199bd80b fix(query):revoke remove operation 2022-07-19 10:28:29 +08:00
dapan1121 666c6475ee fix: fix sql crash issue 2022-07-19 10:27:09 +08:00
dapan1121 3e2ded3973 fix: add debug info 2022-07-19 10:12:02 +08:00
dapan1121 c5f900f620 Merge branch '3.0' into fix/TD-15197 2022-07-19 09:16:33 +08:00
dapan1121 8d5bd9a83a fix: fix crash issue 2022-07-19 09:05:17 +08:00
Haojun Liao 484d043b44 fix(query):filter invisible columns 2022-07-18 20:58:52 +08:00
Haojun Liao f3d7d6671b fix(query):filter invisible columns 2022-07-18 20:06:29 +08:00
shenglian-zhou 0e93b2b776
Merge pull request #15070 from taosdata/szhou/fix/td-17470
fix: remove the assert check of time window from when generating buffer for window computation
2022-07-18 17:18:56 +08:00
shenglian zhou 691856073b fix: remove the assert check of time window from when generating buffer for window computation 2022-07-18 16:41:24 +08:00
Haojun Liao 04b12ee74d
Merge pull request #15063 from taosdata/feature/3_liaohj
fix(query): filter new added child table for stream scan operator.
2022-07-18 16:05:23 +08:00
Haojun Liao eebbbce4f3 fix(query): filter new added child table for stream scan operator. 2022-07-18 15:31:39 +08:00
Liu Jicong f2e9d522a4
Merge pull request #15052 from taosdata/feature/stream
fix(tmq): table not found
2022-07-18 14:43:44 +08:00
dapan1121 4a54ce26d5 fix: fix sys table show stables issue 2022-07-18 14:25:00 +08:00
Haojun Liao fc67efb5aa fix(query): fix memory leak. 2022-07-18 13:52:33 +08:00
Liu Jicong 158c6ae3e4 fix(tmq): table not found 2022-07-18 13:51:31 +08:00
dapan1121 03e9b15237 fix: fix taosc memory leak 2022-07-18 13:32:17 +08:00
Haojun Liao 95db2fb8a8
Merge branch '3.0' into feature/3_liaohj 2022-07-18 10:01:32 +08:00
dapan1121 077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
shenglian zhou af1350a6dd feat: processing nchar and json columns of user tags 2022-07-17 21:37:59 +08:00
Haojun Liao fc5544d42a fix(query):fix the invalid returned code in the compare function 2022-07-17 12:28:55 +08:00
Haojun Liao ad058e8c97 Merge branch '3.0' into feature/3_liaohj 2022-07-17 11:06:49 +08:00
shenglian zhou 110aef1f12 feat: change bufSize for double digits 2022-07-17 05:30:20 +08:00
shenglian zhou 76f38ee03a feat: change bufSize to leave space for var string header 2022-07-17 05:19:01 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
shenglian zhou 7570a4495d feat: add user tags 2022-07-17 04:57:16 +08:00
Haojun Liao f0d1f393fd fix(query): add limit/offset implementation in exchange operator. 2022-07-16 23:24:59 +08:00
Haojun Liao 405c4c6305
Merge pull request #14991 from taosdata/feature/3_liaohj
fix(query):support multigroup in groupby operator.
2022-07-16 21:07:55 +08:00
Haojun Liao 6756c6515a fix(query): add null pointer check. 2022-07-16 19:54:14 +08:00
Haojun Liao 5a5e30c456 fix(query): remove invalid free. 2022-07-16 19:44:08 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
liuyao e59942bdc7
Merge pull request #15003 from taosdata/feature/TD-17357
feat(stream): add log
2022-07-16 18:50:32 +08:00
dapan1121 4097b5ae56
Merge pull request #14986 from taosdata/fix/fixmsgorder
fix: fix msg disorder and other issues
2022-07-16 18:42:41 +08:00
54liuyao 069778c676 feat(stream): add log 2022-07-16 17:32:40 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Haojun Liao 76f451744a fix(query): fix memory leak. 2022-07-16 17:20:37 +08:00
Haojun Liao 83b44e2ffa fix(query):support multigroup in groupby operator. 2022-07-16 16:30:09 +08:00
shenglian zhou 96495363d7 feat: add user tags system table 2022-07-16 16:03:45 +08:00
dapan1121 320ca85a8f Merge branch '3.0' into fix/fixmsgorder 2022-07-16 15:40:50 +08:00
dapan1121 e0b56ea593 fix: fix query retry issue 2022-07-16 15:38:46 +08:00
Haojun Liao 46c6302a33 other: merge 3.0 2022-07-16 14:47:22 +08:00
shenglian zhou 9fccdce05a feat: add user tags to information schema 2022-07-16 14:38:03 +08:00
Haojun Liao eeb8709241 fix(query): add returned code check. 2022-07-16 14:05:26 +08:00
liuyao f41b7a6810
Merge pull request #14974 from taosdata/feature/TD-17357
feat(stream): optimize interval plan
2022-07-16 09:57:52 +08:00
Haojun Liao 5fb53520d2
Merge pull request #14971 from taosdata/feature/3_liaohj
fix(query): set correct sort buffer format
2022-07-16 09:50:32 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +08:00
shenglian zhou fcc87f09fe feat: add user tags 2022-07-15 21:33:30 +08:00
Haojun Liao e840cdaaac fix(query): set correct sort buffer format 2022-07-15 20:56:29 +08:00
Haojun Liao 09cf3cc8ce
Merge pull request #14957 from taosdata/feature/3_liaohj
fix(query): fix partition by bug for last_row query.
2022-07-15 20:13:26 +08:00
Liu Jicong af0f398121
Merge pull request #14960 from taosdata/feature/stream
feat(stream): recover from failure
2022-07-15 18:32:48 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Haojun Liao 3f11c849cd refactor: do some internal refactor. 2022-07-15 17:34:54 +08:00
Haojun Liao f60f821c13 fix(query): fix partition by bug for last_row query. 2022-07-15 15:04:22 +08:00
Haojun Liao 505e14892e
Merge pull request #14932 from taosdata/feature/3_liaohj
fix(query): handle multi group last_row query.
2022-07-15 15:03:10 +08:00
Haojun Liao 595c7dd4f3 Merge branch '3.0' into feature/3_liaohj 2022-07-15 13:36:14 +08:00
Haojun Liao 283b3eb3d9 fix(query): remove invalid check. 2022-07-15 13:25:15 +08:00
Haojun Liao 013f5031bc fix(query):update the time type check. 2022-07-15 11:53:32 +08:00
Haojun Liao 6c13a8e2e8 fix(query):fix syntax error. 2022-07-15 11:43:06 +08:00
Haojun Liao b9a471624d fix(query): handle multi group last_row query. 2022-07-15 11:19:00 +08:00
Haojun Liao 159d6c47c8
Merge pull request #14911 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-14 20:36:30 +08:00
Haojun Liao 707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +08:00
Liu Jicong e01297d09d refactor(query): optimize table scan by reusing reader 2022-07-14 19:29:34 +08:00
Haojun Liao a911feeab7 fix(query): fix syntax error. 2022-07-14 19:18:15 +08:00
Haojun Liao 5ca810a985 fix(query): fix memory leak. 2022-07-14 19:09:40 +08:00
Haojun Liao 34c973387d
Merge pull request #14904 from taosdata/feature/3_liaohj
fix(query): handle the grouped fill.
2022-07-14 18:36:18 +08:00
Liu Jicong b33d6584c4
Merge pull request #14898 from taosdata/feature/stream
refactor(stream): destroy stream task
2022-07-14 18:36:09 +08:00
Haojun Liao 918df89b4f
Merge branch '3.0' into feature/3_liaohj 2022-07-14 17:56:15 +08:00
Liu Jicong 9847abf166 fix(sma): double free 2022-07-14 17:34:06 +08:00
Xiaoyu Wang a497ad72fa
Merge pull request #14899 from taosdata/feature/3.0_debug_wxy
fix: some problems of planner
2022-07-14 17:31:50 +08:00
Haojun Liao dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Liu Jicong c0639d3dc4 fix(query): double free 2022-07-14 16:24:12 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
Liu Jicong d75e9b8f6a merge from 3.0 2022-07-14 15:35:00 +08:00
Liu Jicong 9ea0ad57ec refactor(stream): destroy stream task 2022-07-14 15:32:21 +08:00
Haojun Liao b23e08db85
Merge pull request #14893 from taosdata/feature/3_liaohj
fix(query): set correct fill output column index and fix some memory leaks
2022-07-14 14:25:24 +08:00
Haojun Liao 75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
WANG MINGMING e0ec9687c5
Merge pull request #14890 from taosdata/fix/TD-17356
fix:filter child table with tag
2022-07-14 13:29:09 +08:00
Haojun Liao c638f9d53a
Merge pull request #14889 from taosdata/feature/3_liaohj
fix(query):fix invalid write in sample query processing.
2022-07-14 13:19:45 +08:00
wangmm0220 3c755c4834 opt:remove useless code 2022-07-14 11:41:34 +08:00
54liuyao 13519f8fd9 feat(stream): interval offset 2022-07-14 11:24:24 +08:00
Haojun Liao 6fd4684a26 fix(query): ensure buffer before load data. 2022-07-14 11:16:15 +08:00
wangmm0220 e8c041f098 fix:filter child table with tag 2022-07-14 10:49:09 +08:00
shenglian-zhou 5b1cb74c99
Merge pull request #14880 from taosdata/szhou/fix/td-17263
fix: set primary key target slot id through searching scan cols and finding colId that equals primary key id
2022-07-14 10:13:29 +08:00
Xiaoyu Wang bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
Xiaoyu Wang 570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +08:00
slzhou@taodata.com 414b27fb6a fix: set primary key target slot id through searching scan cols and find colId that equals primary key id 2022-07-14 09:19:36 +08:00
Haojun Liao b2b69f1868 fix(query):fix invalid write. 2022-07-13 23:42:59 +08:00
Haojun Liao 38b395147a Merge branch '3.0' into feature/3_liaohj 2022-07-13 23:27:51 +08:00
Haojun Liao 76d713a3ba Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-13 23:16:36 +08:00
Haojun Liao 083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +08:00
Haojun Liao 2974d826ef
Merge pull request #14850 from taosdata/feature/3_liaohj
fix(query): support last_row(tags) for super table query.
2022-07-13 23:14:57 +08:00
Haojun Liao d40191b62c fix(query): prepare the buffer before loading data. 2022-07-13 20:58:14 +08:00
Haojun Liao afb20f79c7 fix(query): copy the value instead of assign data. 2022-07-13 19:58:07 +08:00
shenglian-zhou 876f6cdee7
Merge pull request #14868 from taosdata/szhou/fix/td-17263
fix: reset hasGroupId after outputing the previous group results
2022-07-13 19:00:18 +08:00
liuyao dfaabf3d43
Merge pull request #14864 from taosdata/feature/TD-17357
feat(stream): optimize close window
2022-07-13 17:58:54 +08:00
slzhou@taodata.com 312dce4e21 fix: reset hasGroupId after outputing the previous group results 2022-07-13 17:57:59 +08:00
Liu Jicong a717042acf refactor(stream): simple batch 2022-07-13 17:24:36 +08:00
54liuyao 32cb6755a2 feat(stream): optimize close window 2022-07-13 17:08:27 +08:00
Liu Jicong 8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
Xiaoyu Wang d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Haojun Liao 56b1d11beb fix(query): prepare the output buffer before assign daata. 2022-07-13 15:06:27 +08:00
Haojun Liao 649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
Hongze Cheng a67c8560a0
Merge pull request #14787 from taosdata/feat/row_refact
refact: row format
2022-07-12 20:45:02 +08:00
Haojun Liao ea5a68046e
Merge pull request #14825 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-12 20:13:20 +08:00
Hongze Cheng a9b4c90def make compile 2022-07-12 11:58:13 +00:00
Hongze Cheng fefa18c0ec Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 11:57:02 +00:00
Liu Jicong a34d344225
Merge pull request #14808 from taosdata/feature/stream
refactor(tmq): prepare only needed
2022-07-12 18:09:31 +08:00
Liu Jicong 8e3f5135a6 fix(tsdb): close fd 2022-07-12 17:28:14 +08:00
54liuyao ab2b1bbf47 feat(stream): sliding window 2022-07-12 17:27:44 +08:00
Liu Jicong 0fccdace56 fix(tmq): reset offset 2022-07-12 16:39:05 +08:00
Haojun Liao 6ff68dd67d refactor: do some internal refactor. 2022-07-12 16:24:26 +08:00
Haojun Liao 24090f0fc3 refactor: do some internal refactor. 2022-07-12 15:30:38 +08:00
Liu Jicong 7cf99d5359 refactor(tmq): prepare only needed 2022-07-12 15:11:14 +08:00
Liu Jicong ac57956a56 Merge branch '3.0' into feature/stream 2022-07-12 14:12:18 +08:00
Liu Jicong d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +08:00
Haojun Liao 4d73720fb8 fix(query): set the ts to be the time window start key value when filling timestamp column. 2022-07-12 13:45:41 +08:00
Haojun Liao 5d8f188067 refactor: do some internal refactor. 2022-07-12 10:10:39 +08:00
Hongze Cheng 59a83adf40 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-11 12:29:41 +00:00
Haojun Liao 08259f169a
Merge pull request #14780 from taosdata/feature/3_liaohj
fix(query): fix memory leak in query super table.
2022-07-11 20:11:26 +08:00
Hongze Cheng f65e61148f more row refact 2022-07-11 11:52:37 +00:00
Haojun Liao 91c1ae4168 fix(query): fix memory leak in query super table. 2022-07-11 19:36:19 +08:00
Minglei Jin 77053a31da
Merge pull request #14775 from taosdata/fix/TD-17231
metaReader/decoder: clear to release tDecoderMalloc
2022-07-11 19:04:32 +08:00
Haojun Liao 31b5a07a74
Merge pull request #14772 from taosdata/feature/3_liaohj
refactor: update time window range .
2022-07-11 18:58:33 +08:00
Minglei Jin 2a38443640 metaReader/decoder: clear to release tDecoderMalloc 2022-07-11 18:01:55 +08:00
Haojun Liao 1346926168 fix(query): avoid double free. 2022-07-11 17:55:08 +08:00
Haojun Liao 5965b1dfc3 refactor: update time window range . 2022-07-11 17:50:57 +08:00
Haojun Liao 0b45f95211
Merge pull request #14762 from taosdata/feature/3_liaohj
fix(query): add more check for fetch rsp, and set the correct start time window for fill.
2022-07-11 17:49:04 +08:00
Haojun Liao a5955c3dae fix(query): add more check for fetch rsp, and set the correct start time window for fill. 2022-07-11 15:49:13 +08:00
Cary Xu c59478ec71 enh: tsma/rsma code optimization 2022-07-11 14:20:57 +08:00
Haojun Liao 4f43d7df43 Merge branch '3.0' into feature/3_liaohj 2022-07-11 14:06:44 +08:00
Haojun Liao c7572cac7d refactor: remove some macro 2022-07-11 13:54:12 +08:00
Haojun Liao 75ace4f4ed
Merge pull request #14746 from taosdata/feature/3_liaohj
fix(query): handle the indefinit function  output with partition by
2022-07-11 13:49:13 +08:00
Haojun Liao 35711aef0c Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-11 11:55:18 +08:00
Haojun Liao d83f875467 fix(query): ensure capacity of ssdatablock. 2022-07-11 11:55:02 +08:00
Haojun Liao 9af4cd3165
Merge branch '3.0' into feature/3_liaohj 2022-07-11 11:36:19 +08:00
Haojun Liao dd20c34346 fix(query): fix a typo. 2022-07-11 11:28:45 +08:00
Haojun Liao 4527447b60 fix(query): handle the indefinit function output with partition by 2022-07-11 11:13:49 +08:00
Xiaoyu Wang ed66440c5c Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-11 10:08:54 +08:00
Liu Jicong f9ba552496
Merge pull request #14739 from taosdata/feature/stream
fix(wal): read after rolling
2022-07-10 21:45:31 +08:00
Liu Jicong 219d966b25 fix(wal): read after rolling 2022-07-10 21:02:25 +08:00
Haojun Liao 5c3c418c7f fix(query): set correct the fill column value for in case of no primary timestamp column exists. 2022-07-10 20:59:56 +08:00
Haojun Liao e4446354e9 fix(query): update the timerange. 2022-07-10 20:12:14 +08:00
54liuyao 2465620245 feat(stream): support expressions 2022-07-10 18:31:52 +08:00
54liuyao 75ed474f09 ci(stream): add session test 2022-07-10 18:30:30 +08:00
Xiaoyu Wang 651adca80f
Merge pull request #14685 from taosdata/feature/3.0_debug_wxy
fix: some problem of parser and planner
2022-07-10 18:17:51 +08:00
Xiaoyu Wang 5f0005a7b7 merge 3.0 2022-07-10 17:47:31 +08:00
Haojun Liao ac8e9d103c other: merge 3.0 2022-07-10 17:40:55 +08:00
Haojun Liao 7dc7f478de refactor: do some internal refactor and fix some memory leak. 2022-07-10 17:34:21 +08:00
Xiaoyu Wang b542b8f49a fix: some problem of parser and planner 2022-07-10 17:31:15 +08:00
Haojun Liao b2a8eec15d
Merge pull request #14718 from taosdata/feature/3_liaohj
fix(query): set correct stddev merge input rows.
2022-07-10 17:25:41 +08:00
Liu Jicong 9189f886a9 feat(tmq): support consume from tsdb then wal 2022-07-10 16:34:45 +08:00
Liu Jicong ff5f1aa1a5 refactor(stream) 2022-07-10 15:23:34 +08:00
Haojun Liao c25c4964be fix(query): fix syntax error. 2022-07-10 15:03:57 +08:00
Liu Jicong 5640036f66 refactor(stream) 2022-07-10 14:48:16 +08:00
Haojun Liao 69e9a2ad5c
Merge branch '3.0' into feature/3_liaohj 2022-07-10 14:46:53 +08:00
Liu Jicong bafa54778a refactor(stream) 2022-07-10 14:10:39 +08:00
Liu Jicong 2225411edc refactor(stream) 2022-07-10 13:57:17 +08:00
Liu Jicong 8afb54548f refactor(stream) 2022-07-10 13:21:37 +08:00
Liu Jicong e9077c036f merge from 3.0 2022-07-10 11:24:37 +08:00
Liu Jicong a2107992e2 refactor(stream) 2022-07-10 11:18:15 +08:00
Haojun Liao 3ee9d160d9 fix(query): set correct stddev merge input rows. 2022-07-10 11:02:54 +08:00
Haojun Liao 9738bb4aff Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-10 10:16:41 +08:00
Haojun Liao 40380ef9c1 refactor: do internal refactor. 2022-07-10 10:15:27 +08:00
Haojun Liao c3d702fe7c refactor: do some internal refactor. 2022-07-10 09:40:35 +08:00
Haojun Liao 77cc6a1d63
Merge pull request #14714 from taosdata/feature/3_liaohj
fix(query): set correct query time window.
2022-07-10 09:10:17 +08:00
Haojun Liao 4a9e1e37ae fix(query): set correct query time window. 2022-07-09 23:33:03 +08:00
Haojun Liao 3c49b6a633 fix(query): set correct query time window. 2022-07-09 23:32:33 +08:00
Shengliang Guan c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Haojun Liao 5a65047579 Merge branch '3.0' into feature/3_liaohj 2022-07-09 14:48:46 +08:00
Haojun Liao 5772b0bbf8 fix(query): add error code check. 2022-07-09 12:13:21 +08:00
Haojun Liao 21742bba09 fix(query): add error code check. 2022-07-09 12:00:48 +08:00
Haojun Liao fceee02622
Merge branch '3.0' into feature/3_liaohj 2022-07-09 11:11:11 +08:00
Liu Jicong eb005b9d10 fix(tmq): invalid free 2022-07-08 21:45:31 +08:00
Liu Jicong 8d01ae00cb fix(tmq): offset 2022-07-08 21:37:15 +08:00
Shengliang Guan e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Liu Jicong 938868e39f merge from 3.0 2022-07-08 17:57:11 +08:00
Liu Jicong 3cd5a35054 refactor(stream): internal refactor 2022-07-08 17:48:34 +08:00
Haojun Liao 3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +08:00
shenglian-zhou 89757d85d5
Merge pull request #14684 from taosdata/szhou/feature/push-project-condition
feat: add filter to operator merge aligned interval agg
2022-07-08 17:01:17 +08:00
dapan1121 50a6ef7f39
Merge pull request #14635 from taosdata/feature/insertselect
feat: support insert from query res
2022-07-08 16:59:21 +08:00
Shengliang Guan fa77494a72 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 16:58:51 +08:00
Shengliang Guan dca93b18cc refactor: adjust logs 2022-07-08 16:57:54 +08:00
Haojun Liao 1711d646c1
Merge pull request #14671 from taosdata/feature/3_liaohj
enh(query): add block sma for int type column data.
2022-07-08 16:23:13 +08:00
slzhou@taodata.com 16b6ce82a4 feat: add filter to operator merge aligned interval agg 2022-07-08 16:20:02 +08:00
Cary Xu 236ab7713e
Merge pull request #14680 from taosdata/feature/TD-11274-3.0
fix: set groupId for rsma and comment out rsma test case
2022-07-08 16:03:18 +08:00
dapan1121 ab5d9401d5 feat: insert from query 2022-07-08 15:38:27 +08:00
Cary Xu 301edfe79b fix: set groupId for rsma and comment out rsma test case 2022-07-08 15:23:11 +08:00
dapan1121 0f923bc8a3 feat: insert from query 2022-07-08 14:26:53 +08:00
54liuyao adb90b68e3 fix(stream): window_close crash 2022-07-08 13:23:02 +08:00
Haojun Liao 91eaba87ef Merge branch '3.0' into feature/3_liaohj 2022-07-08 11:24:28 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
dapan1121 b849252eed feat: insert from query 2022-07-08 10:27:17 +08:00
Liu Jicong 7872b16d31
Merge pull request #14657 from taosdata/feature/stream
refactor(stream): internal refactor
2022-07-07 21:42:04 +08:00
Liu Jicong 866e4c4be0 refactor(stream): internal refactor 2022-07-07 17:56:52 +08:00
54liuyao ce6e505084 feat(stream): stream state support delete 2022-07-07 17:27:49 +08:00
Haojun Liao 211985f03e refactor: do some internal refactor. 2022-07-07 17:23:54 +08:00
Haojun Liao 557873c1bc other: merge 3.0 2022-07-07 16:50:00 +08:00
Haojun Liao 41be3e4d04 refactor: do some internal refactor. 2022-07-07 15:56:43 +08:00
shenglian-zhou fd48d2b68a
Merge pull request #14645 from taosdata/szhou/feature/push-project-condition
feat: add filter to fill operator
2022-07-07 15:51:28 +08:00
Haojun Liao 57bf509dee refactor: do some internal refactor. 2022-07-07 15:40:04 +08:00
Haojun Liao aab82fc080 fix(query): check return code while loading sma 2022-07-07 15:38:17 +08:00
slzhou c8104d5141 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 15:31:46 +08:00
slzhou 4482b2dda7 feat: add doFilter to indef operator 2022-07-07 15:26:29 +08:00
slzhou 9eb4f16792 feat: add filter to fill operator 2022-07-07 14:59:52 +08:00
Liu Jicong 6b479f4a1f
Merge pull request #14592 from taosdata/feature/stream
refactor(stream): stream reader created in scanner
2022-07-07 14:30:39 +08:00
slzhou cddc989808 feat: add filter to fill operator 2022-07-07 14:30:08 +08:00
slzhou f3c3b0f148 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 11:41:56 +08:00
dapan1121 99d80ddc90 feat: insert from query 2022-07-07 11:38:58 +08:00
Haojun Liao 82640b2157
Merge pull request #14626 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-07 11:26:04 +08:00
slzhou c1fd5218d6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 11:01:49 +08:00
Liu Jicong 82e0f77715 Merge branch '3.0' into feature/stream 2022-07-07 10:48:09 +08:00
Zhiqiang Wang ac08c6eaa5
Merge pull request #14621 from taosdata/fix/ZhiqiangWang/TD-17006-fix-mac-ctest-error
test: fix Mac test error
2022-07-07 10:42:58 +08:00
slzhou f32cbdee72 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 10:26:27 +08:00
dapan1121 f3c8bcb953 feat: insert from query 2022-07-07 09:42:20 +08:00
slzhou 90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
Yihao Deng 31655c07d7
Merge pull request #14611 from taosdata/feat/idxFix1
enh: refactor idx code
2022-07-07 09:21:06 +08:00
dapan1121 d4696ef31f Merge branch '3.0' into feature/insertselect 2022-07-07 09:02:09 +08:00
dapan1121 e1ed9317d4 feat: insert from query 2022-07-07 08:53:23 +08:00
Haojun Liao 5db0f7b1d8 fix(query): fix memory leak. 2022-07-06 22:25:59 +08:00
Liu Jicong baa48489b7 merge from 3.0 2022-07-06 21:25:34 +08:00
Liu Jicong db23b07ae1 merge from 3.0 2022-07-06 21:12:46 +08:00
liuyao 6e5a6e701c
Merge pull request #14620 from taosdata/feature/TD-17132
feat(stream): session delete
2022-07-06 21:12:43 +08:00
Haojun Liao dc90f22d99 Merge branch '3.0' into feature/3_liaohj 2022-07-06 21:09:39 +08:00
dapan1121 d625cc2e47 feat: insert from query 2022-07-06 21:00:31 +08:00
Liu Jicong e51e261e01 fix(stream): create operator 2022-07-06 21:00:15 +08:00
afwerar 98641a8ff5 test: fix Mac test error 2022-07-06 20:47:38 +08:00
54liuyao 888f79d3f4 feat(stream): session delete 2022-07-06 20:42:54 +08:00
dapan1121 82dbf54719 Merge branch 'fix/dnode' of github.com:taosdata/TDengine into fix/dnode 2022-07-06 20:34:07 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
yihaoDeng 1e5ddcb92f merge 3.0 2022-07-06 18:29:11 +08:00
Haojun Liao 1237f9cf15 Merge branch '3.0' into feature/3_liaohj 2022-07-06 18:09:49 +08:00
Haojun Liao d28518b41e fix(query): set correct query time window. 2022-07-06 18:08:23 +08:00
shenglian-zhou 7aebf05699
Merge pull request #14605 from taosdata/szhou/feature/push-project-condition
feat: push condition down the tree
2022-07-06 17:45:37 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
dapan1121 0d4fb5bb80 feat: support insert from query 2022-07-06 16:29:51 +08:00
slzhou c710eede6f feat: add filter to interval agg operator 2022-07-06 14:57:53 +08:00
slzhou bd819f5c88 feat: add filter to sort operator 2022-07-06 14:42:56 +08:00
Liu Jicong 8c5dbde918 refactor(stream): stream reader created in scanner 2022-07-06 14:20:07 +08:00
slzhou c040659a4f feat: add filter to aggregate operator 2022-07-06 13:54:11 +08:00
Haojun Liao 29949a965b other: merge 3.0. 2022-07-06 13:46:24 +08:00
Haojun Liao ddb71ed095 refactor: do some internal refactor. 2022-07-06 13:33:21 +08:00
Haojun Liao c89d588044
Merge pull request #14576 from taosdata/feature/3_liaohj
fix(query): copy the column that will not output.
2022-07-06 13:29:48 +08:00
dapan1121 8b896332d6
Merge pull request #14558 from taosdata/feature/insertselect
enh: refactor scheduler code
2022-07-06 09:44:38 +08:00
dapan1121 641531bc6d fix: fix compile issue 2022-07-06 09:09:34 +08:00
dapan1121 2304e12c49 fix: fix sch error handling issue 2022-07-06 08:57:10 +08:00
Minglei Jin fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Haojun Liao 5f93b8db89 fix(query): copy the column that will not output. 2022-07-05 23:54:51 +08:00
Haojun Liao e1f53d4c2f fix(query): release memory when operator is destroyed. 2022-07-05 23:14:16 +08:00
yihaoDeng 3d8e6d2e10 Merge branch 'dev' into idx 2022-07-05 21:28:30 +08:00
Haojun Liao 8c1b9ea60f
Merge pull request #14557 from taosdata/feature/3_liaohj
fix(query): set number of rows before assign column data.
2022-07-05 20:42:09 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
54liuyao b7bf2bf808 feat(stream):stream interval delete data 2022-07-05 18:17:43 +08:00
Haojun Liao 2d27248043 fix(query): set number of rows before assign column data. 2022-07-05 18:02:38 +08:00
Haojun Liao 3bae30412c refactor: do some internal refactor. 2022-07-05 13:57:07 +08:00
slzhou 43047bc265 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-05 13:43:11 +08:00
slzhou 73e0e09dd8 feat: split join on condition into merge condition and on condition 2022-07-05 13:42:49 +08:00
dapan1121 39a31e8d25 fix: remove mock code 2022-07-05 10:52:33 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Haojun Liao c7559a81ca refactor: do some internal refactor. 2022-07-04 23:28:27 +08:00
Liu Jicong d3a05cc260
Merge pull request #14525 from taosdata/feature/stream
fix(tmq): prepare scan should reset operator status
2022-07-04 21:10:36 +08:00
Liu Jicong 8127887dc4 fix(tmq): prepare scan should reset operator status 2022-07-04 20:47:56 +08:00
slzhou 024796599c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-04 20:14:15 +08:00
slzhou a380e0cd7c feat: merge condition, on condition and other conditions 2022-07-04 19:49:16 +08:00
yihaoDeng bd77e5b107 refactor index 2022-07-04 16:01:45 +08:00
yihaoDeng 1f74676954 refactor index 2022-07-04 15:41:36 +08:00
Haojun Liao 16d18b8046 refactor: do some internal refactor. 2022-07-04 14:10:29 +08:00
Hongze Cheng 38ca993452 make merge compile 2022-07-04 05:21:02 +00:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Shengliang Guan 361ff046a5
Merge pull request #14465 from taosdata/fix/tsim
refactor: temporarily comment out some code and use cases
2022-07-02 21:25:53 +08:00
Liu Jicong 31bbef82d1 fix(tmq): seek snapshot offset 2022-07-02 20:18:40 +08:00
Shengliang Guan d28c97ba5a Merge remote-tracking branch 'origin/fix/dnode_wxy' into fix/tsim 2022-07-02 19:16:31 +08:00
Xiaoyu Wang dd564e551c fix: a problem of show indexes 2022-07-02 19:16:03 +08:00
Xiaoyu Wang ae0e956837 Merge remote-tracking branch 'origin/fix/dnode' into fix/dnode_wxy 2022-07-02 19:01:36 +08:00
Xiaoyu Wang c08b3c9313 fix: a problem of show indexes 2022-07-02 19:01:16 +08:00
Zhiqiang Wang b45702be6f
Merge pull request #14466 from taosdata/fix/ZhiqiangWang/TD-13064-add-Mac-compile-support
os: add Mac compile support
2022-07-02 18:02:28 +08:00
WANG MINGMING e4a711975d
Merge pull request #14458 from taosdata/feature/TD-13041
fix: erro in json in operator
2022-07-02 17:52:43 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
54liuyao 0d10895721 fix(stream): project ignore retrive datablock 2022-07-02 15:40:15 +08:00
wangmm0220 3dafc6556c fix: erro in json in operator 2022-07-02 14:47:07 +08:00
54liuyao c9f133a5e4 ci(stream): add ignore expired data 2022-07-02 14:17:50 +08:00
Liu Jicong 06514e13df
Merge pull request #14454 from taosdata/feature/stream
feat(stream): support ignore expired flag
2022-07-02 13:20:58 +08:00
Liu Jicong 4a2b266612 feat(stream): support ignore expired flag 2022-07-02 10:59:29 +08:00
slzhou dbbff4ea2c feat: push cond to join child through generating plan 2022-07-01 20:00:01 +08:00
wangmm0220 75e5aebbec fix:error in json 2022-07-01 17:35:23 +08:00
wangmm0220 4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
shenglian-zhou 1920980d4c
Merge pull request #14432 from taosdata/szhou/feature/push-cond-child-proj
feat: push condition to child projection
2022-07-01 16:30:02 +08:00
slzhou 1003cd8549 feat: push condition to child projection 2022-07-01 15:25:02 +08:00
Haojun Liao 34e4980a51 refactor(query): do some internal refactor. 2022-07-01 15:19:02 +08:00
Liu Jicong 269b33c02d Merge branch '3.0' into feature/stream 2022-07-01 14:39:52 +08:00
Liu Jicong 52d09b4173 refactor(wal) 2022-07-01 14:39:21 +08:00
afwerar 4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +08:00
liuyao 2f865a43ec
Merge pull request #14407 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-30 20:57:49 +08:00
Liu Jicong c40c22c386
Merge pull request #14401 from taosdata/feature/stream
fix(tmq): reset window
2022-06-30 20:21:26 +08:00
54liuyao 68cfa54e26 feat(stream): ignore close window 2022-06-30 20:21:24 +08:00
Liu Jicong 4f107908db fix(tmq): reset window 2022-06-30 19:51:48 +08:00
shenglian-zhou d6e1d1bcd0
Merge pull request #14389 from taosdata/szhou/feature/pushdown-agg-cond
feat: support push agg operator condition to scan
2022-06-30 19:07:06 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121 068924cc62
Merge pull request #14385 from taosdata/feature/queryredirect
feat: support query redirect
2022-06-30 18:03:17 +08:00
Xiaoyu Wang 42fba6480c merge 3.0 2022-06-30 17:54:34 +08:00
slzhou 82bd8a560f fix: reserved column should not be copied 2022-06-30 17:28:49 +08:00
Liu Jicong 94f07836d6 fix(tmq): set scan rsp offset correctly 2022-06-30 17:25:19 +08:00
wangmm0220 77fcf17ae1 fix:error in lock meta if group by json tag, need unlock if error happens 2022-06-30 17:10:34 +08:00
Liu Jicong ca1c961f9c fix(tmq): set last scan status 2022-06-30 16:40:17 +08:00
wangmm0220 e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
Liu Jicong 4695dc2dae feat(tmq): add snapshot test 2022-06-30 14:41:50 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
dapan1121 a535df7590 feat: query redirect 2022-06-30 11:04:49 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
wangmm0220 06552626e0 fix:disable some json test cases 2022-06-29 20:15:49 +08:00
wangmm0220 3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +08:00
wangmm0220 665e1ddde8 fix:add switch for buffer page debug log 2022-06-29 18:11:28 +08:00
liuyao 7069332321
Merge pull request #14349 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-29 17:15:31 +08:00
dapan1121 914e06e8cb feat: query redirect 2022-06-29 17:15:08 +08:00
Haojun Liao 3a566d5e5e refactor(query): do some internal refactor. 2022-06-29 17:14:00 +08:00
Haojun Liao 0fc154982f
Merge pull request #14353 from taosdata/feature/3_liaohj
enh(query): add api to extract scan  status
2022-06-29 16:50:49 +08:00
54liuyao 5e0cbdf0b7 feat(stream): ignore close window 2022-06-29 16:49:45 +08:00
Haojun Liao 1b8c5d9269 enh(query): add api to extract scan status 2022-06-29 16:19:19 +08:00
wangmm0220 873546bee5 fix:add log 2022-06-29 15:03:17 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
Haojun Liao f2b83dfb4a fix(query):check null ptr. 2022-06-29 10:35:07 +08:00
Haojun Liao 5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
dapan1121 b99fd13152 add mock code 2022-06-28 17:21:24 +08:00
dapan1121 bd7a2adc5f add mock code 2022-06-28 17:13:51 +08:00
Liu Jicong 58803fafcf fix(query): check datablock should check output flag 2022-06-28 16:05:00 +08:00
Haojun Liao 03fa247a2d other: merge 3.0. 2022-06-28 15:38:54 +08:00
Haojun Liao be08ccaedc refactor:do internal refactor. 2022-06-28 15:35:51 +08:00
Haojun Liao 4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Liu Jicong 383e7a495b fix(query): enable output check 2022-06-28 13:45:50 +08:00
54liuyao acb7f040aa fix(stream): taosd crash when partition by tbname 2022-06-28 11:48:10 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
wangmm0220 e2f4a2a03c Merge branch 'feature/TD-13041' of github.com:taosdata/TDengine into feature/TD-13041 2022-06-27 21:21:22 +08:00
wangmm0220 b6b4455689 fix:error in group by tag 2022-06-27 21:21:08 +08:00
wangmm0220 8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +08:00
slzhou 11f8d302fa feat: multiway merge handles group+mergekeys, group and only merge keys 2022-06-27 17:51:50 +08:00
Xiaoyu Wang 87b8131409
Merge pull request #14266 from taosdata/feature/3.0_debug_wxy
feat: tail function rewrite to statement
2022-06-27 17:16:37 +08:00
slzhou c55bef32ff Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-06-27 16:25:40 +08:00
slzhou b67c65313b fix: add group to multi-merge operator 2022-06-27 16:25:14 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +08:00
Cary Xu e2ec8b57d9 Merge branch '3.0' into feature/TD-11274-3.0 2022-06-27 14:47:31 +08:00
Cary Xu e6dd04f573 refactor: rsma restore 2022-06-27 14:47:14 +08:00
Haojun Liao 02e450c590 fix(query): fix invalid object type. 2022-06-27 11:34:06 +08:00
wangmm0220 c190fa5bd9 fix: keep n rows if limit n 2022-06-27 10:51:47 +08:00
Haojun Liao dbd8c300fa refactor: do tsdbread refactor. 2022-06-27 10:46:20 +08:00
wangmm0220 9fb4f943e7 fix: enable group by test cases 2022-06-27 10:14:36 +08:00
Haojun Liao 2e5d563ec0 other: merge 3.0. 2022-06-27 10:11:11 +08:00
Haojun Liao ff72e66dba fix(query): support scalar function before applying interval aggregate. 2022-06-27 10:07:48 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
dapan1121 e851977da0 Merge branch '3.0' into enh/stopquery 2022-06-26 15:19:35 +08:00
Yihao Deng a081c7c154
Merge branch '3.0' into feat/idxFix 2022-06-25 20:40:16 +08:00
yihaoDeng 5a4b51a968 fix index bug 2022-06-25 20:36:38 +08:00
Liu Jicong 0c1a51bad6 enh(stream): refine tqRetrieveDataBlock api 2022-06-25 20:03:29 +08:00
Liu Jicong bdd4134fc1
Revert "fix(sma): drop stream when drop sma" 2022-06-25 18:11:11 +08:00
Liu Jicong 3210fdc367 merge from 3.0 2022-06-25 17:49:25 +08:00
Liu Jicong 47ae534c0f fix(sma): drop stream when drop sma 2022-06-25 17:44:54 +08:00
liuyao 76596b0c17
Merge pull request #14243 from taosdata/feature/TD-16728
feat(stream): auto pull data
2022-06-25 17:08:14 +08:00
shenglian-zhou 6c7aaecbe0
Merge pull request #14237 from taosdata/szhou/feature/table-merge-scan-operator
fix: restore table merge scan operator
2022-06-25 17:07:33 +08:00
54liuyao 10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +08:00
shenglian-zhou 8e2b93f0e1
Merge pull request #14240 from taosdata/szhou/feature/merge-interval-2
fix: overlapping intervals problem
2022-06-25 16:13:28 +08:00
slzhou 6adc19d443 fix: overlapping intervals problem 2022-06-25 15:20:11 +08:00
slzhou a9f094613a fix: restore table merge scan operator 2022-06-25 13:52:52 +08:00
Haojun Liao 916adb82c6 enh(query): add user name when retrieving meta-data from mnode. 2022-06-25 12:10:34 +08:00
Haojun Liao 377bed853a Merge branch '3.0' into feature/3_liaohj 2022-06-25 11:44:24 +08:00
WANG MINGMING f0b50add27
Merge pull request #14184 from taosdata/feature/TD-13041
feat:sort table group if needed & optimize partition by tag
2022-06-25 09:41:30 +08:00
Haojun Liao 54283f8726 fix(query): fix memory leak. 2022-06-24 23:02:48 +08:00
Haojun Liao 6c49aecb70 fix(query): fix memory leak. 2022-06-24 22:54:06 +08:00
shenglian-zhou 1d68274ade
Merge pull request #14206 from taosdata/szhou/feature/merge-interval-2
fix: fix bugs of less output when interval overlaps
2022-06-24 18:57:27 +08:00
wangmm0220 62ce467711 fix:error in compile 2022-06-24 17:37:30 +08:00
slzhou 1d7bf59fe8 fix: fix iteration bugs of last window result 2022-06-24 17:24:01 +08:00
dapan1121 9c9e8057bd Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 16:59:05 +08:00
Liu Jicong f53521cb8c test(stream): partition by tbname 2022-06-24 16:50:11 +08:00
wangmm0220 ff3cb336d8 fix:merge from 3.0 2022-06-24 16:01:58 +08:00
wangmm0220 9ac0a34e72 fix: disable group by tag cases 2022-06-24 15:57:33 +08:00
slzhou 2cc9c69146 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval-2 2022-06-24 15:29:59 +08:00
slzhou 01f64b4d17 fix: fix bugs of less output when interval overlaps 2022-06-24 15:28:37 +08:00
Liu Jicong 26c1388237
Merge pull request #14201 from taosdata/feature/stream
refactor(stream): seperate stream scheduling and persistence
2022-06-24 15:25:31 +08:00
dapan1121 be341e1daa Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 15:22:24 +08:00
Liu Jicong a9606ea0eb Merge branch '3.0' into feature/stream 2022-06-24 14:41:17 +08:00
Liu Jicong b884ca9db7 refactor(stream): seperate stream scheduling and persistence 2022-06-24 14:19:12 +08:00
wangmm0220 0d9ed6d60a fix:merge from 3.0 2022-06-24 13:51:33 +08:00
Xiaoyu Wang 096c292d78
Merge pull request #14179 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show consumers' and 'show subscriptions'
2022-06-24 12:51:21 +08:00
wangmm0220 4f305c74d1 fix: table group error in stream 2022-06-24 11:24:31 +08:00
Liu Jicong 35e234f1f0
Merge pull request #14187 from taosdata/feature/stream
fix(stream): memory leak
2022-06-24 09:39:53 +08:00
Liu Jicong f2f5d68f3b fix(stream): memory leak 2022-06-23 22:05:00 +08:00
wangmm0220 a95f98f7e7 feat:merge from 3.0 2022-06-23 20:50:48 +08:00
wangmm0220 3799db4366 feat:sort table group if needed 2022-06-23 20:46:11 +08:00
shenglian-zhou e7d86e2c24
Merge pull request #14162 from taosdata/szhou/feature/sort-group-2
fix: fix empty downstream input for group sort operator
2022-06-23 20:44:21 +08:00
shenglian-zhou d76d8f87e3
Merge pull request #14172 from taosdata/szhou/feature/misc
fix: set correct operator blocking and add closing rpc trace to udfd
2022-06-23 20:44:05 +08:00
wangmm0220 26cceaf172 feat:sort table group if needed 2022-06-23 19:58:12 +08:00
shenglian zhou 55a927e2be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/misc 2022-06-23 18:56:15 +08:00
Xiaoyu Wang 0b9eb79bf7 merge 3.0 2022-06-23 18:08:47 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Haojun Liao e3c4215ac9 Merge branch '3.0' into feature/3_liaohj 2022-06-23 17:39:58 +08:00
liuyao 19fab3fe8f
Merge pull request #14165 from taosdata/feature/TD-16728
fix(stream): valgrind memory error
2022-06-23 17:21:34 +08:00
Liu Jicong 1d6682c535
Merge pull request #14166 from taosdata/feature/stream
feat(tmq): add with meta config
2022-06-23 16:54:09 +08:00
shenglian zhou c449b7208a fix: set correct operator blocking and add closing rpc trace to udfd 2022-06-23 16:52:06 +08:00
54liuyao d6ccf5720d fix(stream): valgrind memory error 2022-06-23 16:33:52 +08:00
Liu Jicong bd64bebb63
Merge branch '3.0' into feature/3_liaohj 2022-06-23 16:00:17 +08:00
Liu Jicong 71bda7e658 feat(tmq): add with meta config 2022-06-23 15:56:54 +08:00
shenglian zhou cbacd1fd45 fix: fix empty downstream input for group sort operator 2022-06-23 15:35:19 +08:00
Shengliang Guan 750a046e31
Merge pull request #14153 from taosdata/enh/delete
enh: modify delete output res
2022-06-23 14:52:33 +08:00
wangmm0220 c8f223a6ec fix:merge from 3.0 2022-06-23 14:26:26 +08:00
dapan1121 95c1b00056 enh: modify delete output res 2022-06-23 14:25:30 +08:00
Liu Jicong 2af4a4d250 merge from 3.0 2022-06-23 14:15:33 +08:00
dapan1121 9cee07bfca fix: fix reset query cache crash issue 2022-06-23 13:53:14 +08:00
shenglian zhou f4ec009a00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:49:10 +08:00
Liu Jicong 4ed47a0296 feat(tmq): scan tsdb as snapshot 2022-06-23 13:35:24 +08:00
dapan1121 b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
Haojun Liao 4576b0a94d fix(query): fix syntax error. 2022-06-23 11:07:14 +08:00
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
wangmm0220 a28bfd0804 fix:confilct merge from 3.0 2022-06-23 10:21:04 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
Haojun Liao ce7e7fe23d refactor:remove some debug info. 2022-06-23 10:13:35 +08:00
Haojun Liao 0457fab077 fix(query): adjust the capacity of ssdatablock. 2022-06-23 10:03:43 +08:00
Haojun Liao 673261a1bd fix(query): set correct varchar length. 2022-06-23 09:42:29 +08:00
slzhou 849cb8d1b3 feat: split session and state window on stable 2022-06-23 08:52:47 +08:00
shenglian-zhou bacd7b6057
Merge pull request #14136 from taosdata/szhou/feature/sort-group-2
feat: add group sort operator
2022-06-23 08:15:25 +08:00
Haojun Liao a0795fdd10 fix(query): set correct varchar length. 2022-06-23 00:47:28 +08:00
Haojun Liao d3d258caa9 fix(query): prepare buffer before copying data. 2022-06-22 23:05:34 +08:00
shenglian zhou faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +08:00
shenglian-zhou 1047da047a
Merge pull request #14135 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 23:01:19 +08:00
Liu Jicong ab01fec5e4
Merge pull request #14134 from taosdata/feature/stream
feat(stream): stream support multiple type input
2022-06-22 22:52:35 +08:00
shenglian zhou fd79fcc481 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:32:29 +08:00
shenglian zhou c99f7cac79 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:00:52 +08:00
shenglian zhou df130c1bcb feat: add multiple group tsdb reads to table merge scan 2022-06-22 21:56:55 +08:00
Liu Jicong 14a488c92c feat(stream): stream support multiple type input 2022-06-22 21:21:39 +08:00
shenglian-zhou d88615f9ad
Merge pull request #14132 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 21:00:59 +08:00
Haojun Liao bf0caa2038 Merge branch '3.0' into feature/3_liaohj 2022-06-22 20:32:02 +08:00
shenglian zhou 8a8d3f160b feat: add multiple group tsdb reads to table merge scan 2022-06-22 20:26:44 +08:00
Haojun Liao 0a884d58bb refactor: remove unnecessary code. 2022-06-22 19:41:57 +08:00
Haojun Liao b097e78708 fix(query): clear buffer before set data. 2022-06-22 19:40:59 +08:00
Haojun Liao c79eda9f70 fix(query): prepare the buffer before serialize the retrieved data. 2022-06-22 19:34:56 +08:00
shenglian-zhou cc3543d4e3
Merge pull request #14126 from taosdata/szhou/feature/sort-group-2
feat: prepare for multiple group tsdb reads
2022-06-22 19:20:41 +08:00
shenglian zhou acb3d121f4 feat: prepare for multiple group tsdb reads 2022-06-22 18:53:00 +08:00
shenglian zhou c1f5f825b7 feat: prepare for multiple group tsdb reads 2022-06-22 18:51:16 +08:00
wangmm0220 f967cff0fa feat: add table group info if need sort table by group 2022-06-22 18:14:26 +08:00
Haojun Liao aa4d863598 fix(query): fix syntax error. 2022-06-22 17:36:48 +08:00
Haojun Liao 5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
dapan1121 66cfe3a3fc feat: show dnode variables 2022-06-22 17:17:18 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
wangmm0220 db34294bed opt: filter by tag 2022-06-22 16:32:10 +08:00
shenglian-zhou 0f67b17f3f
Merge pull request #14106 from taosdata/szhou/feature/merge-interval-2
feat: add merge interval operator
2022-06-22 13:32:38 +08:00
Liu Jicong 45489e7481
Merge pull request #14101 from taosdata/feature/stream
fix(wal): return correct msg for open wal file
2022-06-22 13:28:22 +08:00
shenglian zhou 0941a4640b fix: add merge interval operator for select mode(expr) + interval 2022-06-22 13:08:20 +08:00
shenglian-zhou 17603ba292
Merge pull request #14098 from taosdata/szhou/feature/merge-interval-2
fix: change merge interval to merge aligned interval
2022-06-22 11:27:41 +08:00
Liu Jicong 82a1cc8e41 fix(wal): return correct msg for open wal file 2022-06-22 11:21:33 +08:00
Haojun Liao ac656dcc46
Merge pull request #14090 from taosdata/feature/3_liaohj
fix(query): reserve correct buffer before loading data
2022-06-22 10:55:47 +08:00
shenglian zhou 84ea04ea2a fix: change merge interval to merge aligned interval 2022-06-22 10:53:22 +08:00
shenglian zhou 580a22d327 fix: reset prefetched datablock after it is used 2022-06-22 10:47:23 +08:00
shenglian zhou fadc11b685 feat: add compare parameter that enable/disable group id comparision 2022-06-22 10:21:05 +08:00
shenglian zhou aa46624bc5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sort-group-2 2022-06-22 09:46:40 +08:00
Liu Jicong 557d69d14a
Merge pull request #14087 from taosdata/feature/stream
fix(stream): convert datablk to submit blk
2022-06-22 09:43:48 +08:00
shenglian zhou faebe29ab7 feat: group sort read child input during tsortOpen 2022-06-22 09:42:04 +08:00
Haojun Liao 1568722e8e fix(query): reserve correct buffer size before retrieve datablock from vnode. 2022-06-22 09:31:45 +08:00
Liu Jicong 5005ee3369
Merge branch '3.0' into feature/stream 2022-06-21 21:50:03 +08:00
Zhiqiang Wang 04771a6d82
Merge pull request #14079 from taosdata/fix/ZhiqiangWang/TD-16357-fix-sim-test-error
test: fix sim test error
2022-06-21 21:50:01 +08:00
Liu Jicong f2b66cc16a fix(stream): convert datablk to submit blk 2022-06-21 21:48:24 +08:00
54liuyao 9f6a4b3ddb feat(stream): add delete type 2022-06-21 20:56:57 +08:00
wangmm0220 e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
afwerar 9dff7b93c6 test: fix sim test error 2022-06-21 20:04:55 +08:00
slzhou 805ce63fdd feat: add sort group operator 2022-06-21 18:47:39 +08:00
54liuyao 038e6fbe66 fix(tmq): tmq assert 2022-06-21 18:46:15 +08:00
Haojun Liao d8c778e468 feature(query):add lastrow scan operator. 2022-06-21 16:15:17 +08:00
wangmm0220 9883d670c6 opti: patition by tag 2022-06-21 13:52:07 +08:00
shenglian-zhou 0efc892933
Merge pull request #14042 from taosdata/szhou/feature/sort-group
fix: remove groupid comparision from msortCompare
2022-06-21 11:04:02 +08:00
wangmm0220 c79be2dac6 feat: merge from 3.0 2022-06-21 10:58:50 +08:00
wangmm0220 8494bf17be opt:partition by tag 2022-06-21 10:52:09 +08:00
Haojun Liao e9b0d93907
Merge pull request #14041 from taosdata/feature/3_liaohj
feature(query): support interp function, and do some internal refactor.
2022-06-21 10:45:01 +08:00
slzhou c17635214e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sort-group 2022-06-21 09:45:44 +08:00
slzhou 33ef665989 fix: remove groupid comparision from msortCompare 2022-06-21 09:45:27 +08:00
Haojun Liao bbe1deaf00 other: merge 3.0 2022-06-21 09:44:37 +08:00
54liuyao fe653c948e fix(stream): window close 2022-06-21 09:42:48 +08:00
Haojun Liao e5d25f4634 fix(query): set correct ts column index in interp executor. 2022-06-21 09:41:35 +08:00
Haojun Liao 1bf7fbbc0b feature(query): support interp function, and do some internal refactor. 2022-06-20 23:22:28 +08:00
shenglian-zhou 0f3fc6cff0
Merge pull request #14030 from taosdata/szhou/feature/sort-group
feat: order group by group id generated by partition
2022-06-20 20:55:51 +08:00
Liu Jicong f5f8100d25
Merge branch '3.0' into feature/stream 2022-06-20 20:19:08 +08:00
Liu Jicong 450675f672 feat(stream): support snode 2022-06-20 20:18:34 +08:00
shenglian zhou 48d22c359f feat: order group by group id generated by partition 2022-06-20 20:17:56 +08:00
shenglian-zhou e05a6ca7fa
Merge pull request #13973 from taosdata/szhou/feature/project-elimation
feature: eliminate projection optimization
2022-06-20 17:48:27 +08:00
Cary Xu 565a11330d
Merge pull request #14010 from taosdata/feature/TD-14481-3.0
feat: fetch rsma result by timer supported
2022-06-20 17:12:43 +08:00
shenglian zhou a28a275dff fix: fix eliminate projection bugs 2022-06-20 16:39:19 +08:00
Liu Jicong 1505667897
Merge branch '3.0' into feature/stream 2022-06-20 15:34:04 +08:00
Cary Xu 820cc89c3a Merge branch '3.0' into feature/TD-14481-3.0 2022-06-20 15:21:41 +08:00
Cary Xu fcfd5c250d feat: fetch rsma result by timer supported 2022-06-20 15:21:30 +08:00
Haojun Liao a2cec0e488
Merge pull request #14004 from taosdata/feature/3_liaohj
feature(query): support show table block distribution.
2022-06-20 15:13:10 +08:00
Liu Jicong 1daa62e7f7 merge from 3.0 2022-06-20 15:04:50 +08:00
Liu Jicong 53ef66961a feat(stream): support snode 2022-06-20 14:29:18 +08:00
shenglian zhou 056301fb7b fix: disable eliminate projection when repeat proj column name 2022-06-20 14:22:50 +08:00
Haojun Liao ad0595b9ec Merge branch '3.0' into feature/3_liaohj 2022-06-20 14:08:21 +08:00
Haojun Liao 868185a3b9 refactor(query): do some internal refactor. 2022-06-20 13:47:13 +08:00
Haojun Liao b66e0e718b fix(query): fix output column in show super table block distribution. 2022-06-20 13:42:59 +08:00
Hongze Cheng a889ac3edc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 05:13:12 +00:00
Haojun Liao 659e429b87 feature(query): support show table block distribution. 2022-06-20 12:54:46 +08:00
54liuyao 5301dece4e feat(stream): add ci 2022-06-20 11:35:05 +08:00
wangmm0220 742cccba55 feat: merge from 3.0 2022-06-20 10:42:40 +08:00
Hongze Cheng 21ea4e3a0b more work 2022-06-20 02:38:08 +00:00
Hongze Cheng bdc427dc78 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 01:26:31 +00:00
shenglian zhou 8c955ef017 fix: limit/slimit would prevent optimization projection elimination 2022-06-20 07:52:29 +08:00
shenglian zhou 218d455dcc fix: elimate projection error 2022-06-19 22:32:26 +08:00
shenglian zhou 413d26ee30 fix: add column to datablock even no output 2022-06-19 22:00:57 +08:00
shenglian zhou 0e905bb3c1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/project-elimation 2022-06-19 21:41:08 +08:00
shenglian zhou 8c402d2aa3 fix: column target/output desc match error 2022-06-19 21:39:35 +08:00
Xiaoyu Wang c963f92dda
Merge pull request #13990 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-19 20:09:15 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
WANG MINGMING 45a247c062
Merge pull request #13933 from taosdata/feature/TD-16524
feat: add ttl/comment function
2022-06-19 11:18:14 +08:00
wangmm0220 082a5de790 fix:merge from 3.0 2022-06-18 20:04:15 +08:00
Haojun Liao 2f4bcd2625 enh(query): add more info about tablescan. 2022-06-18 20:03:27 +08:00
54liuyao 8c47a18dbf feat(stream): semi session operator 2022-06-18 19:57:08 +08:00
wangmm0220 746f4759b0 fix:merge from 3.0 2022-06-18 19:40:36 +08:00
Hongze Cheng afb5be516f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 10:35:57 +00:00
Haojun Liao 956173e2e1 refactor: do some internal refactor. 2022-06-18 14:49:27 +08:00
Haojun Liao f2a27f5842 refactor: do some internal refactor. 2022-06-18 12:00:41 +08:00
WANG MINGMING a64013461f
Merge branch '3.0' into feature/TD-16524 2022-06-18 11:11:54 +08:00
Hongze Cheng b1410cc52c merge make it compile 2022-06-18 02:09:14 +00:00
Hongze Cheng 2e590c3036 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 01:53:01 +00:00
Haojun Liao 2cf8e30241 fix(query): fix syntax error. 2022-06-18 09:35:30 +08:00
Haojun Liao 820d6d1332 refactor: do some internal refactor. 2022-06-17 23:23:37 +08:00
Hongze Cheng a200ea85db Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 12:23:01 +00:00
Haojun Liao d2f8a330e1 refactor(query): do some internal refactor. 2022-06-17 20:09:49 +08:00
Haojun Liao 0f92fb02f9 enh(query): add new api. 2022-06-17 20:07:55 +08:00
Haojun Liao 45d379473f fix(query): fix syntax error. 2022-06-17 19:49:43 +08:00
Haojun Liao 11267a0032 other: merge 3.0 2022-06-17 19:05:39 +08:00
Haojun Liao 78d1f75c9b refactor(query): do some internal refactor. 2022-06-17 19:01:45 +08:00
wangmm0220 6743b544e9 fix: error in json 2022-06-17 18:32:08 +08:00
dapan1121 211adf20af
Merge pull request #13875 from taosdata/feature/showapps
feat: support show apps command
2022-06-17 18:20:05 +08:00
Hongze Cheng 9bc64e80b5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 09:36:32 +00:00
liuyao f9fe106a70
Merge pull request #13929 from taosdata/feature/TD-16616
feat(stream): distribute stream session plan
2022-06-17 16:30:01 +08:00
Haojun Liao 1c52b59344 refactor: do some internal refactor. 2022-06-17 15:48:32 +08:00
54liuyao 61153b7637 feat(stream): distribute stream session plan 2022-06-17 15:39:19 +08:00
WANG MINGMING b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
dapan1121 f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
Hongze Cheng 189f99eb74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 06:41:12 +00:00
Haojun Liao 9c6a9f1c92 fix(query): set correct source status in merge sort. 2022-06-17 14:25:53 +08:00
Hongze Cheng 6f80993d56 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 02:50:34 +00:00
Haojun Liao 1b907e847c other: merge 3.0 2022-06-17 09:26:16 +08:00
Haojun Liao af7f3e3252 refactor(query): set correct buffer pages. 2022-06-17 09:20:19 +08:00
Haojun Liao feebe90a1f fix(query): set correct buffer page size. 2022-06-17 09:18:53 +08:00
Haojun Liao 5837c141c9
Merge pull request #13914 from taosdata/feature/3_liaohj
fix(query): set null for null value in groupby
2022-06-16 22:35:10 +08:00
shenglian-zhou 9ebc581b6d
Merge pull request #13910 from taosdata/szhou/fix/table-merge-scan-buf-size
fix: table merge scan sort buf size
2022-06-16 22:11:31 +08:00
Haojun Liao cc638a2236 fix(query): set null for null value in groupby 2022-06-16 21:13:18 +08:00
Haojun Liao 0fae75ebdd
Merge pull request #13904 from taosdata/feature/3_liaohj
fix(query): adjust group limitation.
2022-06-16 21:12:27 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
shenglian zhou 67540f2504 fix: table merge scan sort buf size 2022-06-16 19:49:42 +08:00
Hongze Cheng 9d58beb2f4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 11:21:02 +00:00
Hongze Cheng 760905f632 refact 2022-06-16 11:14:56 +00:00
liuyao 39e2a646e9
Merge pull request #13901 from taosdata/feature/TD-16512
feat(stream): stream partition by
2022-06-16 18:39:34 +08:00
Haojun Liao ab47de1dae fix(query): adjust group limitation. 2022-06-16 18:30:22 +08:00
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