Commit Graph

8071 Commits

Author SHA1 Message Date
Li Minghao 649218fee9
Merge pull request #15145 from taosdata/feature/3.0_mhli
refactor(sync): restart heartbeat timer after replicate
2022-07-19 19:57:44 +08:00
Ganlin Zhao 1f75dbb862 Merge branch '3.0' into fix/TD-17511 2022-07-19 19:50:49 +08:00
Xiaoyu Wang 68dd74bcb3
Merge pull request #15117 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show tags from table_name'
2022-07-19 19:49:59 +08:00
Ganlin Zhao d9d6409249 fix(query): forbid use null as input for first/last/last_row
TD-17526
2022-07-19 19:47:46 +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
Ganlin Zhao 0fccf06555
Merge pull request #15127 from taosdata/fix/TD-17511
fix(query): change cast function input limit from 1000->4096 bytes
2022-07-19 19:24:33 +08:00
shenglian zhou 4901b59530 fix: optimizing to do tag scan when tbname exists 2022-07-19 19:13:15 +08:00
Minghao Li 30bf78af96 refactor(sync): restart heartbeat timer after replicate 2022-07-19 19:04:11 +08:00
Xiaoyu Wang 6d5d6746f2 feat: sql command 'show tags from table_name' 2022-07-19 18:51:06 +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
Li Minghao 12a3044fa0
Merge pull request #15133 from taosdata/feature/3.0_mhli
refactor(sync): add trace log
2022-07-19 18:43:35 +08:00
WANG MINGMING 06b9564e20
Merge pull request #15132 from taosdata/feature/TD-14761
fix:<TD-17539> error if stable alreadys & modify tmq struct
2022-07-19 18:33:33 +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
Minghao Li 991d6fd8a1 refactor(sync): add trace log 2022-07-19 17:20:59 +08:00
wangmm0220 3033afd6e8 fix:<TD-17539> error if stable alreadys & modify tmq struct 2022-07-19 17:20:15 +08:00
dapan1121 fdd9f3c406 Merge branch 'enh/transMemLeak' into fix/TD-15197 2022-07-19 16:57:49 +08:00
yihaoDeng c0a21dc911 avoid mem leak 2022-07-19 16:56:37 +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
Ganlin Zhao dea45f6cfb Merge branch '3.0' into fix/TD-17511 2022-07-19 16:48:58 +08:00
dapan1121 d2e780b14e fix: fix memory leak 2022-07-19 16:47:53 +08:00
Ganlin Zhao 78e8d84855 fix(query): change cast function input limit from 1000->4096 bytes
TD-17497
2022-07-19 16:47:24 +08:00
Haojun Liao 79b0240a87 fix(query): fix some memory leak. 2022-07-19 16:34:26 +08:00
Xiaoyu Wang 1ad25d9e98 feat: sql command 'show tags from table_name' 2022-07-19 16:25:45 +08:00
Ganlin Zhao 9307a41684
Merge pull request #15113 from taosdata/fix/TD-17511
fix(query): fix mode function processing all null column
2022-07-19 16:22:34 +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
Xiaoyu Wang 6ab444016b feat: sql command 'show tags from table_name' 2022-07-19 15:35:51 +08:00
Xiaoyu Wang 5988fc0e4a feat: sql command 'show tags from table_name' 2022-07-19 15:31:44 +08:00
Li Minghao a390adfd17
Merge pull request #15111 from taosdata/feature/3.0_mhli
refactor(sync): add trace log
2022-07-19 15:24:20 +08:00
dapan1121 9a08b77e59 Merge branch '3.0' into fix/TD-15197 2022-07-19 15:19:08 +08:00
dapan1121 80808766c1 fix: fix memory leak 2022-07-19 15:17:43 +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
Ganlin Zhao 78ac19b57f Merge branch '3.0' into fix/TD-17511 2022-07-19 14:55:24 +08:00
Ganlin Zhao ed51c8e329 fix(query): fix mode function processing all null column
TD-17024
2022-07-19 14:54:18 +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
Li Minghao 8f7ecfd3f7
Merge pull request #15108 from taosdata/feature/3.0_mhli
refactor(sync): update sync-timeout to 10s
2022-07-19 14:36:30 +08:00
Minghao Li 329ba3cee8 refactor(sync): add trace log 2022-07-19 14:34:39 +08:00
Minghao Li bab592e071 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-19 14:30:08 +08:00
shenglian zhou ea102128ba fix: remove scan cols and ts target from scan node when tag scan 2022-07-19 14:25:38 +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
Ganlin Zhao 58ba4f8cf7 Merge branch '3.0' into fix/TD-17511 2022-07-19 11:47:48 +08:00
Ganlin Zhao ca5e959a1e fix(query): fix derivative nan value
TD-17511
2022-07-19 11:46:17 +08:00
Li Minghao 660f36e410
Merge pull request #15099 from taosdata/feature/3.0_mhli
refactor(sync): delete not exist log
2022-07-19 11:34:49 +08:00
Minghao Li 659b4fa728 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-19 11:18:25 +08:00
Minghao Li 651ae5832e refactor(sync): delete not exist log 2022-07-19 10:46:47 +08:00
WANG MINGMING 1c03d61edc
Merge pull request #15077 from taosdata/feature/TD-14761
fix:<TD-17324> ts already exist when insert with schemaless & modify the interface of tmq meta
2022-07-19 10:35:07 +08:00
Haojun Liao c9e39e722a Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-19 10:28:51 +08:00
Haojun Liao 63fbc866d4 Merge branch '3.0' into feature/3_liaohj 2022-07-19 13:53:50 +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
wangmm0220 802c86fe17 fix:error when bind ts column in schemaless 2022-07-19 09:58:51 +08:00
shenglian zhou 30c43a3304 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/td-17505 2022-07-19 09:48:34 +08:00
shenglian zhou 792170b0f5 fix: remove agg node after apply tag scan optimization 2022-07-19 09:48:04 +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
Liu Jicong b6f55fa09e refactor(stream): batch optimization for submit msg 2022-07-18 21:32:40 +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
Ganlin Zhao a3bde4d465 Merge branch '3.0' into fix/TD-17400 2022-07-18 20:06:09 +08:00
Minglei Jin 52dd4b2c5c
Merge pull request #15079 from taosdata/fix/tdb-cleanup
fix(tdb): make txn write when insert subdb into main db
2022-07-18 19:18:52 +08:00
dapan1121 1444054437 fix: fix stmt memory leak 2022-07-18 18:57:47 +08:00
Li Minghao 9d31fc348c
Merge pull request #15073 from taosdata/feature/3.0_mhli
refactor(sync): add restart heartbeat timer
2022-07-18 18:45:26 +08:00
Ganlin Zhao 8eb17a28d2 Merge branch '3.0' into fix/TD-17400 2022-07-18 17:36:56 +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
Minglei Jin 1d3648fc9b fix(tdb): make txn write when insert subdb into main db 2022-07-18 17:31:11 +08:00
Zhiqiang Wang 2453331aea
Merge pull request #15072 from taosdata/fix/ZhiqiangWang/TD-13063-fix-win-format-negative-timestamp-error
os: win format negative timestamp error
2022-07-18 17:29:49 +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
Ganlin Zhao f57ad234dc fix(query): fix function first/last do not support constant input
TD-17400
2022-07-18 16:59:03 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
Minghao Li 7187c87d35 refactor(sync): add restart heartbeat timer 2022-07-18 16:55:24 +08:00
afwerar fa96e64ee0 os: win format negative timestamp error 2022-07-18 16:53:20 +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
Ganlin Zhao 670b8c926b
Merge pull request #15066 from taosdata/feat/agg_client_api
feat(query): add selective function scalar version
2022-07-18 16:26:24 +08:00
Liu Jicong 3dbe5e7730
Merge pull request #15067 from taosdata/feature/stream
fix(stream): data exec
2022-07-18 16:15:18 +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
shenglian-zhou e13d101829
Merge pull request #15061 from taosdata/szhou/fix/td-17410
fix: set output to false for projections of project logic node
2022-07-18 15:51:43 +08:00
Liu Jicong 053786e6b4 fix(stream): data exec 2022-07-18 15:50:36 +08:00
wangmm0220 00bb6ed309 fix:conflicts from 3.0 2022-07-18 15:41:35 +08:00
wangmm0220 34c87dc428 fix:<TD-17324> ts already exist when insert with schemaless & modify the interface of tmq meta 2022-07-18 15:33:42 +08:00
Haojun Liao eebbbce4f3 fix(query): filter new added child table for stream scan operator. 2022-07-18 15:31:39 +08:00
Ganlin Zhao 5b12fcb3a1 feat(query): add selective function scalar version 2022-07-18 15:23:28 +08:00
shenglian zhou 23d0c9d67b fix: set output to false for projections of project logic node 2022-07-18 15:20:20 +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 46a2d9bad4 Merge branch '3.0' into feat/agg_client_api 2022-07-18 14:51:59 +08:00
Ganlin Zhao afc48c3d55
Merge pull request #15051 from taosdata/feat/agg_client_api
feat(query): add histogram function scalar version
2022-07-18 14:48:47 +08:00
Ganlin Zhao a80027736d feat(query): add top/bottom function scalar version 2022-07-18 14:47:53 +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 570ca3bbda
Merge pull request #15053 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-18 14:23:42 +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
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
Haojun Liao 1ed388c0ce
Merge pull request #15016 from taosdata/feature/3_liaohj
fix(query): add limit/offset implementation in exchange operator.
2022-07-18 10:57:46 +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
Haojun Liao 95db2fb8a8
Merge branch '3.0' into feature/3_liaohj 2022-07-18 10:01:32 +08:00
Minghao Li 9f94dcb384 refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-18 09:45:33 +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
dapan1121 3101633bbf fix: fix scalar crash issue 2022-07-18 08:47:05 +08:00
Yihao Deng 41ed88908f
Merge pull request #15015 from taosdata/fix/fixFst
fix:  fst bug
2022-07-18 08:33:41 +08:00
shenglian-zhou 878bd921e1
Merge pull request #15022 from taosdata/szhou/feature/user-tags
feat: processing nchar and json columns of user tags
2022-07-17 22:58:42 +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 b009c76b7f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 22:20:55 +08:00
Cary Xu 5ef9239c74
Merge pull request #14979 from taosdata/feature/grant-3.0
feat: support grant
2022-07-17 22:16:00 +08:00
shenglian zhou 1792e49dcc Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 21:38:16 +08:00
shenglian zhou af1350a6dd feat: processing nchar and json columns of user tags 2022-07-17 21:37:59 +08:00
Shengliang Guan f40b0ad7e0 Merge branch '3.0' into feature/3_liaohj 2022-07-17 19:04:13 +08:00
Minglei Jin a579331c70
Merge pull request #15002 from taosdata/fix/tdb-multidb
fix/tdb: first round multi-db implementation
2022-07-17 15:32:17 +08:00
Minglei Jin 73e91f6491 fix wal kill case 2022-07-17 14:27:13 +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
Minglei Jin 24e40fcc39 fix memory issue 2022-07-17 00:14:36 +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
yihaoDeng b1ed45fcf1 fix fst bug 2022-07-16 21:00:11 +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
Xiaoyu Wang 841a3f5651
Merge pull request #15004 from taosdata/feature/3.0_debug_wxy
some problems of planner
2022-07-16 19:43:29 +08:00
Minglei Jin c6b2b2f98a fix: return 0 if page's already dirty 2022-07-16 19:37:17 +08:00
Xiaoyu Wang 43852a0e69 some problems of planner 2022-07-16 19:15:14 +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
Minghao Li fdf7930702 refactor(sync): add index/term in snapshot write 2022-07-16 18:09:36 +08:00
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +08:00
54liuyao 069778c676 feat(stream): add log 2022-07-16 17:32:40 +08:00
Minglei Jin c816f795cd fix/tdb: first round multi-db implementation 2022-07-16 17:27:29 +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
Li Minghao 4e18941000
Merge pull request #14990 from taosdata/feat/tsdb_snapshot
feat(tsdb/sync): tsdb snapshot/sync integration
2022-07-16 17:09:08 +08:00
Ganlin Zhao f645943e5b Merge branch '3.0' into feat/agg_client_api 2022-07-16 17:03:38 +08:00
Ganlin Zhao 810be53374 fix(query): fix state operator check 2022-07-16 17:01:44 +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
Minghao Li c978bd10ec fix(sync): do not sender snapshot when there's wal 2022-07-16 16:23:56 +08:00
Haojun Liao a6e61c7757
Merge pull request #14983 from taosdata/feature/3_liaohj
fix(query): disable the optimized implementation of first/last/lastrow function.
2022-07-16 16:17:51 +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
shenglian zhou 96495363d7 feat: add user tags system table 2022-07-16 16:03:45 +08:00
Minghao Li 5cefb68dde fix(sync): snapshot end index 2022-07-16 16:00:16 +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
Minghao Li 6f29fd4020 fix(sync): snapshot begin index 2022-07-16 15:34:22 +08:00
Haojun Liao ea4a252305 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-07-16 15:19:27 +08:00
Haojun Liao 83b44e2ffa fix(query):support multigroup in groupby operator. 2022-07-16 16:30:09 +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
Haojun Liao 46c6302a33 other: merge 3.0 2022-07-16 14:47:22 +08:00
Haojun Liao 55407c50e5 fix(query): disable the optimized implementation of first/last/lastrow function. 2022-07-16 14:44:31 +08:00
shenglian zhou 9fccdce05a feat: add user tags to information schema 2022-07-16 14:38:03 +08:00
Xiaoyu Wang 299e117d38 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 14:22:30 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +08:00
Ganlin Zhao 6d63d1b5b8 fix count scalar function behavior 2022-07-16 14:07:32 +08:00
Haojun Liao eeb8709241 fix(query): add returned code check. 2022-07-16 14:05:26 +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
Cary Xu 2e9e36d0f8 Merge branch '3.0' into feature/grant-3.0 2022-07-16 11:54:26 +08:00
Xiaoyu Wang 7c585d8ed9 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 11:47:26 +08:00
Ganlin Zhao ee5d2c1d82 refactor 2022-07-16 11:46:49 +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
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
Xiaoyu Wang 52327cc2fb fix: multi-rows function validity check 2022-07-16 09:44:52 +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
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
Liu Jicong 280ed4f65d feat(stream): pipelined exec for recovering 2022-07-15 21:29:53 +08:00
Haojun Liao b4122f8816 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-15 20:56:59 +08:00
Haojun Liao e840cdaaac fix(query): set correct sort buffer format 2022-07-15 20:56:29 +08:00
dapan1121 dce0f06e31 fix: fix redirect issue 2022-07-15 20:40:48 +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
Li Minghao 5a941284a4
Merge pull request #14965 from taosdata/feature/3.0_mhli
refactor(sync): modify elect/heartbeat timer
2022-07-15 19:03:25 +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
Haojun Liao b1826ef736 fix(query): fix a typo 2022-07-15 18:15:06 +08:00
dapan1121 0048bd8cb6 fix: fix redirect issue 2022-07-15 18:09:27 +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
Haojun Liao 50aa7f9cfa Merge branch '3.0' into feature/3_liaohj 2022-07-15 17:37:47 +08:00
Haojun Liao 3f11c849cd refactor: do some internal refactor. 2022-07-15 17:34:54 +08:00
Minghao Li 5b1042ce2c Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-15 16:57:49 +08:00
Ganlin Zhao a5a3b96e58 enable select agg function without from clause 2022-07-15 16:50:51 +08:00
Ganlin Zhao 14ae310fea fix issue 2022-07-15 16:47:52 +08:00
Ganlin Zhao 7d5c496e10 fix comment 2022-07-15 16:46:13 +08:00
Ganlin Zhao 0377f865db fix conflict 2022-07-15 16:45:30 +08:00
Ganlin Zhao 85da616ae1 Merge branch '3.0' into feat/agg_client_api 2022-07-15 16:44:46 +08:00
Ganlin Zhao 30e09c4b19 fix(query): fix when select percentile() has no
from table clause report error issue
2022-07-15 16:41:19 +08:00
Yihao Deng a5ca6d0ce0
Merge pull request #14942 from taosdata/feat/checkTimeUnSynced
feat: add time unsynced check
2022-07-15 16:36:10 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
Minghao Li 59c7348c94 refactor(sync): add leader transfer callback 2022-07-15 16:07:45 +08:00
dapan1121 53103accc1 Merge branch 'fix/fixmsgorder' of github.com:taosdata/TDengine into fix/fixmsgorder 2022-07-15 16:02:49 +08:00
dapan1121 02af3581f3 enh: add debug info 2022-07-15 16:01:42 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
yihaoDeng c875805874 refactor code 2022-07-15 15:49:30 +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
yihaoDeng baa21c8398 Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-07-15 14:58:00 +08:00
Minghao Li 681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
yihaoDeng 35e8ad2811 feat: add time unsynced check 2022-07-15 14:51:20 +08:00
dapan1121 c5675bc821 fix: fix msg disorder issue 2022-07-15 14:40:42 +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
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
dapan1121 c7aa4a108b
Merge branch '3.0' into enh/schPolicy 2022-07-15 13:24:30 +08:00
Li Minghao e3eaddac0d
Merge pull request #14869 from taosdata/feature/3.0_mhli
refactor(sync): optimized replication
2022-07-15 13:12:37 +08:00
Xiaoyu Wang 47ab10c560
Merge pull request #14931 from taosdata/feature/3.0_debug_wxy
fix: a problem of last_row function plan
2022-07-15 12:55:37 +08:00
Xiaoyu Wang 1342fbe913 fix: sql command 'show table distributed' 2022-07-15 11:59:42 +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
Xiaoyu Wang 873ff96bc1 fix: a problem of last_row function plan 2022-07-15 11:01:19 +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 6a62954e34
Merge pull request #14927 from taosdata/feat/agg_client_api
feat(query): add avg function scalar version
2022-07-15 10:51:37 +08:00
dapan1121 41ba297964 Merge branch '3.0' into fix/fixmsgorder 2022-07-15 10:23:25 +08:00
dapan1121 f1e37cde78 fix: fix msg disorder issue 2022-07-15 10:21:47 +08:00
shenglian-zhou 42c1e5e053
Merge pull request #14923 from taosdata/szhou/fix/td-17405
fix: multi result function is not allowed when appear in clauses other than select
2022-07-15 10:06:37 +08:00
Ganlin Zhao 20ce5b32a9 Merge branch '3.0' into feat/agg_client_api 2022-07-15 10:04:28 +08:00
Ganlin Zhao 4ff107812f feat(query): add avg function scalar version
TD-17344
2022-07-15 10:00:35 +08:00
Yihao Deng a6e71424b4
Merge branch '3.0' into enh/addLRUToIdx 2022-07-15 09:47:35 +08:00
dapan1121 31aa48e240 fix: fix windows compile issue 2022-07-15 09:44:29 +08:00
slzhou 21a32b36e9 fix: multi result function is not allowed when appear in clauses other than select 2022-07-15 09:32:54 +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 979b20189d feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 09:07:19 +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 c2d277f47c
Merge pull request #14918 from taosdata/feature/3_liaohj
fix(query): add exec node for lastrow query.
2022-07-14 22:48:37 +08:00
yihaoDeng de495eb7ec feat: add lru to index 2022-07-14 20:38:37 +08:00
Haojun Liao ab6ed4bffa fix(query): add exec node for lastrow query. 2022-07-14 20:37:07 +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
Xiaoyu Wang ef4f6964d1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 20:17:28 +08:00
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +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
Liu Jicong e01297d09d refactor(query): optimize table scan by reusing reader 2022-07-14 19:29:34 +08:00
yihaoDeng ca7ca2f1e3 refactor code 2022-07-14 19:23:01 +08:00
Ganlin Zhao 256c4aa25b Merge branch '3.0' into feat/agg_client_api 2022-07-14 19:20:45 +08:00
Haojun Liao a911feeab7 fix(query): fix syntax error. 2022-07-14 19:18:15 +08:00
Ganlin Zhao 680400834a refactor code 2022-07-14 19:17:28 +08:00
Haojun Liao 5ca810a985 fix(query): fix memory leak. 2022-07-14 19:09:40 +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
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
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +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
yihaoDeng 9c4842ef10 feat: add lru to index 2022-07-14 17:30:48 +08:00
yihaoDeng fe8ccabf7a add lru to index 2022-07-14 17:14:53 +08:00
Haojun Liao dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Xiaoyu Wang 5a5ae23ddf fix: some problems of planner 2022-07-14 16:58:54 +08:00
wangmm0220 bb6ecd6913 Merge branch '3.0' into feature/TD-13041 2022-07-14 16:34:04 +08:00
wangmm0220 a15bd187bf fix:error in json tag 2022-07-14 16:24:16 +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
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
Cary Xu 1175bda094 Merge branch '3.0' into feature/grant-3.0 2022-07-14 14:10:14 +08:00
Ganlin Zhao 29ff569191 enable scalar function check to prevent crash 2022-07-14 14:04:06 +08:00
dapan1121 a0f7cc6790 enh: add schedule policy 2022-07-14 14:03:27 +08:00
Minglei Jin 92ae35fd3f
Merge pull request #14886 from taosdata/fix/TD-17328-v2
fix: use calcTypeBytes for table altering
2022-07-14 13:56:56 +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
WANG MINGMING 131f87ffed
Merge pull request #14778 from taosdata/feature/TD-13041
feat: get meta and write meta from tmq
2022-07-14 13:28:57 +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
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +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
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
wangmm0220 e8c041f098 fix:filter child table with tag 2022-07-14 10:49:09 +08:00
Haojun Liao fb49fd40cd fix(query):fix invalid write in sample query processing. 2022-07-14 10:44:35 +08:00
Minglei Jin c7e64933d0 fix: use calcTypeBytes for table altering 2022-07-14 10:43:54 +08:00
wangmm0220 e9accd26df fix:double free error for parserTest 2022-07-14 10:40:46 +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
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
wangmm0220 2647a3d9ee fix: json null 2022-07-13 21:00:54 +08:00
Haojun Liao d40191b62c fix(query): prepare the buffer before loading data. 2022-07-13 20:58:14 +08:00
dapan1121 0ad6af6c35
Merge pull request #14873 from taosdata/enh/stopquery_a
enh: enhance stop query processing
2022-07-13 20:57:34 +08:00
wangmm0220 56ec0a3920 fix: json null 2022-07-13 20:42:49 +08:00
Haojun Liao afb20f79c7 fix(query): copy the value instead of assign data. 2022-07-13 19:58:07 +08:00
Cary Xu 67a5f12ac0 Merge branch '3.0' into feature/grant-3.0 2022-07-13 19:56:03 +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 9887c63c5d feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 19:03:40 +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
Ganlin Zhao 4bc3770cd3 fix code format 2022-07-13 18:16:41 +08:00
Ganlin Zhao 099f2d2c98 remove scalar function check to allow agg function execute 2022-07-13 18:14:27 +08:00
Minghao Li 3769e07708 refactor(sync): optimized replication 2022-07-13 18:13:22 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +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
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 b7365fb0c0
Merge pull request #14860 from taosdata/feature/stream
refactor(stream): simple batch
2022-07-13 17:27:27 +08:00
Liu Jicong a717042acf refactor(stream): simple batch 2022-07-13 17:24:36 +08:00
dapan1121 ca754adaa6 fix: add agg processing 2022-07-13 17:14:04 +08:00
54liuyao 32cb6755a2 feat(stream): optimize close window 2022-07-13 17:08:27 +08:00
Shengliang Guan 699f295aa8
Merge pull request #14859 from taosdata/fix/dnode
enh: add stream queue to vnode
2022-07-13 17:03:38 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
Haojun Liao dfb0511e17 Merge branch '3.0' into feature/3_liaohj 2022-07-13 16:41:26 +08:00
Liu Jicong eb49ec97ae Merge branch 'fix/dnode' into feature/stream 2022-07-13 16:38:32 +08:00
Liu Jicong 8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
Shengliang Guan c2aebfa322 enh: add stream queue to vnode 2022-07-13 16:26:22 +08:00
wangmm0220 cd051d40c3 fix:confilct from 3.0 2022-07-13 16:03:39 +08:00
Minghao Li 511c39a0cf refactor(sync): add skiplist entry cache 2022-07-13 15:55:38 +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