Commit Graph

7816 Commits

Author SHA1 Message Date
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
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 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
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
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