Commit Graph

12722 Commits

Author SHA1 Message Date
Haojun Liao ef17baedbe fix(query): fix memory leak. 2022-07-19 17:58:24 +08:00
Cary Xu a4493c9d97 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-19 17:58:23 +08:00
Cary Xu afe1633256 feat: rsma snapshot 2022-07-19 17:57:59 +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
Hongze Cheng df616a5faf
Merge pull request #15125 from taosdata/fix/hzcheng_3.0
fix: r/w concurrency
2022-07-19 17:12:57 +08:00
Shengliang Guan 390264db3f enh: assert the term of the snapshot as same as the memory 2022-07-19 17:11:15 +08:00
jiacy-jcy 5200a48107 fix: update 2022-07-19 16:54:19 +08:00
Ganlin Zhao dea45f6cfb Merge branch '3.0' into fix/TD-17511 2022-07-19 16:48:58 +08:00
WANG MINGMING 321ea5eb81
Merge pull request #15097 from taosdata/feature/TD-14761
fix:tag is too long if type is nchar in schemaless influxdb
2022-07-19 16:48:03 +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
Hongze Cheng 024f2221b7 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 08:31:16 +00:00
Hongze Cheng 706b081f70 fix: r/w concurrency 2022-07-19 08:30:49 +00: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
Shengliang Guan c9079513c6
Merge pull request #15118 from taosdata/fix/mnode
fix: read sdb when restore from raft module may cause crash
2022-07-19 16:15:52 +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
shenglian zhou e56378b7fd fix: fix core dump caused by NULL TAOS_RES when the sync query call back function syncQueryFn is executed 2022-07-19 15:52:46 +08:00
Liu Jicong bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
Shengliang Guan 0d33e7363f fix: read sdb when restore from raft module may cause crash 2022-07-19 15:41:31 +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
wangmm0220 958cdf8e39 opti: tmq meta get_json interface 2022-07-19 15:31:40 +08:00
Zhiqiang Wang 7002a20972
Merge pull request #15114 from taosdata/fix/ZhiqiangWang/TD-17512-backend-run-fail-error
os: backend run fail error
2022-07-19 15:29:57 +08:00
Hongze Cheng f3204ed912 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 07:25:04 +00: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
Minglei Jin 91b54a7ff7 tqSink/tdBlockToSubmit: use short name instead of full stb name 2022-07-19 15:23:44 +08:00
Hongze Cheng b6c0719c61 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 07:22:36 +00:00
Hongze Cheng 657c2dcaa4 more r/w concurrency 2022-07-19 07:21:15 +00: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
afwerar 622ab28e6e os: backend run fail error 2022-07-19 14:59:07 +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
Hongze Cheng 6b454a4dd4 more 2022-07-19 06:26:09 +00: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
Hongze Cheng 7721dae2fa Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 06:19:13 +00:00
Hongze Cheng 58135a1aeb tsdb r/w concurrency 2022-07-19 06:19:01 +00:00
54liuyao 8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Ganlin Zhao f33c15fb8b
Merge pull request #15102 from taosdata/fix/TD-17511
fix(query): fix derivative nan value
2022-07-19 14:04:53 +08:00
Minghao Li fc08a35fbf refactor(sync): update sync-timeout to 10s 2022-07-19 13:52:02 +08:00
wangmm0220 c333d17d00 Merge branch '3.0' into feature/TD-14761 2022-07-19 13:42:36 +08:00
Minglei Jin ab00d5670b fix: check super table exists or not when creating child table 2022-07-19 13:38:38 +08:00
Shengliang Guan 83ac069bef enh: If an 'object is creating' error is reported when creating a database, wait for the transaction to end then response 2022-07-19 12:00:43 +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
wangmm0220 36c19fc824 fix:tag is too long if type is nchar in schemaless influxdb 2022-07-19 10:39:05 +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 5e754a7662 fix(query): add check for deleting record 2022-07-19 14:00:45 +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
Yihao Deng 88b2d3b421
Merge pull request #15093 from taosdata/fix/dmHandleMemLeak
fix: avoid rpc mem leak
2022-07-19 10:22:18 +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
yihaoDeng d3be1e5f4d fix: avoid rpc mem leak 2022-07-19 09:39:26 +08:00
Hongze Cheng 1663284369
Merge pull request #15089 from taosdata/fix/hzcheng_3.0
fix: delete causes coredump
2022-07-19 09:28:55 +08:00
dapan1121 8d5bd9a83a fix: fix crash issue 2022-07-19 09:05:17 +08:00
Liu Jicong 159f1c7bae fix(tmq): drop stb after subscribing database 2022-07-18 22:39:51 +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
Cary Xu 8910acc4ba
Merge pull request #15087 from taosdata/feature/TD-11274-3.0
enh: rsma drop and code optimization
2022-07-18 20:58:37 +08:00
Cary Xu cc3967b905 fix: parenthesized expression 2022-07-18 20:12:10 +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
Ganlin Zhao 403dcfff5f
Merge pull request #15080 from taosdata/fix/TD-17381
fix(query): fix taosd crashed when using first(col+null)
2022-07-18 19:58:02 +08:00
Shengliang Guan bb99a40718
Merge pull request #15057 from taosdata/fix/valgrind
fix: let certain type of write messages to be executed sequentially
2022-07-18 19:56:11 +08:00
Hongze Cheng 0adb425f42 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-18 11:45:30 +00:00
Hongze Cheng 322ec02e39 fix: delete causes coredump 2022-07-18 11:45:13 +00:00
Liu Jicong 244cbf2d1f
Merge pull request #15085 from taosdata/feature/stream
fix(tmq): set version after consuming from tsdb
2022-07-18 19:41:03 +08:00
Cary Xu 832527e5b6 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-18 19:35:20 +08:00
Cary Xu 156e72b071 enh: rsma drop and code optimization 2022-07-18 19:34:53 +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
Liu Jicong d8d32ebc51 fix(tmq): set version after consuming from tsdb 2022-07-18 19:16:19 +08:00
Liu Jicong 6ec12c19e8
Merge pull request #15071 from taosdata/feature/stream
fix(tmq): topic name should be lower unless quoted
2022-07-18 18:46:27 +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
Shengliang Guan 993f5fe9ec fix: let certain type of write messages to be executed sequentially 2022-07-18 18:37:58 +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
Ganlin Zhao e5aadc9323 Merge branch '3.0' into fix/TD-17381 2022-07-18 17:34:28 +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
Ganlin Zhao 1ab22f9d9e fix(query): fix taosd crashed when using first(col+null)
TD-17381
2022-07-18 17:29:40 +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
Liu Jicong 7542fa0b62 fix(tmq): topic name should be lower unless quoted 2022-07-18 16:42:54 +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
Minglei Jin 0ade998702
Merge pull request #15049 from taosdata/fix/TD-17491
fix: free vMetaRsp.pSchemas
2022-07-18 14:41:25 +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
Cary Xu 622de740c0
Merge pull request #15048 from taosdata/feature/TD-11274-3.0
enh: grant refactor and grant check
2022-07-18 14:15:25 +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
WANG MINGMING 05e5beb8f3
Merge pull request #14970 from taosdata/feature/TD-14761
fix:raw block datalen if json data
2022-07-18 13:31:28 +08:00
Minglei Jin b52c734f88 fix: free vMetaRsp.pSchemas 2022-07-18 13:31:13 +08:00
Cary Xu 2204a770ab Merge branch '3.0' into feature/TD-11274-3.0 2022-07-18 13:22:41 +08:00
Cary Xu 6460514147 enh: grant refactor and grant check 2022-07-18 13:22:21 +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
Minghao Li 0fa9ce71d8 refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-18 11:03:03 +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
Minglei Jin 66d3c489a4
Merge pull request #15030 from taosdata/fix/TD-17479
fix: dismiss memory issues
2022-07-18 10:15:08 +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
Minglei Jin 677fd4764f fix: dismiss memory issues 2022-07-18 09:42:40 +08:00
Hongze Cheng b99c6958fa
Merge pull request #15007 from taosdata/feat/tsdb_snapshot
fix: vnode snapshot state
2022-07-18 09:38:14 +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
Cary Xu 35d395c418
Merge pull request #15028 from taosdata/feature/grant-3.0
fix: make the ci cases pass
2022-07-17 23:19:25 +08:00
Cary Xu 74bf84fd5a fix: make the ci cases pass 2022-07-17 23:17:24 +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