Commit Graph

1873 Commits

Author SHA1 Message Date
shenglian zhou 56f067229c Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-26 17:58:31 +08:00
wangmm0220 915d3c4203 fix:conflicts from 3.0 2022-07-26 17:47:10 +08:00
wangmm0220 ba1962cacf feat:add tmq get data interface 2022-07-26 17:43:22 +08:00
shenglian zhou 4ab28c4da2 fix: fix mem leak of fill operator 2022-07-26 17:22:23 +08:00
shenglian zhou a17015138c fix: fix fill operator memory leak 2022-07-26 17:18:08 +08:00
shenglian zhou dab90f47bc fix: fix memory leak 2022-07-26 17:10:43 +08:00
Haojun Liao 97e3946a98
Merge pull request #15421 from taosdata/feature/3_liaohj
refactor: optimize the memory consumption in tsdbread
2022-07-26 16:49:14 +08:00
shenglian zhou cdcb1a368d feat: add input ts order for join operator 2022-07-26 16:05:42 +08:00
shenglian-zhou fd2a53d174
Merge pull request #15415 from taosdata/szhou/fix/udf
fix: set null when all inputs are null for leastsquare function
2022-07-26 15:57:25 +08:00
Haojun Liao bd8fa53371 fix(query): set current SBlock before move to next block. 2022-07-26 15:52:47 +08:00
Ganlin Zhao af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +08:00
shenglian zhou b870b6381f fix: save sort exec info into table merge scan struct and use it when explain 2022-07-26 11:14:17 +08:00
liuyao 9adc6988a3
Merge pull request #15410 from taosdata/feature/TD-17811
feat(stream): refector some log
2022-07-26 10:34:21 +08:00
dapan1121 faedfb540b
Merge pull request #15409 from taosdata/fix/outofblockinsink
fix: fix load_table_info error
2022-07-26 10:32:51 +08:00
54liuyao 35ddd56691 feat(stream): refector some log 2022-07-26 09:55:21 +08:00
dapan1121 b97f9bfcad fix: fix load_table_info error 2022-07-26 09:48:43 +08:00
Liu Jicong 23f0feca92
Update projectoperator.c 2022-07-25 21:50:51 +08:00
jiajingbin 2964917125 fix: fix bug for TD-17801 2022-07-25 21:45:46 +08:00
jiajingbin 8833a8bdfb fix: fix bug for TD-17801 2022-07-25 21:39:12 +08:00
Haojun Liao b4bb80ba9d
Merge pull request #15389 from taosdata/feature/3_liaohj
fix(query):disable merge for project operator in stream processing.
2022-07-25 20:16:18 +08:00
Ganlin Zhao 8794b0d464 Merge branch '3.0' into enh/TD-17659 2022-07-25 17:25:05 +08:00
Xiaoyu Wang 20cb18d8b0 merge 3.0 2022-07-25 16:59:28 +08:00
shenglian zhou 0494f4a6e9 fix: fix table merge scan memory leak 2022-07-25 16:41:32 +08:00
Haojun Liao 90b3e77698 fix(query):disable merge for project operator in stream processing. 2022-07-25 16:02:49 +08:00
Xiaoyu Wang cf8bf7bd39 Merge remote-tracking branch 'origin/szhou/fix/udf' into feature/3.0_debug_wxy 2022-07-25 15:35:14 +08:00
Xiaoyu Wang bf18385e00 merge szhou/fix/udf 2022-07-25 15:34:58 +08:00
Ganlin Zhao db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +08:00
shenglian zhou 66bad33c9e fix: fix compilation error 2022-07-25 15:34:11 +08:00
shenglian zhou f208b507fc Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-25 15:24:04 +08:00
shenglian zhou 9e9a12cb09 fix: fix memory leak of pseduo col computation in table merge scan 2022-07-25 15:23:43 +08:00
Haojun Liao b87bb4c083 fix(query): remove invalid assert. 2022-07-25 15:23:13 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Haojun Liao baca08d05d refactor: do some internal refactor. 2022-07-25 14:15:49 +08:00
Haojun Liao 67266bd3a1
Merge branch '3.0' into feature/3_liaohj 2022-07-25 13:44:09 +08:00
Haojun Liao 6d86ef0c33 other: merge 3.0 2022-07-25 11:22:09 +08:00
54liuyao 86c4d34339 fix(stream): recover the overwritten code 2022-07-25 11:19:52 +08:00
Haojun Liao 9bddf99d7d refactor(query): do some internal refactor. 2022-07-25 11:17:45 +08:00
dapan1121 4831205807 Merge branch '3.0' into fix/TD-16880 2022-07-25 09:02:45 +08:00
dapan1121 dfe4ed92e3 fix: fix disk page direty issue 2022-07-25 09:01:40 +08:00
shenglian zhou d3149ce8fd fix: change tag_type to string and remove quote from tag_value and normal notation is used for float/double 2022-07-24 19:59:19 +08:00
Liu Jicong 072fe10013
Merge pull request #15361 from taosdata/feature/tq
fix(tmq): correctly set reader status
2022-07-23 20:40:14 +08:00
Liu Jicong 095f6aa4e0 fix(tmq): correctly set reader status 2022-07-23 20:07:16 +08:00
54liuyao f86ce16e36 fix(stream): push retrive datablock 2022-07-23 15:06:53 +08:00
Haojun Liao cf572edcb4
Merge pull request #15323 from taosdata/feature/3_liaohj
fix(query): update the time range after filter data block.
2022-07-23 14:55:29 +08:00
Haojun Liao 950be95fdf fix(query): fix error in limit/offset 2022-07-23 10:40:58 +08:00
Haojun Liao e00528eead refactor: do some internal refactor. 2022-07-23 09:59:37 +08:00
54liuyao b7e84b3caf feat(stream): optimize result 2022-07-23 09:57:27 +08:00
Haojun Liao e9936db95e other: merge 3.0 2022-07-23 09:37:23 +08:00
Haojun Liao 4a7a85ab07 other: merge 3.0 2022-07-23 00:02:53 +08:00
Haojun Liao 4d4a52245d fix(query): update the time range after filter data block. 2022-07-22 23:52:48 +08:00
Haojun Liao 998dedb9fa other: merge 3.0 2022-07-22 21:16:52 +08:00
54liuyao b28553395f feat(stream): adjust stream scan 2022-07-22 20:13:37 +08:00
Liu Jicong 43abf0d3f1
Merge pull request #15309 from taosdata/feature/tq
fix: memory leak
2022-07-22 19:12:15 +08:00
Cary Xu 39b768153f
Merge pull request #15308 from taosdata/feat/TD-17552
enh(query): add wal version to agg result datablock
2022-07-22 19:09:31 +08:00
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