Commit Graph

9241 Commits

Author SHA1 Message Date
Shengliang Guan 3b4802ccf8
Merge pull request #16496 from taosdata/feat/avoidClientDeadLock
avoid deadlock
2022-08-30 09:06:53 +08:00
Haojun Liao 37618513a6
Merge branch '3.0' into feature/3_liaohj 2022-08-29 22:47:18 +08:00
Haojun Liao d2ed6ff0e8 fix(query): set correct page buffer id. 2022-08-29 22:42:15 +08:00
Shengliang Guan fe4d13da3d
Merge pull request #16488 from taosdata/feature/TD-14761
fix: cols num error in tmq for query
2022-08-29 19:27:56 +08:00
Cary Xu 0117a5c56f Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-29 19:26:22 +08:00
Shengliang Guan b5b33d48cc
Merge pull request #16489 from taosdata/fix/taosdStmtQuery
fix: fix taosd crash while executing stmt query
2022-08-29 19:25:40 +08:00
yihaoDeng 1a67ca34b9 avoid deadlock 2022-08-29 19:14:12 +08:00
Xiaoyu Wang b5e177f151 fix: some problems of parser 2022-08-29 18:52:00 +08:00
Haojun Liao ba8b10e27b refactor(query): do some internal refactor. 2022-08-29 18:47:46 +08:00
wangmm0220 1238365c5a Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-29 18:00:14 +08:00
Cary Xu 5cf6ffe3c2 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-29 17:58:35 +08:00
dapan1121 205299e532 fix: fix taosd stmt query crash issue 2022-08-29 17:46:34 +08:00
wangmm0220 bf3231ab9f fix: cols num error in tmq for query 2022-08-29 17:30:50 +08:00
Xiaoyu Wang cc1d37cfe5 fix: some problems of parser 2022-08-29 17:23:29 +08:00
Minglei Jin 242083786a
Merge pull request #16476 from taosdata/fix/TD-18656
fix: release pages with drop case
2022-08-29 17:03:46 +08:00
dapan1121 a861537bc0 fix: fix filter group merge error 2022-08-29 15:44:10 +08:00
Minglei Jin 95e591efed fix: release pages with drop case 2022-08-29 15:30:05 +08:00
Cary Xu 66199e4e7a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-29 14:53:39 +08:00
Cary Xu 167e58578a enh: add check for tpagebuf 2022-08-29 14:53:13 +08:00
Xiaoyu Wang a39e6f7d92 enh: super table scan requires project operator to merge packets to improve performance 2022-08-29 14:01:18 +08:00
Shengliang Guan 9f7f12bf1d
Merge pull request #16421 from taosdata/fix/3.0_bugfix_wxy
fix: plan problem with sorting the first column of the system table
2022-08-29 13:13:22 +08:00
Shengliang Guan 3b0679d31e
Merge pull request #16445 from taosdata/enh/removeConvert
enh: remove compare type convertion
2022-08-29 13:12:49 +08:00
Xiaoyu Wang 381f48241f Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-08-29 10:28:14 +08:00
wade zhang 2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +08:00
dapan1121 d955942a64 Merge remote-tracking branch 'origin/3.0' into enh/removeConvert 2022-08-29 09:29:12 +08:00
dapan1121 44dcaf2517 fix: fix type convertion issue 2022-08-29 09:28:38 +08:00
Shengliang Guan 17acc9bc05
Merge pull request #16458 from taosdata/szhou/fixbugs
fix: clean up intermediate result of scalar computation just before applying scalar function in fill operator
2022-08-28 21:27:30 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Haojun Liao 653bd2ea6e fix(query): set correct page id list. 2022-08-28 16:26:38 +08:00
Cary Xu 1dd53e9e41 fix: return data ptr when iterate remove for simple hash 2022-08-27 23:01:19 +08:00
shenglian zhou 47f80f0d21 fix: clean up intermediate result of scalar computation before applying scalar function in fill operator 2022-08-27 22:10:22 +08:00
Cary Xu 36d6b1e560 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-27 18:11:19 +08:00
Cary Xu 680199f9f5 other: simple hash code optimization 2022-08-27 18:08:01 +08:00
Cary Xu 451e621a94 fix: simple hash iterate remove and clear 2022-08-27 18:04:33 +08:00
shenglian zhou a574ef5c98 fix: pass CI test 2022-08-27 08:10:18 +08:00
Haojun Liao 655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
slzhou 2a9faaa326 fix: enable add open window only when interval interpolation 2022-08-26 19:05:37 +08:00
slzhou c9a7f27e7c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-26 18:51:32 +08:00
slzhou d1eb14dccc fix: interval operator _wstart error and interval operator close window for interpolation on different group id 2022-08-26 18:47:09 +08:00
Shengliang Guan 369c80b785
Merge pull request #16428 from taosdata/fix/downgradeType
enh: downgrade value type to speed up filter
2022-08-26 17:31:01 +08:00
Cary Xu 4ee28bfc2c fix: only iterate next when delete the specified node 2022-08-26 17:29:54 +08:00
wade zhang 4ab4a87aa9
Merge pull request #16444 from taosdata/fix/TD-18664
fix(query): restrict using JSON type as input in string functions
2022-08-26 17:28:05 +08:00
Cary Xu 5dcfa5a241 other: code format optimization 2022-08-26 17:00:50 +08:00
Cary Xu a70b587b3f Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-26 16:52:32 +08:00
Cary Xu 4abb6e1411 enh: use simple hash to save agg result 2022-08-26 16:52:12 +08:00
dapan1121 d18e7cd739 enh: remove compare type convertion 2022-08-26 16:20:07 +08:00
Ganlin Zhao 0fbb4d7f9a fix(query): restrict using JSON type as input in string functions
TD-18664
2022-08-26 16:18:21 +08:00
Ganlin Zhao ab85eeaaaa fix(query): restrict using JSON type as input in string functions
TD-18664
2022-08-26 16:15:08 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Minglei Jin 04e5c75bba fix: cleanup memory with streamLoadTasks 2022-08-26 14:51:30 +08:00
slzhou f3890f7421 feat: support udf merge in udfd 2022-08-26 14:27:15 +08:00
dapan1121 de55d16b60 enh: downgrade value type to speed up filter 2022-08-26 10:59:48 +08:00
Haojun Liao 13563f1733
Merge pull request #16412 from taosdata/feature/3_liaohj
refactor(query): check table in uid order when handling the last block, and some internal refactor.
2022-08-26 10:44:27 +08:00
Hongze Cheng 5ce84e4316
Merge pull request #16419 from taosdata/fix/TD-18586
fix: free ofp large value's memory
2022-08-25 18:55:45 +08:00
Xiaoyu Wang 4895f19876 fix: plan problem with sorting the first column of the system table 2022-08-25 18:39:23 +08:00
Minglei Jin e05169ccc6 fix: free ofp large value's memory 2022-08-25 18:16:34 +08:00
Shengliang Guan 679145dcb6
Merge pull request #16418 from taosdata/fix/TD-18457
fix(query): fix valgrind report uninitialized variable error
2022-08-25 18:15:56 +08:00
Shengliang Guan 1279213c3a
Merge pull request #16417 from taosdata/feat/3.0_systable_privilege_wxy
fix: user permission error with sysinfo 0
2022-08-25 18:15:10 +08:00
wangmm0220 cb4969513c fix:conflicts from 3.0 2022-08-25 17:36:00 +08:00
Haojun Liao 755176d28f fix(query): add the null ptr check. 2022-08-25 17:32:27 +08:00
Ganlin Zhao cbcb14641f Merge branch '3.0' into fix/TD-18457 2022-08-25 17:20:05 +08:00
Xiaoyu Wang 63792daeeb fix: user permission error with sysinfo 0 2022-08-25 17:18:11 +08:00
Ganlin Zhao 417cf3c587 fix(query): fix valgrind report unitialized variable error 2022-08-25 17:16:02 +08:00
Ganlin Zhao 847c0176e0 fix(query): fix valgrind report unitialized variable error 2022-08-25 17:15:55 +08:00
Xiaoyu Wang 1c26d444eb Merge remote-tracking branch 'origin/3.0' into feat/3.0_systable_privilege_wxy 2022-08-25 17:03:42 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220 4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +08:00
Xiaoyu Wang d8fd0b89b1 fix: user permission error with sysinfo 0 2022-08-25 16:50:31 +08:00
yihaoDeng b61bab645c fix http report possible except 2022-08-25 16:49:07 +08:00
Minglei Jin 45775a9e83 fix: release ofp when encoding and decoding 2022-08-25 15:56:27 +08:00
Haojun Liao b09ee742d5 refactor(query): check table in uid order when handling the last block, and some internal refactor. 2022-08-25 15:31:48 +08:00
Shengliang Guan 4c280dc236
Merge pull request #16386 from taosdata/enh/updateTbMeta
enh: update table meta cache after creating table
2022-08-25 14:32:43 +08:00
Shengliang Guan e41a000261
Merge pull request #16397 from taosdata/fix/TD-18617
fix(query): fix multiple interp used result number of rows incorrect
2022-08-25 13:33:02 +08:00
dapan1121 4ab25b856f Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-25 13:23:16 +08:00
Haojun Liao da1dd5e137
Merge pull request #16396 from taosdata/feature/3_liaohj
fix(query): check return value and do some internal refactor.
2022-08-25 12:47:23 +08:00
dapan1121 bebd9225cc fix: fix explain buffer issue 2022-08-25 11:49:01 +08:00
Ganlin Zhao 6b9ace9c35 Merge branch '3.0' into fix/TD-18617 2022-08-25 11:08:14 +08:00
Shengliang Guan 0758d32964
Merge pull request #16382 from taosdata/feat/3.0_systable_privilege_wxy
feat: system table visible permission
2022-08-25 11:08:12 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Haojun Liao 909529bb7b fix(query): check return value and do some internal refactor. 2022-08-25 10:55:28 +08:00
Ganlin Zhao c72c972c5f fix(query): fix multiple interp used result number of rows incorrect
TD-18617
2022-08-25 10:55:14 +08:00
dapan1121 b49d4ed414 fix: remove debug info 2022-08-25 10:40:15 +08:00
shenglian zhou d059aceb08 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/save-op-state 2022-08-25 09:07:56 +08:00
shenglian zhou dc6baa13a6 fix: fill if window pseudo column 2022-08-25 09:07:44 +08:00
Shengliang Guan ff61b3f753
Merge pull request #16389 from taosdata/fix/TD-18578
fix: tdb page cache hash page removing fix
2022-08-25 09:06:57 +08:00
yihaoDeng f8ecbdc805 add err msg 2022-08-24 20:21:18 +08:00
Minglei Jin 437d4947f6 fix: tdb page cache hash page removing fix 2022-08-24 20:13:18 +08:00
Xiaoyu Wang eef595318d feat: system table visible permission 2022-08-24 19:08:50 +08:00
Haojun Liao 033b251994 test: update the unit test cases. 2022-08-24 18:48:03 +08:00
Haojun Liao b87535734f refactor:do some internal refactor. 2022-08-24 18:47:23 +08:00
Xiaoyu Wang ea54266daa feat: system table visible permission 2022-08-24 18:35:06 +08:00
Xiaoyu Wang f5040b2e73 feat: system table visible permission 2022-08-24 18:33:09 +08:00
wangmm0220 c7bf08d5af feat: get snapshot data for taosX 2022-08-24 17:42:33 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Haojun Liao a23f5f59ea refactor(query): do some internal refactor. 2022-08-24 17:09:33 +08:00
shenglian zhou 1540881cb6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/save-op-state 2022-08-24 17:05:49 +08:00
shenglian zhou b250efeee4 fix: support window pseduo column for fill operator 2022-08-24 17:05:38 +08:00
Shengliang Guan e0ac102795
Merge pull request #16376 from taosdata/feature/stream
refactor(stream): refine stream backend interface
2022-08-24 16:40:20 +08:00
Shengliang Guan 621ffbf211
Merge pull request #16373 from taosdata/fix/dnode
refactor: adjust telemetry interval
2022-08-24 16:18:41 +08:00
Liu Jicong 24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
Shengliang Guan 4355ddb1ed Merge branch 'fix/TD-18483' into fix/dnode 2022-08-24 14:04:14 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
wangmm0220 632c8b4a1a fix:error in snapshot for taosX 2022-08-24 13:58:18 +08:00
Shengliang Guan 1b964bfdc9 fix: print src ip if found invalid packet 2022-08-24 13:47:56 +08:00
Shengliang Guan 4c287f602d
Merge pull request #16352 from taosdata/feature/stream
feat(stream): support tdb state backend
2022-08-24 13:24:09 +08:00
dapan1121 2ea802a23e Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-24 13:20:43 +08:00
dapan1121 150956ffd3 enh: update tbMeta after creating table 2022-08-24 13:19:52 +08:00
Shengliang Guan 9a38e9a53c
Merge pull request #16363 from taosdata/fix/TD-18496
fix:add log for dealing with problem: "unexpected generic error in query"
2022-08-24 11:49:53 +08:00
Shengliang Guan 66eb398e01
Merge pull request #16361 from taosdata/fix/TD-18587
fix: fix invalid memory access cause of job freed
2022-08-24 11:49:29 +08:00
Liu Jicong d7b804e02e fix stream load task 2022-08-24 10:42:34 +08:00
wangmm0220 53e0e168e6 fix:add log 2022-08-24 10:36:46 +08:00
Haojun Liao b62e0c0235
Merge pull request #16354 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-24 10:25:27 +08:00
wangmm0220 f477e94dda fix:error in snapshot from taosx 2022-08-24 10:24:19 +08:00
dapan1121 3c5d4ad90e fix: fix invalid memory access cause of job freed 2022-08-24 09:32:27 +08:00
Shengliang Guan 8d511d4837
Merge pull request #16341 from taosdata/fix/dnode
enh: increase startup time monitoring
2022-08-24 09:05:15 +08:00
Liu Jicong c296dd0a63 fix compile 2022-08-24 01:48:00 +08:00
Haojun Liao 20b06a7ec7 refactor(query): do some internal refactor. 2022-08-23 19:44:59 +08:00
Liu Jicong de041f45b5 Merge branch '3.0' into feature/stream 2022-08-23 19:41:16 +08:00
Liu Jicong 2d628491b2 feat(stream): support tdb state backend 2022-08-23 19:30:04 +08:00
Haojun Liao 36eb46fa4d
Merge pull request #16342 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-23 19:28:50 +08:00
dapan1121 0ebd3281c5 enh: update table meta after creating table 2022-08-23 18:26:27 +08:00
Shengliang Guan fece844f58 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-08-23 17:29:33 +08:00
Shengliang Guan b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
wangmm0220 514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00
Haojun Liao 2889b8d913 refactor(query): do some internal refactor. 2022-08-23 17:28:08 +08:00
Xiaoyu Wang 717f837cbb fix: auto create table insert statement check table name 2022-08-23 15:24:50 +08:00
Shengliang Guan 3e2f1d2cb7
Merge pull request #16322 from taosdata/feature/TD-18530
fix(stream): state window update
2022-08-23 14:06:19 +08:00
Shengliang Guan 1009912abd
Merge pull request #16319 from taosdata/fix/TD-18570
fix: fix stack overflow issue
2022-08-23 13:01:14 +08:00
54liuyao b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +08:00
dapan1121 bd179e880f fix: fix stack overflow issue 2022-08-23 11:01:27 +08:00
wangmm0220 1134319570 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-23 10:45:51 +08:00
Ganlin Zhao 00b2db50b4 fix(query): restrict fill(none) in interp
TD-18531
2022-08-23 10:40:01 +08:00
Shengliang Guan 0ac18e51cb
Merge pull request #16306 from taosdata/fix/TD-18412
fix:fix explain analyze validate issue
2022-08-22 20:31:11 +08:00
Shengliang Guan 249a56dba4
Merge pull request #16297 from taosdata/fix/TD-18287
fix(query): fix stream session window out of order data agg function result error
2022-08-22 20:21:10 +08:00
dapan1121 12d9366b84 fix:fix explain analyze validate issue 2022-08-22 19:50:22 +08:00
Ganlin Zhao 4bec769211 fix(query): fix avg.py test cases 2022-08-22 19:28:20 +08:00
Ganlin Zhao cd3897c7fe fix(query): fix avg.py test cases 2022-08-22 19:26:28 +08:00
Shengliang Guan 04ce95fe72
Merge pull request #16303 from taosdata/szhou/fixbugs
fix: fill desc order support
2022-08-22 19:16:11 +08:00
Ganlin Zhao 09dc2e4e12 fix CI 2022-08-22 18:48:51 +08:00
Shengliang Guan a3348f716e
Merge pull request #16299 from taosdata/fix/3.0_bugfix_wxy
fix: the syntax problem of querying the state value in the state window
2022-08-22 18:48:28 +08:00
Shengliang Guan 99c7556021
Merge pull request #16301 from taosdata/feature/3.0_mhli
refactor(sync): close receiver when become leader
2022-08-22 18:48:05 +08:00
slzhou 4ef090f495 fix: fill desc order support 2022-08-22 18:37:23 +08:00
Xiaoyu Wang 4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +08:00
dapan1121 3e7699cc2f enh: async launch tasks 2022-08-22 17:38:50 +08:00
Ganlin Zhao 628ac58b7f Merge branch '3.0' into fix/TD-18287 2022-08-22 17:23:42 +08:00
Ganlin Zhao 6c32df7adf fix(query): fix stream session window out of order data agg function
result error

TD-18287
2022-08-22 17:21:03 +08:00
wangmm0220 43862ccd74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-22 16:53:53 +08:00
wade zhang 7a77f4258a
Merge pull request #16258 from taosdata/feature/3.0_query_optimize
opti: group by tag
2022-08-22 16:39:05 +08:00
Minghao Li 8da7950282 refactor(sync): close receiver when become leader 2022-08-22 15:40:28 +08:00
wangmm0220 23d8ebf129 fix:error in grou by tag 2022-08-22 15:15:03 +08:00