Commit Graph

2482 Commits

Author SHA1 Message Date
Haojun Liao 6250c1b157
Merge pull request #15851 from taosdata/feature/3.0_query_optimize
ehn(query): optimize the query performance.
2022-08-10 16:51:46 +08:00
Liu Jicong e5e82f0cf2 merge 3.0 2022-08-10 16:31:23 +08:00
Liu Jicong 18f6fb6123 enh(tmq): speed up consumer recover 2022-08-10 16:04:03 +08:00
yihaoDeng dd04c35dcf Merge branch 'dev' into opt 2022-08-10 10:26:03 +08:00
Liu Jicong a62950b441
Merge pull request #15920 from taosdata/feature/stream
enh(stream): recover process
2022-08-09 23:35:03 +08:00
Liu Jicong fc225a580d enh(stream): recover process 2022-08-09 21:37:21 +08:00
wangmm0220 c381ffd38c fix:error in tmq for snapshot 2022-08-09 19:06:24 +08:00
54liuyao 41e2538ade scalable bloom filter encode & decode 2022-08-09 16:54:59 +08:00
Liu Jicong 379cdc0566
Merge pull request #15889 from taosdata/feature/stream
fix(stream): memory error
2022-08-09 14:48:01 +08:00
Liu Jicong d9a4ea305d fix(stream): memory error 2022-08-09 14:11:41 +08:00
Haojun Liao b9c6e0cdf9 refactor: stream invoke previous APIs. 2022-08-09 13:55:51 +08:00
Haojun Liao a2a1da06dd other:merge 3.0 2022-08-09 13:45:44 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Liu Jicong 5c0747aa18
Merge pull request #15877 from taosdata/feature/stream
enh(stream): stream recover
2022-08-09 11:16:49 +08:00
Liu Jicong ad032a0a90 enh(stream): stream recover 2022-08-09 10:36:27 +08:00
Li Minghao 7722f88093
Merge pull request #15861 from taosdata/feature/3.0_mhli
refactor(sync): speed up replicate
2022-08-08 20:36:49 +08:00
Liu Jicong 87c1656f52
Merge pull request #15859 from taosdata/feature/stream
fix(stream): memory leak
2022-08-08 19:55:13 +08:00
Minghao Li df18cc5f47 refactor(sync): speed up replicate 2022-08-08 19:46:37 +08:00
Xiaoyu Wang 5d3a69305b
Merge pull request #15860 from taosdata/feature/3.0_wxy
fix: project adds whether to ignore the field of group id
2022-08-08 19:19:32 +08:00
Xiaoyu Wang 4345631d3c fix: project adds whether to ignore the field of group id 2022-08-08 18:32:04 +08:00
Liu Jicong c411b9aebb fix(stream): memory leak 2022-08-08 18:09:36 +08:00
shenglian-zhou 035eb6c7a1
Merge pull request #15840 from taosdata/szhou/fix/leave
fix: ensure capacity before join left and right
2022-08-08 17:03:25 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Liu Jicong 3d837cf885
Merge pull request #15841 from taosdata/feature/stream
refactor(stream): add stream meta
2022-08-08 16:02:02 +08:00
slzhou 1404adcc7e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/leave 2022-08-08 15:25:08 +08:00
slzhou e9f79254fb fix: merge spread into output when input spread has result 2022-08-08 15:23:55 +08:00
Liu Jicong bb0ce39511 refactor(stream): add stream meta 2022-08-08 15:05:54 +08:00
Liu Jicong c536749b83
Merge pull request #15831 from taosdata/feature/stream
refactor(stream)
2022-08-08 13:12:56 +08:00
Liu Jicong 43026ac31d refactor(stream) 2022-08-08 11:29:50 +08:00
wangmm0220 9f9788c205 Merge branch '3.0' into feature/TD-14761 2022-08-08 10:04:03 +08:00
shenglian zhou 03aae25b63 fix: function rename and trigger ci test 2022-08-07 06:39:26 +08:00
shenglian zhou 28eda93ab3 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/nullgroup 2022-08-06 21:50:05 +08:00
shenglian zhou 81d3a2c385 fix: last/first must return not null values 2022-08-06 21:39:53 +08:00
yihaoDeng 6930b393d6 start timer for particular msg 2022-08-06 20:53:42 +08:00
wangmm0220 1309c489e2 fix:error in tmq for snapshot 2022-08-06 19:31:53 +08:00
Yihao Deng f66278b39a
Merge pull request #15803 from taosdata/feature/startTimer
feature: start timer for particular msg
2022-08-06 19:17:55 +08:00
dapan1121 fd654b126a fix: fix taosd memory leak issue 2022-08-06 18:00:26 +08:00
dapan1121 bcce0d1aac
Merge pull request #15771 from taosdata/enh/ctgPerf
enh: improve catalog performance
2022-08-06 16:54:22 +08:00
yihaoDeng ecd560ccb0 start timer for particular msg 2022-08-06 15:30:11 +08:00
Haojun Liao c054ed889b other: merge 3.0 2022-08-06 15:26:34 +08:00
wangmm0220 f28155714e fix:confilcts from 3.0 2022-08-06 12:31:15 +08:00
wangmm0220 45e7597df3 feat:get data from snapshot for taosx 2022-08-05 21:12:18 +08:00
Liu Jicong b3fa64a060
Merge pull request #15782 from taosdata/feature/stream
refactor(stream): unify sink and dispatch
2022-08-05 21:09:33 +08:00
Liu Jicong 7c9d57bd89 refactor(stream): unify sink and dispatch 2022-08-05 20:16:47 +08:00
Haojun Liao 1063064a59 enh(query): support filter by SMA. 2022-08-05 17:40:40 +08:00
Liu Jicong ebe133a5b8
Merge pull request #15772 from taosdata/feature/stream
fix(util): concurrently hash iterate
2022-08-05 16:52:55 +08:00
Liu Jicong f0f4748320 fix(util): concurrently hash iterate 2022-08-05 16:14:19 +08:00
dapan1121 c1c3513b08 Merge branch '3.0' into enh/ctgPerf 2022-08-05 16:09:30 +08:00
Cary Xu a179b6e64d fix: solve stream input data block leak 2022-08-05 01:37:54 +08:00
Xiaoyu Wang 8fc86a31d0 enh: asynchronous catalog interface optimization 2022-08-04 20:53:43 +08:00
dapan1121 27d223356a enh: merge multiple blocks in one rsp msg 2022-08-04 20:41:30 +08:00
Liu Jicong 6f8683de7e enh(tmq): retry consumer close 2022-08-04 20:37:02 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Liu Jicong e64e41679e fix schedule 2022-08-04 17:00:45 +08:00
Liu Jicong d6cc88ed4b refactor(stream): exec scheduler 2022-08-04 16:19:53 +08:00
wangmm0220 c3cd858a63 feat:add snapshot for tmq in stable and db 2022-08-04 15:01:59 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang 415ff2b13b
Merge pull request #15690 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-08-03 11:25:55 +08:00
Liu Jicong c089d3ba08 merge 3.0 2022-08-02 22:53:49 +08:00
Liu Jicong d43eec5d16 enh(stream): directly dispatch 2022-08-02 22:23:33 +08:00
Xiaoyu Wang adc8bd236b fix: some problems of parser 2022-08-02 20:55:25 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
Xiaoyu Wang f8bd778979 enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions 2022-08-02 16:18:53 +08:00
Haojun Liao b683754ff7 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-02 15:45:13 +08:00
dapan1121 517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
Li Minghao b0746d9a0b
Merge pull request #15660 from taosdata/feature/3.0_mhli
feat(sync): set batch-size 1
2022-08-02 09:57:55 +08:00
Xiaoyu Wang a62a7cc41f enh: aggregate and window add field for merge data blocks 2022-08-01 21:05:44 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Liu Jicong de582a924a
Merge pull request #15655 from taosdata/feature/stream
feat(tq): transport snapshot
2022-08-01 19:48:57 +08:00
Minghao Li af683b1e6c feat(sync): set batch-size 1 2022-08-01 19:45:39 +08:00
Liu Jicong b084dd8ee6 feat(tq): transport snapshot 2022-08-01 19:12:37 +08:00
liuyao a01ebbbf45
Merge pull request #15644 from taosdata/feature/TD-17811
feat(stream):optimize stream update scan
2022-08-01 17:51:17 +08:00
Liu Jicong 16bf52bf8f
Merge pull request #15611 from taosdata/feature/stream
refactor(stream): use vnode meta
2022-08-01 17:41:19 +08:00
Xiaoyu Wang a73ea6f9ea
Merge pull request #15638 from taosdata/feature/3.0_wxy
fix: some problems of parser and planner
2022-08-01 17:20:27 +08:00
54liuyao b3d104349f feat(stream):optimize stream update scan 2022-08-01 17:09:46 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
Ganlin Zhao b0becf1ca9 fix(query): fix n-1 function if select column after function position
result row is incorrect.

fix/TD-18040
2022-08-01 14:15:16 +08:00
Liu Jicong bb6fabcc11 refactor(stream): use vnode meta 2022-07-30 20:20:12 +08:00
Xiaoyu Wang 67c0c7e473 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-07-30 15:30:33 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
Haojun Liao ed57347579 fix(query): fix memory leak. 2022-07-30 11:30:31 +08:00
Xiaoyu Wang 31126d5390 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-07-29 20:41:39 +08:00
Xiaoyu Wang 41b8ef7d93 enh: cumulative functions support mixed use 2022-07-29 18:00:48 +08:00
Xiaoyu Wang 547ab7028b enh: last function optimize 2022-07-29 13:38:24 +08:00
Xiaoyu Wang d7a525f21f Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-29 09:28:52 +08:00
Xiaoyu Wang fc0780c35a enh: last function optimize 2022-07-28 19:27:37 +08:00
Li Minghao 3bb89e7097
Merge pull request #15524 from taosdata/feature/3.0_mhli
refactor(sync): modify propose batch interface
2022-07-28 19:03:06 +08:00
Minghao Li 64f4325bd7 refactor(sync): modify propose batch interface 2022-07-28 17:55:15 +08:00
Liu Jicong e71375f1ec
Merge pull request #15516 from taosdata/feature/stream
enh(stream): recover
2022-07-28 17:25:00 +08:00
Liu Jicong a9d11b58ad enh(stream): recover 2022-07-28 16:19:50 +08:00
Liu Jicong d45c7bb346
Merge pull request #15496 from taosdata/feature/stream
enh(wal): remove file failure handling
2022-07-28 14:15:08 +08:00
Liu Jicong 0c942e622a enh(wal): remove file failure handling 2022-07-28 13:37:57 +08:00
Liu Jicong cf54ec5551
Merge pull request #15475 from taosdata/feature/stream
refactor(stream): remove option
2022-07-27 21:56:26 +08:00
WANG MINGMING 7badec9ecc
Merge pull request #15477 from taosdata/feature/TD-14761
feat:add ts,table name from SDeleterRes
2022-07-27 20:16:00 +08:00
Liu Jicong ba0c1b3689 refactor(stream) 2022-07-27 20:11:03 +08:00
Xiaoyu Wang b12fa7494e enh: add interface for dynamic control data scan 2022-07-27 18:28:54 +08:00
wangmm0220 2ba6ac5fba feat:add ts,table name from SDeleterRes 2022-07-27 17:11:57 +08:00
Liu Jicong 5e1bbe0e7e refactor(sma): remove option 2022-07-27 16:55:23 +08:00
Liu Jicong 00acf4520c refactor(stream): remove option 2022-07-27 16:49:03 +08:00
Xiaoyu Wang 58514862e6 feat: delete sink node add ts column name attribute 2022-07-27 15:25:57 +08:00
Xiaoyu Wang cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
dapan1121 2956422239
Merge pull request #15461 from taosdata/fix/stbmetadelete
fix: fix stb meta removed issue
2022-07-27 14:51:13 +08:00
Liu Jicong 3167f158d1
Merge pull request #15454 from taosdata/feature/stream
fix(stream): dispatch
2022-07-27 12:39:37 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
dapan1121 a17925131f fix: fix stb meta removed issue 2022-07-27 11:12:31 +08:00
Liu Jicong 3fa5791889 fix(stream): dispatch 2022-07-27 10:52:25 +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
Liu Jicong ad9c3cbd8c
Merge pull request #15427 from taosdata/fix/wal
enh: add wal options to db
2022-07-26 16:38:20 +08:00
Ganlin Zhao af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +08:00
Liu Jicong dd18eeb6bd Merge branch '3.0' into feature/stream 2022-07-26 13:33:49 +08:00
Liu Jicong 0b8e9af8ec refactor(wal) 2022-07-26 13:33:26 +08:00
Xiaoyu Wang 1ddbff0acf feat: add db options of wal 2022-07-25 21:09:06 +08:00
Xiaoyu Wang aefdf8bbcd
Merge pull request #15354 from taosdata/feature/3.0_debug_wxy
feat: super table order by primary key optimization
2022-07-25 17:33:57 +08:00
Ganlin Zhao 8794b0d464 Merge branch '3.0' into enh/TD-17659 2022-07-25 17:25:05 +08:00
Xiaoyu Wang 8bb432c348 feat: super table order by primary key optimization 2022-07-25 16:45:23 +08:00
Ganlin Zhao db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +08:00
Shengliang Guan 5b654779ba Merge pull request #15372 from taosdata/fix/tsim
test: regression case
2022-07-25 15:23:41 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +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
Li Minghao 1986b77f54
Merge pull request #15359 from taosdata/feature/3.0_mhli
refactor(sync): add ref id in raft entry
2022-07-23 19:57:38 +08:00
Minghao Li dcdb7144c4 refactor(sync): delete timeout check 2022-07-23 19:54:56 +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 998dedb9fa other: merge 3.0 2022-07-22 21:16:52 +08:00
Liu Jicong 43abf0d3f1
Merge pull request #15309 from taosdata/feature/tq
fix: memory leak
2022-07-22 19:12:15 +08:00
Liu Jicong e1046c7a98 fix: memory leak 2022-07-22 18:11:29 +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
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 958f3586c0 fix: the problem of data loss when interval is used for outer query 2022-07-22 11:41:18 +08:00
Haojun Liao 8a2fb51129
Merge pull request #15230 from taosdata/feature/3_liaohj
fix(query): add query involved column info
2022-07-21 20:29:25 +08:00
Cary Xu ada2eb232e fix: resource cleanup and rsma result build 2022-07-21 19:46:55 +08:00
Xiaoyu Wang dad14a28c9 merge 3.0 2022-07-21 19:24:14 +08:00
Xiaoyu Wang 1979801c93 fix: the problem of data loss when interval is used for outer query 2022-07-21 19:21:15 +08:00
Liu Jicong 81d8d2b937 feat(stream): add version in stream block 2022-07-21 17:27:44 +08:00
dapan1121 313d4e977b
Merge pull request #15161 from taosdata/fix/TD-15197
fix: fix stmt memory leak
2022-07-21 15:57:18 +08:00
54liuyao f5a326dbf4 feat(stream): optimize update data check 2022-07-21 15:16:57 +08:00
Xiaoyu Wang 9b9c403087 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-21 14:36:19 +08:00
Xiaoyu Wang c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +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
dapan1121 976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
dapan1121 85684cebb8 fix: fix mem leak 2022-07-20 18:48:27 +08:00
Liu Jicong bf37f3fa68 feat(wal): remove wal log size limitation 2022-07-20 16:15:53 +08:00
yihaoDeng 31cfa1fa5b fix: avoid rpc mem leak 2022-07-20 14:14:46 +08:00
Liu Jicong a3133b9f6d feat(wal): log applied ver 2022-07-20 10:55:28 +08:00
dapan1121 5ed719c727 fix: fix catalog memory leak 2022-07-20 09:39:58 +08:00
Liu Jicong 414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Haojun Liao 282630a394 Merge branch '3.0' into feature/3_liaohj 2022-07-19 17:42:45 +08:00
Haojun Liao cd2eaf0152 fix(query): set the output column number for subscribe. 2022-07-19 16:01:28 +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
liuyao 59b0f99f3b
Merge pull request #15110 from taosdata/feature/TD-17357
feat(stream): add num of children
2022-07-19 14:48:48 +08:00
54liuyao 8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Minghao Li fc08a35fbf refactor(sync): update sync-timeout to 10s 2022-07-19 13:52:02 +08:00
Liu Jicong b6f55fa09e refactor(stream): batch optimization for submit msg 2022-07-18 21:32:40 +08:00
Xiaoyu Wang b78ceedba6
Merge pull request #15074 from taosdata/feature/3.0_debug_wxy
feat: sql statement likes 'select * from (select 1)'
2022-07-18 17:36:43 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
Ganlin Zhao 5b12fcb3a1 feat(query): add selective function scalar version 2022-07-18 15:23:28 +08:00
Ganlin Zhao 75371098a6 refactor 2022-07-18 15:14:20 +08:00
Ganlin Zhao a4d86275d2 feat(query): add first/last/last_row scalar version 2022-07-18 15:06:21 +08:00
Ganlin Zhao a80027736d feat(query): add top/bottom function scalar version 2022-07-18 14:47:53 +08:00
Ganlin Zhao 7b5a96fa80 Merge branch '3.0' into feat/agg_client_api 2022-07-18 13:42:58 +08:00
Ganlin Zhao e37bdbd5c9 feat(query): add histogram function scalar version
TD-17344
2022-07-18 13:37:18 +08:00
dapan1121 03e9b15237 fix: fix taosc memory leak 2022-07-18 13:32:17 +08:00
Liu Jicong 6fb3072b43 Merge branch '3.0' into feature/stream 2022-07-18 11:46:59 +08:00
Liu Jicong 500553d581 refactor: add debug log 2022-07-18 11:41:56 +08:00
Li Minghao 046e784c8c
Merge pull request #15031 from taosdata/feature/3.0_mhli
refactor(sync): add index/term in vnodeSnapWriterClose
2022-07-18 10:59:24 +08:00
Ganlin Zhao 1ea48b62c8
Merge pull request #15026 from taosdata/feat/agg_client_api
feat(query): add stateduration function scalar version
2022-07-18 10:48:25 +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
Ganlin Zhao bcb7cb408d Merge branch '3.0' into feat/agg_client_api 2022-07-17 22:54:43 +08:00
Ganlin Zhao 107cb15dbd feat(query): add stateduration function scalar version 2022-07-17 22:52:40 +08:00
Ganlin Zhao e0c7137820
Merge pull request #14994 from taosdata/feat/agg_client_api
feat(query): add statecount function scalar version
2022-07-17 22:50:14 +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
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +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
Minghao Li fdf7930702 refactor(sync): add index/term in snapshot write 2022-07-16 18:09:36 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Ganlin Zhao f645943e5b Merge branch '3.0' into feat/agg_client_api 2022-07-16 17:03:38 +08:00
Ganlin Zhao d3dca0888d
Merge pull request #14989 from taosdata/feat/agg_client_api
feat(query): add diff function scalar version
2022-07-16 16:58:39 +08:00
Ganlin Zhao 3bcd669fcd feat(query): add statecount function scalar version 2022-07-16 16:46:03 +08:00
Ganlin Zhao 8d0701600f
Merge pull request #14981 from taosdata/feat/agg_client_api
feat(query): add hyperloglog/csum scalar version
2022-07-16 16:09:57 +08:00
dapan1121 320ca85a8f Merge branch '3.0' into fix/fixmsgorder 2022-07-16 15:40:50 +08:00
Ganlin Zhao 790cecf123 feat(query): add diff function scalar version 2022-07-16 15:04:45 +08:00
Xiaoyu Wang 20a49e3055
Merge pull request #14978 from taosdata/feature/3.0_debug_wxy
fix: database options 'strict' and 'cachelast' syntax adjustments
2022-07-16 14:50:31 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +08:00
Ganlin Zhao a57d2417c3 feat(query): add hyperloglog scalar version
TD-17344
2022-07-16 14:01:49 +08:00
Ganlin Zhao 59839f0d0a feat(query): add mavg scalar version 2022-07-16 13:41:42 +08:00
Ganlin Zhao 8caa4bcad0 feat(query): add twa function scalar version 2022-07-16 13:34:24 +08:00
Xiaoyu Wang 7c585d8ed9 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 11:47:26 +08:00
Ganlin Zhao 566ab93f83 add derivative scalar version 2022-07-16 11:37:05 +08:00
Ganlin Zhao 598c57e059 feat(query): add irate function scalar version
TD-17344
2022-07-16 11:26:04 +08:00
Ganlin Zhao 624e7b7183 Merge branch '3.0' into feat/agg_client_api 2022-07-16 10:53:57 +08:00
Xiaoyu Wang 2db0b4075f
Merge pull request #14952 from taosdata/feature/3.0_debug_wxy
fix: multi-rows function validity check
2022-07-16 10:11:30 +08:00
Liu Jicong 53d8c2d79a
Merge pull request #14972 from taosdata/feature/stream
feat(stream): pipelined exec for recovering
2022-07-16 10:02:00 +08:00
shenglian-zhou f8276707e5
Merge pull request #14973 from taosdata/szhou/feature/user-tags
fix: enable tag scan optimization when the scan cols is empty before adding ts col
2022-07-16 09:29:40 +08:00
Liu Jicong 280ed4f65d feat(stream): pipelined exec for recovering 2022-07-15 21:29:53 +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
shenglian zhou cede4b7624 fix: enable tag scan optimization when the scan cols is empty before adding ts col 2022-07-15 18:01:04 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Xiaoyu Wang d99b682f76 fix: multi-rows function validity check 2022-07-15 17:58:37 +08:00
Ganlin Zhao cbd2d8f8a2 fix(query): add spread function scalar version
TD-17344
2022-07-15 17:54:45 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
Ganlin Zhao 9de4ad8535 Merge branch '3.0' into feat/agg_client_api 2022-07-15 14:37:08 +08:00
Ganlin Zhao b8a4878b00 fix(query): add leastsquares function scalar version 2022-07-15 14:34:40 +08:00
dapan1121 5ed51e0010 Merge branch '3.0' into fix/fixmsgorder 2022-07-15 14:19:37 +08:00
dapan1121 c67fa0c1ce enh: add taosd query exit processing 2022-07-15 14:17:00 +08:00
dapan1121 c7aa4a108b
Merge branch '3.0' into enh/schPolicy 2022-07-15 13:24:30 +08:00
Yihao Deng 843449f1e4
Merge pull request #14906 from taosdata/enh/addLRUToIdx
feat:add lru to idx
2022-07-15 10:52:52 +08:00
Ganlin Zhao 20ce5b32a9 Merge branch '3.0' into feat/agg_client_api 2022-07-15 10:04:28 +08:00
Yihao Deng a6e71424b4
Merge branch '3.0' into enh/addLRUToIdx 2022-07-15 09:47:35 +08:00
Yihao Deng 590f7c4c4d
Merge pull request #14915 from taosdata/enh/preallocHandle
enh:  prealloc handle
2022-07-15 09:32:29 +08:00
Xiaoyu Wang 9522288f6b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-15 08:44:23 +08:00
Xiaoyu Wang 31e29dfc38 feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 08:43:40 +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
yihaoDeng d7a463da46 feat: prealloc handle to client 2022-07-14 20:31:16 +08:00
Haojun Liao 707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +08:00
Ganlin Zhao 7e661a9e9c feat(query): add avg function scalar version
TD-17344
2022-07-14 20:02:21 +08:00
Ganlin Zhao 256c4aa25b Merge branch '3.0' into feat/agg_client_api 2022-07-14 19:20:45 +08:00
Ganlin Zhao 98e542f884
Merge pull request #14888 from taosdata/feat/agg_client_api
feat(query): add sum/count/max/min function scalar version
2022-07-14 19:09:30 +08:00
dapan1121 ae132e6626 Merge branch '3.0' into enh/schPolicy 2022-07-14 18:44:21 +08:00
dapan1121 12b961c7f5 enh: add schedule policy 2022-07-14 18:42:26 +08:00
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +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
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
yihaoDeng a9e64f2938 feat: add lru to index 2022-07-14 15:17:05 +08:00
yihaoDeng cace9b6be9 feat: add lru to index 2022-07-14 14:51:39 +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
dapan1121 a0f7cc6790 enh: add schedule policy 2022-07-14 14:03:27 +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
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +08:00
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
wangmm0220 3b4c2826b4 Merge branch '3.0' into feature/TD-13041 2022-07-14 10:22:15 +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
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
wangmm0220 d3cdd75b94 Merge branch '3.0' into feature/TD-13041 2022-07-13 19:40:26 +08:00
dapan1121 f69a995ea7
Merge pull request #14861 from taosdata/fix/TD-16763
fix: fix natural timestamp issue
2022-07-13 19:03:49 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
Li Minghao 60703bdd05
Merge pull request #14857 from taosdata/feature/3.0_mhli
refactor(sync): add skiplist entry cache
2022-07-13 17:52:45 +08:00
Ganlin Zhao dd8f235e97 feat(query): add count function scalar version
TD-17344
2022-07-13 17:47:56 +08:00
Liu Jicong a717042acf refactor(stream): simple batch 2022-07-13 17:24:36 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
Liu Jicong 8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
wangmm0220 cd051d40c3 fix:confilct from 3.0 2022-07-13 16:03:39 +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
Minghao Li 473e134f31 refactor(sync): add resp ttl clean 2022-07-12 16:57:19 +08:00
Liu Jicong d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +08:00
wangmm0220 f9d5c809c9 fix:conflict from 3.0 2022-07-11 19:06:36 +08:00
Liu Jicong 6d9727579b
Merge pull request #14761 from taosdata/feature/stream
feat(wal): add append interface
2022-07-11 16:50:28 +08:00
Liu Jicong c6052fadba feat(wal): add append interface 2022-07-11 16:22:51 +08:00
Xiaoyu Wang 0bc700eb82 feat: sql command 'trim database' 2022-07-11 10:53:06 +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 711f960827 Merge branch '3.0' into feature/stream 2022-07-10 21:24:18 +08:00
Liu Jicong 219d966b25 fix(wal): read after rolling 2022-07-10 21:02:25 +08:00
wangmm0220 b1c290f6dc fix:conflicts 2022-07-10 18:57:34 +08:00
wangmm0220 607f8163d3 feat:add logic for get_tmq_meta_json 2022-07-10 18:54:58 +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 6a3124a5f9 Merge remote-tracking branch 'origin/enh/in' into feature/3.0_debug_wxy 2022-07-10 17:31:37 +08:00
dapan1121 6cd21fe04b enh: enhance in operator 2022-07-10 16:52:11 +08:00
Xiaoyu Wang bd210bf392 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 16:45:14 +08:00
Liu Jicong 9189f886a9 feat(tmq): support consume from tsdb then wal 2022-07-10 16:34:45 +08:00
Xiaoyu Wang a64a0320a0 fix: some problem of parser and planner 2022-07-10 15:21:16 +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
Hongze Cheng 4a4018a31f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-10 02:46:01 +00:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
WANG MINGMING 30b1af3feb
Merge pull request #14700 from taosdata/feature/TD-13041
feat:write meta from tmq to taosd
2022-07-10 10:22:51 +08:00
Hongze Cheng 668ca4a4fb Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-10 01:51:45 +00:00
Shengliang Guan c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Haojun Liao fceee02622
Merge branch '3.0' into feature/3_liaohj 2022-07-09 11:11:11 +08:00
Haojun Liao c5ccdfd4e9 fix(query): set the correct resource free flag. 2022-07-09 11:06:41 +08:00
Hongze Cheng 0840affc32 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-08 12:33:12 +00:00
Shengliang Guan e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
wangmm0220 6b46423a97 feat:write meta from tmq to taosd 2022-07-08 18:37:47 +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
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
Haojun Liao 3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +08:00
Shengliang Guan 361c21a35c refactor: adjust logs 2022-07-08 17:27:06 +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
Li Minghao d94680c3c4
Merge pull request #14676 from taosdata/feature/3.0_mhli
fix(sync): append entries batch
2022-07-08 16:07:22 +08:00
Minghao Li 1ee5468411 fix(sync): append entries batch 2022-07-08 14:47:00 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
Xiaoyu Wang f3e70272cf Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-08 09:37:34 +08:00
Liu Jicong 866e4c4be0 refactor(stream): internal refactor 2022-07-07 17:56:52 +08:00
Hongze Cheng 71331d79b7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-07 09:02:30 +00:00
Liu Jicong 4a648d711f feat(wal): support filter 2022-07-07 13:56:47 +08:00
Liu Jicong 1ec57798d2 ci: remove unstable case 2022-07-07 11:45:28 +08:00
Liu Jicong 82e0f77715 Merge branch '3.0' into feature/stream 2022-07-07 10:48:09 +08:00
Hongze Cheng 089d5e6150 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-07 01:37:50 +00:00
Yihao Deng 31655c07d7
Merge pull request #14611 from taosdata/feat/idxFix1
enh: refactor idx code
2022-07-07 09:21:06 +08:00
Hongze Cheng fdf6d22d1b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-07 01:17:00 +00:00
dapan1121 d4696ef31f Merge branch '3.0' into feature/insertselect 2022-07-07 09:02:09 +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
dapan1121 d625cc2e47 feat: insert from query 2022-07-06 21:00:31 +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
Hongze Cheng bf0b37390d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-06 12:24:27 +00:00
Xiaoyu Wang 0bf399a67e merge 3.0 2022-07-06 18:53:54 +08:00
Xiaoyu Wang 025b7782e1 feat: add db option 'cachelastsize' 2022-07-06 18:47:33 +08:00
yihaoDeng 1e5ddcb92f merge 3.0 2022-07-06 18:29:11 +08:00
Haojun Liao 65f53993c4
Merge pull request #14606 from taosdata/feature/3_liaohj
fix(query): set results for local query in async APIs.
2022-07-06 18:06:48 +08:00
Hongze Cheng 0901640ba2 make snapshot compile 2022-07-06 09:46:14 +00:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
Hongze Cheng 35fb7bbd31 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-06 09:36:32 +00:00
Li Minghao 767d21fa81
Merge pull request #14604 from taosdata/feature/3.0_mhli
refactor(sync): add term in rpcMsg
2022-07-06 17:35:07 +08:00
Haojun Liao 1e18ba19c8 fix(query): set results for local query in async APIs. 2022-07-06 17:25:39 +08:00
Xiaoyu Wang e9d2587925
Merge pull request #14602 from taosdata/feature/3.0_debug_wxy
feat: sql command 'insert ... select'
2022-07-06 17:24:44 +08:00
Minghao Li b73914fb0d refactor(sync): add term in rpcMsg 2022-07-06 16:52:39 +08:00
dapan1121 0d4fb5bb80 feat: support insert from query 2022-07-06 16:29:51 +08:00
Xiaoyu Wang c1eef9911b feat: sql command 'insert ... select' 2022-07-06 16:16:54 +08:00
Minghao Li cc9888837e refactor(sync): add vnodeSnapshotStopRead into callback 2022-07-06 16:05:57 +08:00
Minghao Li 78efbaabe1 refactor(sync): add syncGetSnapshotByIndex 2022-07-06 15:16:52 +08:00
Liu Jicong 8c5dbde918 refactor(stream): stream reader created in scanner 2022-07-06 14:20:07 +08:00
Haojun Liao 916dbebb00 other: merge 3.0 2022-07-06 13:49:39 +08:00
Xiaoyu Wang fd0202ed99
Merge pull request #14572 from taosdata/feature/3.0_debug_wxy
feat: sql command 'insert ... select'
2022-07-06 13:46:55 +08:00
Haojun Liao 29949a965b other: merge 3.0. 2022-07-06 13:46:24 +08:00
Shengliang Guan 44bdb5111b
Merge pull request #14582 from taosdata/fix/idxMemLeak
fix:  index mem leak
2022-07-06 13:33:21 +08:00
Li Minghao cd71d869a2
Merge pull request #14584 from taosdata/feature/3.0_mhli
refactor(sync): snapshot strategy
2022-07-06 13:15:26 +08:00
Xiaoyu Wang 2a52beb56b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-06 13:14:29 +08:00
Minghao Li 8a4e251be7 fix(sync): batch propose 2022-07-06 10:32:17 +08:00
yihaoDeng 5e581cdfbc fix index mem leak 2022-07-06 10:29:44 +08:00
dapan1121 2d6ddba37c Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-06 10:16:19 +08:00
yihaoDeng 3d8e6d2e10 Merge branch 'dev' into idx 2022-07-05 21:28:30 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
dapan1121 473ac84f2f fix: fix compile errors 2022-07-05 18:12:01 +08:00
dapan1121 cd0cf055e5 Merge branch '3.0' into feature/insertselect 2022-07-05 16:17:04 +08:00
dapan1121 b5207239b5 enh: refactor scheduler code 2022-07-05 16:10:38 +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
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
dapan1121 7f0cc9ca22
Merge pull request #14509 from taosdata/enh/addconverttype
enh: add type convert api
2022-07-04 19:52:35 +08:00
slzhou a380e0cd7c feat: merge condition, on condition and other conditions 2022-07-04 19:49:16 +08:00
Yihao Deng 7ae8787cef
Merge pull request #14511 from taosdata/enh/killQuery
enh: enhance kill query processing
2022-07-04 19:39:32 +08:00
Li Minghao c45e0d5112
Merge pull request #14513 from taosdata/feature/3.0_mhli
refactor(sync): add sync strategy
2022-07-04 18:40:41 +08:00
dapan1121 37b303f531 Merge branch '3.0' into enh/killQuery 2022-07-04 17:45:03 +08:00
dapan1121 57836d8bb2 enh: add type convert api 2022-07-04 17:40:20 +08:00
yihaoDeng ba72ce2b8e Merge branch 'dev' into idx 2022-07-04 16:39:28 +08:00