Commit Graph

7583 Commits

Author SHA1 Message Date
dapan1121 d625cc2e47 feat: insert from query 2022-07-06 21:00:31 +08:00
Liu Jicong e51e261e01 fix(stream): create operator 2022-07-06 21:00:15 +08:00
afwerar 98641a8ff5 test: fix Mac test error 2022-07-06 20:47:38 +08:00
54liuyao 888f79d3f4 feat(stream): session delete 2022-07-06 20:42:54 +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
yihaoDeng 77faed4a23 fix json tag value 2022-07-06 20:29:52 +08:00
shenglian-zhou a6545b600c
Merge pull request #14612 from taosdata/szhou/feature/push-project-condition
fix: add condition to window operator
2022-07-06 20:27:29 +08:00
WANG MINGMING 73e094d77f
Merge pull request #14505 from taosdata/feature/TD-13041
fix:<TD-16840> meta ttl index core if insert with benchmark
2022-07-06 19:15:43 +08:00
Xiaoyu Wang 0bf399a67e merge 3.0 2022-07-06 18:53:54 +08:00
Shengliang Guan 0163ec4d4b Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-07-06 18:53:26 +08:00
Xiaoyu Wang 025b7782e1 feat: add db option 'cachelastsize' 2022-07-06 18:47:33 +08:00
slzhou 7c35dce7fc fix: add condition to window operator 2022-07-06 18:31:54 +08:00
yihaoDeng 1e5ddcb92f merge 3.0 2022-07-06 18:29:11 +08:00
Haojun Liao 1237f9cf15 Merge branch '3.0' into feature/3_liaohj 2022-07-06 18:09:49 +08:00
Haojun Liao d28518b41e fix(query): set correct query time window. 2022-07-06 18:08:23 +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
yihaoDeng 2ee0ebb8ca fix tag/json tag error 2022-07-06 18:01:53 +08:00
shenglian-zhou 7aebf05699
Merge pull request #14605 from taosdata/szhou/feature/push-project-condition
feat: push condition down the tree
2022-07-06 17:45:37 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
yihaoDeng 61b14c9c9e fix tag/json tag error 2022-07-06 17:36:24 +08: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
slzhou 1a70a5f904 feat: push down filter from sort and partition 2022-07-06 17:13:29 +08:00
Minghao Li b73914fb0d refactor(sync): add term in rpcMsg 2022-07-06 16:52:39 +08:00
wangmm0220 187aca4d6b fix:conflict from 3.0 2022-07-06 16:35: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
yihaoDeng 6e6721c6d4 fix tag/json tag error 2022-07-06 16:10:00 +08:00
Shengliang Guan 5e18e07a35 refactor: pre process vnode msg 2022-07-06 16:06:55 +08:00
Minghao Li cc9888837e refactor(sync): add vnodeSnapshotStopRead into callback 2022-07-06 16:05:57 +08:00
wangmm0220 2c6f3e6971 feat: tmq get meta with json format 2022-07-06 16:02:55 +08:00
shenglian-zhou 5bb13655cc
Merge pull request #14594 from taosdata/szhou/feature/push-project-condition
feat: add filter to sort operator
2022-07-06 15:44:27 +08:00
Minghao Li 78efbaabe1 refactor(sync): add syncGetSnapshotByIndex 2022-07-06 15:16:52 +08:00
yihaoDeng 14cfbd7e45 fix tag/json tag error 2022-07-06 15:07:42 +08:00
Zhiqiang Wang 25c52f20b4
Merge pull request #14593 from taosdata/fix/ZhiqiangWang/TD-13064-fix-mac-shell-error
os: fix Mac shell error
2022-07-06 14:59:45 +08:00
Minghao Li 83b639ae8f refactor(sync): persist batch size 2022-07-06 14:58:38 +08:00
slzhou c710eede6f feat: add filter to interval agg operator 2022-07-06 14:57:53 +08:00
slzhou bd819f5c88 feat: add filter to sort operator 2022-07-06 14:42:56 +08:00
Ganlin Zhao de65590ad7
Merge pull request #14588 from taosdata/fix/TD-16322
fix(query): fix substr parameter check
2022-07-06 14:41:42 +08:00
Shengliang Guan 1dc0275949
Merge pull request #14591 from taosdata/hotfix/valgrind.leak
fix: fix taosd memory leak issue
2022-07-06 14:38:46 +08:00
afwerar 194459bfc4 os: fix Mac shell error 2022-07-06 14:38:24 +08:00
shenglian-zhou a5bf32a50b
Merge pull request #14590 from taosdata/szhou/feature/push-project-condition
feat: add filter to aggregate operator
2022-07-06 14:31:34 +08:00
Haojun Liao 23d68105a4 fix(query): initialize the buffer. 2022-07-06 14:31:27 +08:00
Liu Jicong 8c5dbde918 refactor(stream): stream reader created in scanner 2022-07-06 14:20:07 +08:00
dapan1121 c82a39f09e fix: fix taosd memory leak issue 2022-07-06 14:08:27 +08:00
slzhou c040659a4f feat: add filter to aggregate operator 2022-07-06 13:54:11 +08:00
Li Minghao 1359729848
Merge pull request #14587 from taosdata/feature/3.0_mhli
fix(sync): propose batch
2022-07-06 13:53:50 +08:00
Xiaoyu Wang 78a237554d fix: compile error 2022-07-06 13:53:47 +08:00
Ganlin Zhao fee4d3c2d3 Merge branch '3.0' into fix/TD-16322 2022-07-06 13:50:26 +08:00
Haojun Liao 916dbebb00 other: merge 3.0 2022-07-06 13:49:39 +08:00
Ganlin Zhao 27300117d0 fix(query): fix substr parameter check
TD-16322
2022-07-06 13:49:25 +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
Haojun Liao ddb71ed095 refactor: do some internal refactor. 2022-07-06 13:33:21 +08:00
Haojun Liao c89d588044
Merge pull request #14576 from taosdata/feature/3_liaohj
fix(query): copy the column that will not output.
2022-07-06 13:29:48 +08:00
Minghao Li 6ec47a7a60 fix(sync): propose batch 2022-07-06 13:17:16 +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
Ganlin Zhao 453f48797c
Merge pull request #14579 from taosdata/fix/TD-16994
fix(query): top/bottom parameter check failure on int type
2022-07-06 13:10:51 +08:00
Xiaoyu Wang a67eb1a9a0 eat: sql command 'insert ... select' 2022-07-06 11:55:47 +08:00
Minghao Li 730a7a4a58 refactor(sync): snapshot strategy 2022-07-06 11:44:28 +08:00
Minghao Li cd4bc6e30b refactor(sync): snapshot strategy 2022-07-06 11:12:45 +08:00
wangmm0220 78cdc64615 fix:rollback meta change 2022-07-06 10:36:56 +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
dapan1121 4fb1ef0833 Merge branch '3.0' into feature/insertselect 2022-07-06 10:15:31 +08:00
Ganlin Zhao 9355392c80
Merge pull request #14537 from taosdata/fix/TD-16877
fix(query): stddev function support unsigned data types
2022-07-06 10:14:23 +08:00
dapan1121 3a17619046 enh: msg type and task status validate 2022-07-06 10:13:17 +08:00
wangmm0220 f47c3595a2 Merge branch '3.0' into feature/TD-13041 2022-07-06 10:07:19 +08:00
Xiaoyu Wang 331dca1f58 feat: sql command 'insert ... select' 2022-07-06 10:02:20 +08:00
Ganlin Zhao 144df87ac6 fix(query): top/bottom parameter check failure on int type
TD-16994
2022-07-06 09:59:45 +08:00
dapan1121 8b896332d6
Merge pull request #14558 from taosdata/feature/insertselect
enh: refactor scheduler code
2022-07-06 09:44:38 +08:00
dapan1121 641531bc6d fix: fix compile issue 2022-07-06 09:09:34 +08:00
dapan1121 2304e12c49 fix: fix sch error handling issue 2022-07-06 08:57:10 +08:00
Minglei Jin fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Haojun Liao 5f93b8db89 fix(query): copy the column that will not output. 2022-07-05 23:54:51 +08:00
Haojun Liao e1f53d4c2f fix(query): release memory when operator is destroyed. 2022-07-05 23:14:16 +08:00
yihaoDeng 3d8e6d2e10 Merge branch 'dev' into idx 2022-07-05 21:28:30 +08:00
Xiaoyu Wang 811bdc2b06 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-05 21:12:53 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
yihaoDeng 577ebfeb4b fix compile error 2022-07-05 20:47:13 +08:00
Haojun Liao 8c1b9ea60f
Merge pull request #14557 from taosdata/feature/3_liaohj
fix(query): set number of rows before assign column data.
2022-07-05 20:42:09 +08:00
Shengliang Guan 61a803104d
Merge pull request #14567 from taosdata/fix/fixMemLeak
fix:  avoid rpc mem leak
2022-07-05 20:38:45 +08:00
Ganlin Zhao c9a7613de9
Merge pull request #14552 from taosdata/fix/TD-17012
fix(query): add "1b" timeunit in function param to represent nanosecond
2022-07-05 20:36:57 +08:00
shenglian-zhou 149587c948
Merge pull request #14560 from taosdata/szhou/feature/push-project-condition
feat: push project condition down to its child
2022-07-05 20:31:55 +08:00
dapan1121 b3e8e7ba10 fix: fix scheduler no resp issue 2022-07-05 20:26:52 +08:00
yihaoDeng eb3a9a53ab fix rpc mem leak 2022-07-05 20:03:27 +08:00
Ganlin Zhao cc89370f93 Merge branch '3.0' into fix/TD-17012 2022-07-05 19:59:36 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
slzhou@taodata.com dd1dbe22ff feat: remove restriction on logcial child type 2022-07-05 19:12:42 +08:00
liuyao df54417da5
Merge pull request #14555 from taosdata/feature/TD-17095
feat(stream):stream interval delete data
2022-07-05 19:10:26 +08:00
Haojun Liao 0f595e8be1 refactor: do some internal refactor. 2022-07-05 19:09:00 +08:00
slzhou@taodata.com 26e4fcf56d feat: push project cond to child 2022-07-05 19:08:08 +08:00
Xiaoyu Wang cf9a6deaa5
Merge pull request #14543 from taosdata/feature/3.0_debug_wxy
fix: execution plan problem in the mode of using qnode as much as possible
2022-07-05 18:48:02 +08:00
54liuyao b7bf2bf808 feat(stream):stream interval delete data 2022-07-05 18:17:43 +08:00
dapan1121 473ac84f2f fix: fix compile errors 2022-07-05 18:12:01 +08:00
Haojun Liao 2d27248043 fix(query): set number of rows before assign column data. 2022-07-05 18:02:38 +08:00
Xiaoyu Wang 5b14444ca2 fix: a problem of unique function with ts 2022-07-05 18:00:07 +08:00
yihaoDeng d00158ff69 refactor idx code 2022-07-05 17:48:28 +08:00
Minghao Li 103a9cd9e8 fix(sync): release SyncNode ref 2022-07-05 17:39:01 +08:00
Minghao Li 88b0ab5458 fix(sync): release SyncNode ref 2022-07-05 17:32:51 +08:00
Yihao Deng 2968ac850d
Merge pull request #14520 from taosdata/fix/rpcMem
fix: invalid read/write
2022-07-05 17:32:43 +08:00
Ganlin Zhao 6251bd7ea9 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 17:18:37 +08:00
Ganlin Zhao 16a0c79ee4 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 16:44:14 +08:00
Xiaoyu Wang 3dbb5554a5 fix: last(*)/frist(*), etc. do not return the tag column 2022-07-05 16:31:44 +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
shenglian-zhou 6c853fc553
Merge pull request #14519 from taosdata/szhou/feature/push-cond-child-proj
feat: support push condition into join
2022-07-05 16:01:22 +08:00
Xiaoyu Wang 24d0fc4515 fix: adjust parsing of negative numbers 2022-07-05 15:38:39 +08:00
Ganlin Zhao 278339bdc6 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 15:38:29 +08:00
Ganlin Zhao e6230baf70 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 15:35:24 +08:00
shenglian-zhou d2804921f2
Merge pull request #14538 from taosdata/szhou/feature/valgrind
fix: fix memory leak when uv_loop_close
2022-07-05 15:17:35 +08:00
slzhou 64d2456073 fix: when there are no where condtions 2022-07-05 15:16:52 +08:00
slzhou b719e3ce24 fix: extract merge cond when no where condition 2022-07-05 14:56:40 +08:00
Xiaoyu Wang d223a6624b fix: execution plan problem in the mode of using qnode as much as possible 2022-07-05 14:55:32 +08:00
Minghao Li e8160342c3 refactor(sync): snapshot sender, receiver 2022-07-05 14:38:44 +08:00
Minglei Jin 06af04675a fix: dirty new allocated non-dirty page (root leaf without writings) 2022-07-05 14:28:10 +08:00
Ganlin Zhao ae55ce3068 Merge branch '3.0' into fix/TD-16877 2022-07-05 14:25:45 +08:00
slzhou 7088166e98 fix: fix memory leak when uv_loop_close 2022-07-05 14:02:33 +08:00
Haojun Liao 3bae30412c refactor: do some internal refactor. 2022-07-05 13:57:07 +08:00
slzhou 43047bc265 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-05 13:43:11 +08:00
slzhou 73e0e09dd8 feat: split join on condition into merge condition and on condition 2022-07-05 13:42:49 +08:00
Shengliang Guan 035882d047
Merge pull request #14534 from taosdata/fix/tsim
fix: add ref log to sync
2022-07-05 13:19:59 +08:00
Ganlin Zhao 09074e6d43
Merge pull request #14530 from taosdata/fix/TD-16877
fix(query): avg function support unsigned data type
2022-07-05 13:08:27 +08:00
Shengliang Guan 2daef4ba58 fix: add ref log to sync 2022-07-05 11:36:41 +08:00
Ganlin Zhao 085ef7da87 fix(query): stddev function support unsigned data types 2022-07-05 11:23:47 +08:00
Ganlin Zhao f200c03b52 fix(query): stddev function support unsigned data types 2022-07-05 11:19:25 +08:00
dapan1121 b92902cc53 Merge branch 'feat/tsdb_refact' of github.com:taosdata/TDengine into feat/tsdb_refact 2022-07-05 10:53:08 +08:00
dapan1121 39a31e8d25 fix: remove mock code 2022-07-05 10:52:33 +08:00
yihaoDeng 856990c64b fix tag error 2022-07-05 10:40:14 +08:00
Xiaoyu Wang f2f90c3265 fix: compile error 2022-07-05 10:20:10 +08:00
dapan1121 f3bf757282
Merge pull request #14528 from taosdata/hotfix/qnodecrashissue
fix: fix qnode crash issue
2022-07-05 10:11:49 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
dapan1121 45d5d704eb fix: fix qnode crash issue 2022-07-05 09:30:35 +08:00
Xiaoyu Wang ba056f7fbb
Merge pull request #14508 from taosdata/feature/3.0_debug_wxy
fix: automatically supplement primary key columns when creating stream
2022-07-05 09:27:52 +08:00
Haojun Liao c7559a81ca refactor: do some internal refactor. 2022-07-04 23:28:27 +08:00
Minghao Li 6437d20cda refactor(sync): add resp syncRespCleanByTTL 2022-07-04 21:28:52 +08:00
Xiaoyu Wang 7c5419b43e fix: fix: increase the tag value overflow check when creating table 2022-07-04 21:12:15 +08:00
Liu Jicong d3a05cc260
Merge pull request #14525 from taosdata/feature/stream
fix(tmq): prepare scan should reset operator status
2022-07-04 21:10:36 +08:00
Liu Jicong 8127887dc4 fix(tmq): prepare scan should reset operator status 2022-07-04 20:47:56 +08:00
Ganlin Zhao 9ef0497eef Merge branch '3.0' into fix/TD-16877 2022-07-04 20:39:51 +08:00
Ganlin Zhao 1e7d94c291 fix(query): avg function support unsigned data type
TD-16877
2022-07-04 20:39:20 +08:00
Ganlin Zhao 9f529b7d3b fix(query): avg function support unsigned data type
TD-16877
2022-07-04 20:34:46 +08:00
Xiaoyu Wang 57dae9fcda fix: increase the tag value overflow check when creating table 2022-07-04 20:29:19 +08:00
yihaoDeng 9927aad95f update resp msg type 2022-07-04 20:25:18 +08:00
yihaoDeng f658c2caa3 fix tag error 2022-07-04 20:20:32 +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
yihaoDeng b1ef7071f0 fix: invalid read/write 2022-07-04 20:03:20 +08:00
slzhou a7c9ed9133 feat: push condition to child join operator 2022-07-04 20:01:07 +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
Shengliang Guan 5405ac08d9
Merge pull request #14514 from taosdata/fix/tsim
enh: check available memory of dnode while creating db
2022-07-04 19:42:42 +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
Xiaoyu Wang ac34cde0af fix: increase the validity check of the rollup parameter in the create table statement 2022-07-04 19:27:27 +08:00
dapan1121 83cbc41088 fix: fix explain crash issue 2022-07-04 19:12:21 +08:00
yihaoDeng f213212faf fix compile error 2022-07-04 18:57:06 +08:00
Ganlin Zhao cce9f262aa
Merge pull request #14507 from taosdata/fix/TD-16948
refactor(query): remove redundant param check in function execution context
2022-07-04 18:52:53 +08:00
Ganlin Zhao 833fbca95e
Merge pull request #14512 from taosdata/fix/TD-17032
fix(query): fix timetruncate/timediff local variable overwrite issue
2022-07-04 18:52:37 +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
Shengliang Guan 07fa747429 fix: valgrind error 2022-07-04 18:30:10 +08:00
Minghao Li eae44cd9df refactor(sync): add error code sync-timeout 2022-07-04 18:10:40 +08:00
Ganlin Zhao 6e98552eca fix(query): fix timetruncate/timediff local variable overwrite issue
TD-17032
2022-07-04 17:54:49 +08:00
Shengliang Guan c58a84750e Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-07-04 17:54:25 +08:00
Shengliang Guan 3cc215bdcc fix: crash while write wal in multi-threaded way 2022-07-04 17:54:00 +08:00
Shengliang Guan 630eebecd5 enh: check available memory of dnode while creating db 2022-07-04 17:50:35 +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
Ganlin Zhao 09c6fd9c09
Merge pull request #14498 from taosdata/fix/TD-16972
fix(query): add histogram function parameter check
2022-07-04 17:23:29 +08:00
Xiaoyu Wang 047f65935d fix: automatically supplement primary key columns when creating stream 2022-07-04 17:21:42 +08:00
Ganlin Zhao e90ec32620 Merge branch '3.0' into fix/TD-16948 2022-07-04 17:15:51 +08:00
Ganlin Zhao af6a9abfde refactor(query): remove redundant param check on function execution
context

TD-17029
2022-07-04 17:14:22 +08:00
Ganlin Zhao 523d709687
Merge pull request #14501 from taosdata/fix/TD-16948
fix(query): disable histogram to be used with indefinite rows function in projection
2022-07-04 17:01:50 +08:00
yihaoDeng ba72ce2b8e Merge branch 'dev' into idx 2022-07-04 16:39:28 +08:00
wangmm0220 a558672622 fix:merge from 3.0 2022-07-04 16:36:18 +08:00
wangmm0220 36b49b5028 fix:<TD-16840> meta ttl index core if insert with benchmark 2022-07-04 16:33:54 +08:00
Xiaoyu Wang 2450d5982b
Merge pull request #14450 from taosdata/feature/3.0_debug_wxy
fix: some problems of parser and planner
2022-07-04 16:18:45 +08:00
yihaoDeng 47ec187231 merge int kill 2022-07-04 16:10:59 +08:00
yihaoDeng bd77e5b107 refactor index 2022-07-04 16:01:45 +08:00
Minghao Li 6e59c13cbd refactor(sync): add sync strategy 2022-07-04 15:57:28 +08:00
yihaoDeng 1f74676954 refactor index 2022-07-04 15:41:36 +08:00
Yihao Deng 8d8df859cc
Merge pull request #14495 from taosdata/fix/invaldRead
fix: invalid read/write
2022-07-04 15:37:50 +08:00
Minghao Li 0c1a46c26e refactor(sync): add sync strategy 2022-07-04 15:29:55 +08:00
Ganlin Zhao 22d8c5e9ab fix(query): disable histogram to be used with indefinite rows function
in projection

TD-16948
2022-07-04 15:26:44 +08:00
Xiaoyu Wang 2cff2e9228 fix: some problems of parser and planner 2022-07-04 15:12:34 +08:00
yihaoDeng df36cd165b fix invalid read/write 2022-07-04 15:01:51 +08:00
Ganlin Zhao a7e222ff92 fix(query): histogram function add param check for distribution 2022-07-04 14:57:20 +08:00
Minghao Li ded4616074 refactor(sync): add sync strategy 2022-07-04 14:55:26 +08:00
Ganlin Zhao 684621159a extend error msg buffer size 2022-07-04 14:46:58 +08:00
Xiaoyu Wang 831ef7de23 fix: some problems of parser and planner 2022-07-04 14:46:08 +08:00
Ganlin Zhao 89e4be84fe fix(query): add histogram function parameter check
TD-16972
2022-07-04 14:40:12 +08:00
yihaoDeng d4f1614242 fix invalid read/write 2022-07-04 14:28:50 +08:00
Minghao Li a5d3b7033a refactor(sync): add snapshot writer param 2022-07-04 14:18:06 +08:00
Haojun Liao 16d18b8046 refactor: do some internal refactor. 2022-07-04 14:10:29 +08:00
yihaoDeng 30380b3744 fix invalid read/write 2022-07-04 14:03:09 +08:00
Minghao Li 856806bb22 refactor(sync): add snapshot2 interface 2022-07-04 13:33:49 +08:00
Hongze Cheng 267e450a15 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 05:21:43 +00:00
Hongze Cheng 38ca993452 make merge compile 2022-07-04 05:21:02 +00:00
Minghao Li d891f31be2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-04 13:12:37 +08:00
Xiaoyu Wang f29a735081 fix: compile error 2022-07-04 11:50:55 +08:00
Xiaoyu Wang 71ab656562 fix: some problems of parser and planner 2022-07-04 11:45:27 +08:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Xiaoyu Wang 41e67fb2b8 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-04 10:16:06 +08:00
yihaoDeng e08353f843 Merge branch 'dlp' into idx 2022-07-04 09:28:26 +08:00
dapan1121 3ffd975917 enh: refactor scheduler code 2022-07-04 09:08:57 +08:00
Yihao Deng a565d6274a
Merge pull request #14478 from taosdata/fix/rpcInvalidRead
fix: rpc invalid read
2022-07-03 23:04:11 +08:00
yihaoDeng fcf6894144 fix invalid read/write 2022-07-03 15:06:44 +08:00
Yihao Deng 87f28ab358
Revert "fix: avoid invalid read" 2022-07-03 15:01:44 +08:00
Yihao Deng b09791d4af
Merge pull request #14476 from taosdata/fix/rpcInvalidRead
fix: avoid invalid read
2022-07-03 15:01:39 +08:00
yihaoDeng d493fbed98 fix invalid read/write 2022-07-03 11:54:19 +08:00
Shengliang Guan 361ff046a5
Merge pull request #14465 from taosdata/fix/tsim
refactor: temporarily comment out some code and use cases
2022-07-02 21:25:53 +08:00
Liu Jicong 31bbef82d1 fix(tmq): seek snapshot offset 2022-07-02 20:18:40 +08:00
dapan1121 2f1cc7ae60 enh: refactor scheduler code 2022-07-02 19:55:33 +08:00
Xiaoyu Wang 1d13c712c7 fix: some problems of parser and planner 2022-07-02 19:49:38 +08:00
dapan1121 9e00672c60 enh: refactor scheduler code 2022-07-02 19:48:51 +08:00
Xiaoyu Wang d5d25253fb Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-02 19:34:31 +08:00
Shengliang Guan d28c97ba5a Merge remote-tracking branch 'origin/fix/dnode_wxy' into fix/tsim 2022-07-02 19:16:31 +08:00
Xiaoyu Wang dd564e551c fix: a problem of show indexes 2022-07-02 19:16:03 +08:00
Xiaoyu Wang ae0e956837 Merge remote-tracking branch 'origin/fix/dnode' into fix/dnode_wxy 2022-07-02 19:01:36 +08:00
Xiaoyu Wang c08b3c9313 fix: a problem of show indexes 2022-07-02 19:01:16 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Zhiqiang Wang b45702be6f
Merge pull request #14466 from taosdata/fix/ZhiqiangWang/TD-13064-add-Mac-compile-support
os: add Mac compile support
2022-07-02 18:02:28 +08:00
WANG MINGMING e4a711975d
Merge pull request #14458 from taosdata/feature/TD-13041
fix: erro in json in operator
2022-07-02 17:52:43 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
Ganlin Zhao a6657a5905
Merge pull request #14463 from taosdata/fix/cast_binary_2_timestamp
enh(query): add cast from binary/nchar -> timestamp for date-time string
2022-07-02 17:22:31 +08:00
dapan1121 211ae46a05 enh: refactor scheduler code 2022-07-02 16:59:49 +08:00
wangmm0220 8390080074 fix: error in empty string in operator 2022-07-02 16:16:18 +08:00
liuyao 8a76abc3bf
Merge pull request #14459 from taosdata/feature/TD-16993
fix(stream): project ignore retrive datablock
2022-07-02 16:14:31 +08:00
Ganlin Zhao 68fab47397 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 16:09:22 +08:00
Minghao Li 4fc500c91c refactor(sync): add SyncAppendEntriesBatch 2022-07-02 16:01:47 +08:00
Ganlin Zhao 35698da9c9 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 15:47:42 +08:00
54liuyao 0d10895721 fix(stream): project ignore retrive datablock 2022-07-02 15:40:15 +08:00
liuyao 029945502b
Merge pull request #14446 from taosdata/feature/TD-16874
ci(stream): add ignore expired data
2022-07-02 14:52:56 +08:00
wangmm0220 3dafc6556c fix: erro in json in operator 2022-07-02 14:47:07 +08:00
Minghao Li 086ec29ca0 refactor(sync): add SyncClientRequestBatch 2022-07-02 14:41:54 +08:00
Shengliang Guan 3a9048462a
Merge pull request #14448 from taosdata/fix/tsim
fix: drop sma
2022-07-02 14:39:01 +08:00
Ganlin Zhao 86505d97a2
Merge pull request #14434 from taosdata/fix/TD-15257
fix(quer): fix time unit parameter check
2022-07-02 14:21:04 +08:00
54liuyao c9f133a5e4 ci(stream): add ignore expired data 2022-07-02 14:17:50 +08:00
Shengliang Guan f249bae82d Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-07-02 14:14:01 +08:00
Liu Jicong 06514e13df
Merge pull request #14454 from taosdata/feature/stream
feat(stream): support ignore expired flag
2022-07-02 13:20:58 +08:00
Shengliang Guan b490da0afc test: remove index test 2022-07-02 13:08:14 +08:00
Shengliang Guan 0408224a8b test: remove case 2022-07-02 13:05:59 +08:00
dapan1121 f9c9afe61a Merge branch '3.0' into enh/killQuery 2022-07-02 12:31:45 +08:00
dapan1121 fbc206d410
Merge pull request #14433 from taosdata/hotfix/fixredirect
fix: fix redirect crash issue
2022-07-02 12:29:34 +08:00
Shengliang Guan 64755f585a test: remove unstable ut 2022-07-02 11:55:27 +08:00
Xiaoyu Wang 5c060565b2 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-02 11:31:58 +08:00
Xiaoyu Wang 246b3e245d fix: a problem of group by tbname 2022-07-02 11:31:35 +08:00
dapan1121 504d25a156 fix: fix task is NULL issue 2022-07-02 11:29:28 +08:00
Ganlin Zhao 7a588bd16f Merge branch '3.0' into fix/TD-15257 2022-07-02 11:20:04 +08:00
Ganlin Zhao f44e5310da Merge branch '3.0' into fix/TD-15257 2022-07-02 11:18:50 +08:00
Liu Jicong 4a2b266612 feat(stream): support ignore expired flag 2022-07-02 10:59:29 +08:00
Xiaoyu Wang 2a114a6b83 fix: a problem of group by tbname 2022-07-01 21:06:08 +08:00
Xiaoyu Wang f98e4323c4
Merge pull request #14423 from taosdata/feature/3.0_debug_wxy
Feature/3.0 debug wxy
2022-07-01 21:05:17 +08:00
yihaoDeng 09eceed6b4 fix transport quit fix 2022-07-01 21:03:50 +08:00
dapan1121 817a319a2e enh: kill query 2022-07-01 21:01:35 +08:00
Li Minghao 3d03d326a7
Merge pull request #14438 from taosdata/feature/3.0_mhli
refactor(sync): add snapshot2 interface
2022-07-01 20:51:22 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
slzhou dbbff4ea2c feat: push cond to join child through generating plan 2022-07-01 20:00:01 +08:00
Xiaoyu Wang d1eef6880b fix: csum/diff/mavg support subquery 2022-07-01 19:59:28 +08:00
Ganlin Zhao e8bff44bbb Merge branch '3.0' into fix/TD-16969 2022-07-01 18:08:39 +08:00
Ganlin Zhao 41aff1d1f6 fix(query): normalized parameter of histogram function can only be 1/0
TD-16969
2022-07-01 18:05:34 +08:00
wangmm0220 75e5aebbec fix:error in json 2022-07-01 17:35:23 +08:00
Minghao Li d4ab134645 refactor(sync): add snapshot2 interface 2022-07-01 17:30:52 +08:00
Ganlin Zhao 9c2af3dd96 Merge branch '3.0' into fix/TD-15257 2022-07-01 17:23:59 +08:00
Xiaoyu Wang ec7bfd9eba fix: csum/diff/mavg support subquery 2022-07-01 17:17:49 +08:00
wangmm0220 4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
wangmm0220 085ace59e0 fix:to_json() function 2022-07-01 16:47:54 +08:00
Ganlin Zhao 55b8271554 fix crash 2022-07-01 16:34:07 +08:00
shenglian-zhou 1920980d4c
Merge pull request #14432 from taosdata/szhou/feature/push-cond-child-proj
feat: push condition to child projection
2022-07-01 16:30:02 +08:00
Li Minghao e7729ee3a3
Merge pull request #14430 from taosdata/feature/3.0_mhli
refactor(sync): add snapshot2 interface
2022-07-01 16:22:16 +08:00
Liu Jicong 8915418dac
Merge pull request #14429 from taosdata/feature/stream
refactor(wal)
2022-07-01 16:19:56 +08:00
Ganlin Zhao a239337f5a fix(quer): fix time unit parameter check
TD-15257
2022-07-01 15:54:03 +08:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Ganlin Zhao 1f88ea5597 fix(quer): fix time unit parameter check
TD-15257
2022-07-01 15:46:35 +08:00
dapan1121 1a83250215 fix: fix redirect crash issue 2022-07-01 15:28:45 +08:00
Shengliang Guan 0cbc22480d refactor: stable mgmt 2022-07-01 15:26:33 +08:00
slzhou 1003cd8549 feat: push condition to child projection 2022-07-01 15:25:02 +08:00
Haojun Liao 34e4980a51 refactor(query): do some internal refactor. 2022-07-01 15:19:02 +08:00
yihaoDeng b2be5169ab add inst ref 2022-07-01 15:11:24 +08:00
Xiaoyu Wang 129c9251bd fix: csum/diff/mavg support subquery 2022-07-01 15:01:37 +08:00
Shengliang Guan 4810e25a44 Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-07-01 14:56:16 +08:00
Minghao Li 0ffc6c46f3 refactor(sync): add snapshot2 interface 2022-07-01 14:47:12 +08:00
Liu Jicong 269b33c02d Merge branch '3.0' into feature/stream 2022-07-01 14:39:52 +08:00
Liu Jicong 52d09b4173 refactor(wal) 2022-07-01 14:39:21 +08:00
Minghao Li 91238e823e refactor(sync): add snapshot2 interface 2022-07-01 14:22:14 +08:00
Ganlin Zhao f9d250781b fix(quer): fix time unit parameter check
TD-15257
2022-07-01 14:12:01 +08:00
Xiaoyu Wang e235c9830d merge 3.0 2022-07-01 13:35:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
dapan1121 5b018f399a
Merge pull request #14418 from taosdata/hotfix/streamcrash
fix: fix stream crash issue
2022-07-01 13:22:20 +08:00
Zhiqiang Wang 0dc6aa2972
Merge pull request #14421 from taosdata/fix/ZhiqiangWang/TD-16357-replace-win-qsort-func
os: replace win qsort func
2022-06-30 21:58:58 -07:00
afwerar 4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +08:00
yihaoDeng 8d1e2662c7 refactor index code 2022-07-01 11:50:41 +08:00
Ganlin Zhao 45b47b7a2b
Merge pull request #14399 from taosdata/enh/last_row_function
feat(query): add last_row function without cache
2022-07-01 11:28:43 +08:00
yihaoDeng 3f8efa106a fix brokenlink retry 2022-07-01 11:27:30 +08:00
Shengliang Guan 1b3fde4a60 refactor: stable mgmt 2022-07-01 11:12:08 +08:00
dapan1121 a657413fa6 enh: kill query 2022-07-01 11:10:35 +08:00
Liu Jicong 98d2f42640
Merge pull request #14415 from taosdata/feature/stream
feat(wal): add api to check log existance
2022-07-01 11:00:26 +08:00
dapan1121 ba265d51b8 fix: fix stream crash issue 2022-07-01 10:29:37 +08:00
Liu Jicong 7a65589525 feat(wal): add api to check log existance 2022-07-01 10:15:05 +08:00
Minghao Li 4033e2dd34 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-01 09:50:43 +08:00
Minghao Li 4f39cd31b0 refactor(sync): add snapshot2 interface 2022-07-01 09:50:20 +08:00
yihaoDeng 3681aacf0e feat: refactor index code 2022-06-30 21:08:15 +08:00
liuyao 2f865a43ec
Merge pull request #14407 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-30 20:57:49 +08:00
dapan1121 582ef5a832
Merge pull request #14391 from taosdata/hotfix/tagnull
fix: fix null as tag value issue
2022-06-30 20:37:18 +08:00
yihaoDeng da93f6c984 feat: refactor index code 2022-06-30 20:25:27 +08:00
Liu Jicong c40c22c386
Merge pull request #14401 from taosdata/feature/stream
fix(tmq): reset window
2022-06-30 20:21:26 +08:00
54liuyao 68cfa54e26 feat(stream): ignore close window 2022-06-30 20:21:24 +08:00
yihaoDeng 4b0e8a3919 feat: refactor index code 2022-06-30 20:00:46 +08:00
Liu Jicong 4f107908db fix(tmq): reset window 2022-06-30 19:51:48 +08:00
Yihao Deng 17d4ea71c1
Merge branch '3.0' into fix/invalidRead 2022-06-30 19:19:10 +08:00
yihaoDeng afe67a609a add query epset 2022-06-30 19:16:22 +08:00
shenglian-zhou d6e1d1bcd0
Merge pull request #14389 from taosdata/szhou/feature/pushdown-agg-cond
feat: support push agg operator condition to scan
2022-06-30 19:07:06 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121 cda2f844ce fix: fix json tag null issue 2022-06-30 18:12:04 +08:00
dapan1121 068924cc62
Merge pull request #14385 from taosdata/feature/queryredirect
feat: support query redirect
2022-06-30 18:03:17 +08:00
Ganlin Zhao 0692ab4c5e enh(query): add last_row selectivity 2022-06-30 17:55:54 +08:00
Xiaoyu Wang 42fba6480c merge 3.0 2022-06-30 17:54:34 +08:00
Liu Jicong d8da0c0e70
Merge pull request #14386 from taosdata/feature/stream
feat(tmq): add snapshot test
2022-06-30 17:51:02 +08:00
Ganlin Zhao e38e23a3ec fix error 2022-06-30 17:45:55 +08:00
Ganlin Zhao 1dd89be98b enh(query): add last_row function without cache
TD-16927
2022-06-30 17:39:20 +08:00
Ganlin Zhao 0b9358583c Merge branch '3.0' into enh/last_row_function 2022-06-30 17:33:07 +08:00
slzhou 82bd8a560f fix: reserved column should not be copied 2022-06-30 17:28:49 +08:00
Liu Jicong 94f07836d6 fix(tmq): set scan rsp offset correctly 2022-06-30 17:25:19 +08:00
Ganlin Zhao 860bf88f31 feat(query): add last_row function without cache
TD-16927
2022-06-30 17:20:04 +08:00
Xiaoyu Wang dc769a284f feat: support 'select *, expr from ...' syntax 2022-06-30 17:12:03 +08:00
wangmm0220 77fcf17ae1 fix:error in lock meta if group by json tag, need unlock if error happens 2022-06-30 17:10:34 +08:00
Minghao Li 24a3c817a4 refactor(sync): add batch propose 2022-06-30 16:44:49 +08:00
Liu Jicong ca1c961f9c fix(tmq): set last scan status 2022-06-30 16:40:17 +08:00
Zhiqiang Wang 40077131c2
Merge pull request #14392 from taosdata/fix/ZhiqiangWang/TD-16357-support-gcc4.8-compile
os: support-gcc4.8-compile
2022-06-30 01:34:20 -07:00
wangmm0220 e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
yihaoDeng 4fc1a6faec fix connect error 2022-06-30 15:59:42 +08:00
Ganlin Zhao 5ecc0d2ba8
Merge pull request #14382 from taosdata/refactor/db_precision
fix(query): support irate function for ms/ns precision db
2022-06-30 15:55:06 +08:00
afwerar 05b4f8b273 os: support-gcc4.8-compile 2022-06-30 15:54:30 +08:00
dapan1121 7ef4d3f03a fix: fix null as tag value issue 2022-06-30 15:39:30 +08:00
Minghao Li 376bf46a64 refactor(sync): add SyncClientRequestBatch 2022-06-30 15:28:23 +08:00
slzhou b6d6657174 feat: support push agg operator condition to scan 2022-06-30 15:14:16 +08:00
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
Liu Jicong 4695dc2dae feat(tmq): add snapshot test 2022-06-30 14:41:50 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
dapan1121 a8e526a6de feat: support query redirect 2022-06-30 14:31:12 +08:00
yihaoDeng 407db99a4d Merge branch 'feature/queryredirect' of https://github.com/taosdata/TDengine into redir 2022-06-30 13:55:52 +08:00
yihaoDeng 25b3f88ebe add query epset 2022-06-30 13:55:41 +08:00
Ganlin Zhao ee47df9c2a fix(query): support irate function for ms/ns precision db 2022-06-30 13:46:28 +08:00
dapan1121 47bc36872f feat: query redirect 2022-06-30 13:44:26 +08:00
Minghao Li 1a8cf049b7 refactor(sync): add syncAppendEntriesBatch 2022-06-30 13:39:13 +08:00
Ganlin Zhao 23a55dc9e4
Merge pull request #14375 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-30 12:32:15 +08:00
Ganlin Zhao 5d694bc5d7 fix translate function for now/today 2022-06-30 11:45:11 +08:00
Ganlin Zhao 63d799feeb refactor(query): set stateduration function default time unit as db
precision
2022-06-30 11:32:00 +08:00
Xiaoyu Wang 99563fc136
Merge pull request #14376 from taosdata/feature/3.0_debug_wxy
feat: the last_row function supports all scenes
2022-06-30 11:28:53 +08:00
dapan1121 1b3eec48bd Merge branch 'feature/queryredirect' of github.com:taosdata/TDengine into feature/queryredirect 2022-06-30 11:05:10 +08:00
dapan1121 a535df7590 feat: query redirect 2022-06-30 11:04:49 +08:00
Xiaoyu Wang 2ad6599810 feat: partition by distributed split 2022-06-30 11:04:24 +08:00
yihaoDeng e389dcedc8 add query epset 2022-06-30 10:30:36 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +08:00
Ganlin Zhao a2bdaf8a93 Merge branch '3.0' into refactor/db_precision 2022-06-30 09:58:59 +08:00
Ganlin Zhao f324a50b2e
Merge pull request #14369 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-30 09:56:47 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
Ganlin Zhao 4d59cfec76 Merge branch '3.0' into refactor/db_precision 2022-06-29 20:50:06 +08:00
Ganlin Zhao b1670f8b82 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:49:36 +08:00
Ganlin Zhao 4c23223447 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:46:51 +08:00
Hongze Cheng 86d98a665e fix coredump 2022-06-29 12:32:44 +00:00
Ganlin Zhao 5d9e01c771
Merge pull request #14366 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 20:28:53 +08:00
Li Minghao 3a23fb71ec
Merge pull request #14364 from taosdata/feature/3.0_mhli
refactor(sync): add SYNC_TERM_INVALID
2022-06-29 20:28:10 +08:00
wangmm0220 06552626e0 fix:disable some json test cases 2022-06-29 20:15:49 +08:00
Ganlin Zhao 5e31c9e8fe refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:07:33 +08:00
Ganlin Zhao 26e6d7ccf7
Merge pull request #14358 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 19:49:04 +08:00
Ganlin Zhao 9e75569870 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 19:48:37 +08:00
Minghao Li c3b2b98454 refactor(sync): delete some asserts 2022-06-29 19:18:15 +08:00
wangmm0220 3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +08:00
Xiaoyu Wang 80d5c96bab feat: sql command 'flush database' 2022-06-29 18:33:02 +08:00
Xiaoyu Wang 3e80533bbe Merge remote-tracking branch 'origin/feat/tsdb_refact' into feat/tsdb_refact_wxy 2022-06-29 18:21:12 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
wangmm0220 665e1ddde8 fix:add switch for buffer page debug log 2022-06-29 18:11:28 +08:00
wangmm0220 95f5d7695d fix:core dump in top/bottom with group by tag if tag is big size and flush/get from disk with page buffer & fix _group_by key function heap overflow 2022-06-29 18:05:09 +08:00
dapan1121 53efe75146 feat: query redirect 2022-06-29 17:56:35 +08:00
Ganlin Zhao 290d5b3f14 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 17:50:33 +08:00
Yihao Deng 2001be5996
Merge branch '3.0' into enh/stopquery 2022-06-29 17:24:52 +08:00
dapan1121 8dfe07e1b0 Merge branch 'feature/queryredirect' of github.com:taosdata/TDengine into feature/queryredirect 2022-06-29 17:15:43 +08:00
liuyao 7069332321
Merge pull request #14349 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-29 17:15:31 +08:00
dapan1121 914e06e8cb feat: query redirect 2022-06-29 17:15:08 +08:00
Haojun Liao 3a566d5e5e refactor(query): do some internal refactor. 2022-06-29 17:14:00 +08:00
Yihao Deng ddb68a8e6e
Merge pull request #14337 from taosdata/feat/extraceEpset
feat: extract  epset from msg cont
2022-06-29 17:12:45 +08:00
yihaoDeng 9c0e5cd56b Merge branch 'feature/queryredirect' of https://github.com/taosdata/TDengine into redir 2022-06-29 17:12:14 +08:00
yihaoDeng 86e379f081 feat: add retry 2022-06-29 17:11:30 +08:00
Minghao Li 108530c1b6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-29 17:08:22 +08:00
dapan1121 4c82ce1810 fix: fix request freed issue 2022-06-29 17:00:48 +08:00
Haojun Liao 0fc154982f
Merge pull request #14353 from taosdata/feature/3_liaohj
enh(query): add api to extract scan  status
2022-06-29 16:50:49 +08:00
54liuyao 5e0cbdf0b7 feat(stream): ignore close window 2022-06-29 16:49:45 +08:00
Minghao Li 3440822ebf refactor(sync): add some comments 2022-06-29 16:40:36 +08:00
dapan1121 16c6427e7b fix: fix scheduler callback issue 2022-06-29 16:29:12 +08:00
Haojun Liao 1b8c5d9269 enh(query): add api to extract scan status 2022-06-29 16:19:19 +08:00
yihaoDeng f8cf9761f8 fix: avoid compile error 2022-06-29 16:18:23 +08:00
Xiaoyu Wang c2822a6449
Merge pull request #14347 from taosdata/feature/3.0_wxy
feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()'
2022-06-29 15:45:19 +08:00
Minghao Li 41f24314d0 refactor(sync): add SYNC_TERM_INVALID 2022-06-29 15:44:30 +08:00
Li Minghao 83330f11b3
Merge pull request #14348 from taosdata/feature/3.0_mhli
refactor(sync): delete old functions
2022-06-29 15:17:14 +08:00
wangmm0220 873546bee5 fix:add log 2022-06-29 15:03:17 +08:00
Minghao Li 18b78f2450 refactor(sync): add return code restore from snapshot 2022-06-29 14:50:59 +08:00
Minghao Li 4bd650609d refactor(sync): delete old functions 2022-06-29 14:02:40 +08:00
Ganlin Zhao 4524b826df
Merge pull request #14323 from taosdata/enh/first_last_select
enh(query): first/last function support selectivity
2022-06-29 13:31:40 +08:00
yihaoDeng 6dc7eaa107 modify case 2022-06-29 11:45:18 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
dapan1121 c6440a7a3c feat: query redirect 2022-06-29 11:33:37 +08:00
dapan1121 ab18857e6f Merge branch 'feature/queryredirect' of github.com:taosdata/TDengine into feature/queryredirect 2022-06-29 11:27:38 +08:00
dapan1121 5df4cd9054 feat: query redirect 2022-06-29 11:27:01 +08:00
yihaoDeng 8640cab139 feat: add retry 2022-06-29 11:24:37 +08:00
yihaoDeng 5691b0e82f feat:modify code 2022-06-29 11:04:04 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 6d8fd7e506 feat: query redirect 2022-06-29 10:51:22 +08:00
yihaoDeng ce21baaa86 feat: enh redirect 2022-06-29 10:44:18 +08:00
Haojun Liao f2b83dfb4a fix(query):check null ptr. 2022-06-29 10:35:07 +08:00
Ganlin Zhao e9fba684de fix mem leak 2022-06-29 10:17:30 +08:00
dapan1121 51fc9a7b24 fix: fix explain issue 2022-06-29 09:52:23 +08:00
dapan1121 f579cc4c15 Merge branch '3.0' into enh/stopquery 2022-06-29 08:57:35 +08:00
dapan1121 7beac65a73
Merge pull request #14303 from taosdata/hotfix/resetquerycache
fix: fix reset query cache crash issue
2022-06-29 08:54:42 +08:00
Haojun Liao 5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
yihaoDeng ad29b90cc2 fix: fix rpc quit problem 2022-06-28 21:43:40 +08:00
Ganlin Zhao c3d26dc73e feat(query): enable selectivity with first/last for stable 2022-06-28 20:46:45 +08:00
yihaoDeng 1fc9eaadd0 fix: fix rpc quit problem 2022-06-28 20:30:17 +08:00
yihaoDeng c1690655fc fix: fix rpc quit problem 2022-06-28 19:21:04 +08:00
yihaoDeng bb95a3427e fix: fix rpc quit problem 2022-06-28 19:19:40 +08:00
dapan1121 3a934d09e3 fix: fix windows quit issue 2022-06-28 19:00:20 +08:00
dapan1121 b99fd13152 add mock code 2022-06-28 17:21:24 +08:00
dapan1121 bd7a2adc5f add mock code 2022-06-28 17:13:51 +08:00
Ganlin Zhao d91443ce71 Merge branch '3.0' into enh/first_last_select 2022-06-28 16:47:27 +08:00
Li Minghao b0b9b01349
Merge pull request #14322 from taosdata/feature/3.0_mhli
refactor(sync): adjust trace log
2022-06-28 16:46:44 +08:00
Ganlin Zhao 9ca819aa69 enh(query): last function support selectivity 2022-06-28 16:44:16 +08:00
dapan1121 2b9aff693b fix: remove rpc response msg in delete 2022-06-28 16:35:27 +08:00
Minghao Li aded474d5b refactor(sync): adjust trace log 2022-06-28 16:19:15 +08:00
Xiaoyu Wang ed4b2dec17 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-06-28 16:08:57 +08:00
Xiaoyu Wang aa9d3ac521 fix: a problem of auto-create-table insert statement 2022-06-28 16:08:34 +08:00
Xiaoyu Wang b391a8349e
Merge pull request #14301 from taosdata/feature/3.0_debug_wxy
feat: refactor the plan implementation of unique function
2022-06-28 16:06:13 +08:00
Liu Jicong 58803fafcf fix(query): check datablock should check output flag 2022-06-28 16:05:00 +08:00
Haojun Liao 03fa247a2d other: merge 3.0. 2022-06-28 15:38:54 +08:00
Haojun Liao be08ccaedc refactor:do internal refactor. 2022-06-28 15:35:51 +08:00
Haojun Liao 4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Ganlin Zhao 0ea8f0fbc6 enh(query): fisrt function support selectivity 2022-06-28 15:14:57 +08:00
Li Minghao 364250b857
Merge pull request #14318 from taosdata/feature/3.0_mhli
refactor(sync): adjust trace log
2022-06-28 15:05:32 +08:00
yihaoDeng 421efe365b fix: fix rpc quit problem 2022-06-28 14:41:56 +08:00
Xiaoyu Wang 38ae79e6e0 feat: refactor the plan implementation of unique function 2022-06-28 14:32:58 +08:00
Minghao Li 33d1440e7b refactor(sync): adjust trace log 2022-06-28 14:23:45 +08:00
Xiaoyu Wang 1f47241fc9 merge 3.0 2022-06-28 13:48:13 +08:00
Liu Jicong 383e7a495b fix(query): enable output check 2022-06-28 13:45:50 +08:00
Xiaoyu Wang e330eccbf5 feat: refactor the plan implementation of unique function 2022-06-28 13:45:20 +08:00
Li Minghao 474b6d1ee3
Merge pull request #14313 from taosdata/feature/3.0_mhli
refactor(sync): refactor snapshot code
2022-06-28 13:43:06 +08:00
Ganlin Zhao 75da5ec070
Merge pull request #14309 from taosdata/feat/mode_function
feat(query): support mode function
2022-06-28 13:22:50 +08:00
liuyao 00c27ee5e0
Merge pull request #14312 from taosdata/feature/TD-16843
fix(stream): taosd crash when partition by tbname
2022-06-28 13:08:04 +08:00
shenglian-zhou 344fa6ea97
Merge pull request #14314 from taosdata/szhou/udf/udf-outside-tdengine
feat: udf can be compiled outside TDengine
2022-06-28 12:36:24 +08:00
shenglian-zhou c356b3d861
Merge pull request #14310 from taosdata/szhou/feature/project-compaction
fix: add merge parent project and child project optimization
2022-06-28 12:36:08 +08:00
slzhou 4110c00497 fix: initialize errCode of SMergeProjectsContext 2022-06-28 11:58:39 +08:00
slzhou 9540d1eac9 feat: udf can be compiled outside TDengine 2022-06-28 11:54:16 +08:00
yihaoDeng 3bb68c78ae fix: fix rpc quit problem 2022-06-28 11:52:43 +08:00
54liuyao acb7f040aa fix(stream): taosd crash when partition by tbname 2022-06-28 11:48:10 +08:00
yihaoDeng 6000e2e20b fix: fix rpc quit problem 2022-06-28 11:45:20 +08:00
Minghao Li feb2a0f7c0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-28 11:33:32 +08:00
Minghao Li 4c410bd5ec refactor(sync): refactor snapshot code 2022-06-28 11:33:14 +08:00
Xiaoyu Wang ef975798fd feat: refactor the plan implementation of unique function 2022-06-28 11:28:16 +08:00
dapan1121 341c91fd7d fix: fix show stables issue 2022-06-28 11:02:37 +08:00
slzhou f80af20d3b fix: add merge parent project and child project optimization 2022-06-28 10:55:34 +08:00
Ganlin Zhao e9fbe1805b Merge branch '3.0' into feat/mode_function 2022-06-28 10:42:58 +08:00
Ganlin Zhao 4d05053e66 fix(query): add mode function 2022-06-28 10:42:10 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
yihaoDeng 0c5342730c feat: refactor rpc code 2022-06-28 10:34:51 +08:00
Xiaoyu Wang 77206e3a31 fix: clean up expired parser unit tests 2022-06-28 09:36:00 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
dapan1121 62d0c04e0c Merge branch 'enh/stopquery' of github.com:taosdata/TDengine into enh/stopquery 2022-06-28 09:29:19 +08:00
dapan1121 c9d9c3ffd0 enh: stop query 2022-06-28 09:28:50 +08:00
Yihao Deng 64cc8bd81c
Merge pull request #14290 from taosdata/feat/noRetryMsg
feat: add no retry  msg
2022-06-28 09:17:27 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
wangmm0220 e2f4a2a03c Merge branch 'feature/TD-13041' of github.com:taosdata/TDengine into feature/TD-13041 2022-06-27 21:21:22 +08:00
wangmm0220 b6b4455689 fix:error in group by tag 2022-06-27 21:21:08 +08:00
Li Minghao 146442ed07
Merge pull request #14296 from taosdata/feature/3.0_mhli
refactor(sync): add comments in snapshot
2022-06-27 21:09:38 +08:00
yihaoDeng 1ab7e3a90b feat: refactor rpc code 2022-06-27 21:07:41 +08:00
yihaoDeng 59315e0fe9 Merge branch 'enh/stopquery' of https://github.com/taosdata/TDengine into stopQuery 2022-06-27 21:01:07 +08:00
yihaoDeng 1d8a0d6226 feat: refactor rpc code 2022-06-27 21:00:40 +08:00
Minghao Li 2647ec21e0 refactor(sync): add comments in snapshot 2022-06-27 20:23:08 +08:00
wangmm0220 8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +08:00
Ganlin Zhao f9e80a8e2b fix(query): add mode function 2022-06-27 19:41:13 +08:00
yihaoDeng 14209eeec6 feat: add no retry to query 2022-06-27 19:34:50 +08:00
shenglian-zhou 615c5d2b89
Merge pull request #14287 from taosdata/szhou/feature/multiwaymerge
feat: multiway merge handles group+mergekeys, group and only merge keys
2022-06-27 19:11:39 +08:00
slzhou 474c84bcc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/project-compaction 2022-06-27 19:11:06 +08:00
slzhou 8088b67dc9 feat: add merge projects optimization 2022-06-27 19:07:37 +08:00
dapan1121 7d5a13b8dd Merge branch 'enh/stopquery' of github.com:taosdata/TDengine into enh/stopquery 2022-06-27 18:30:22 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
yihaoDeng 393a5dcf66 enh: change refMgt of rpc 2022-06-27 18:25:16 +08:00
slzhou 11f8d302fa feat: multiway merge handles group+mergekeys, group and only merge keys 2022-06-27 17:51:50 +08:00
yihaoDeng 49b2c544be enh: change refMgt of rpc 2022-06-27 17:38:02 +08:00
Li Minghao f6f1855da8
Merge pull request #14284 from taosdata/feature/3.0_mhli
refactor(sync): add entries cache
2022-06-27 17:23:32 +08:00
Xiaoyu Wang 87b8131409
Merge pull request #14266 from taosdata/feature/3.0_debug_wxy
feat: tail function rewrite to statement
2022-06-27 17:16:37 +08:00
Minghao Li 5e7b7cb449 refactor(sync): add entries cache 2022-06-27 16:56:36 +08:00
Minghao Li 49ff32cda5 refactor(sync): add entries cache 2022-06-27 16:53:02 +08:00
slzhou c55bef32ff Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-06-27 16:25:40 +08:00
slzhou b67c65313b fix: add group to multi-merge operator 2022-06-27 16:25:14 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Zhiqiang Wang fff9fd92a6
Merge pull request #14281 from taosdata/fix/ZhiqiangWang/TD-16357-add-win-newest-test
test: add win newest test
2022-06-27 16:14:19 +08:00
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +08:00
afwerar d4ba3e3dc6 test: add win newest test 2022-06-27 15:44:14 +08:00
Ganlin Zhao 515109088f feat(query): support mode function 2022-06-27 15:08:13 +08:00
Cary Xu e2ec8b57d9 Merge branch '3.0' into feature/TD-11274-3.0 2022-06-27 14:47:31 +08:00
Cary Xu e6dd04f573 refactor: rsma restore 2022-06-27 14:47:14 +08:00
Xiaoyu Wang 732a91c945 feat: tail function rewrite to statement 2022-06-27 13:51:06 +08:00
dapan1121 de06f055c2 enh: stop query 2022-06-27 13:33:29 +08:00
Haojun Liao be02907302
Merge pull request #14271 from taosdata/feature/3_liaohj
fix(query): support scalar function before applying interval aggregate.
2022-06-27 11:55:28 +08:00
Haojun Liao 02e450c590 fix(query): fix invalid object type. 2022-06-27 11:34:06 +08:00
Li Minghao 486f268353
Merge pull request #14272 from taosdata/feature/3.0_mhli
refactor(sync): optimized only one replica
2022-06-27 11:05:39 +08:00
wangmm0220 c190fa5bd9 fix: keep n rows if limit n 2022-06-27 10:51:47 +08:00
Haojun Liao dbd8c300fa refactor: do tsdbread refactor. 2022-06-27 10:46:20 +08:00
Minghao Li a22814a5a7 refactor(sync): optimized one replica 2022-06-27 10:36:28 +08:00
wangmm0220 9fb4f943e7 fix: enable group by test cases 2022-06-27 10:14:36 +08:00
Haojun Liao 2e5d563ec0 other: merge 3.0. 2022-06-27 10:11:11 +08:00
Haojun Liao ff72e66dba fix(query): support scalar function before applying interval aggregate. 2022-06-27 10:07:48 +08:00
Xiaoyu Wang 9c68bde6e9 feat: tail function rewrite to statement 2022-06-26 23:50:13 +08:00
dapan1121 c364f98978 enh: stop query process 2022-06-26 19:34:50 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
Xiaoyu Wang ab95a49fa2 merge 3.0 2022-06-26 15:23:29 +08:00
dapan1121 e851977da0 Merge branch '3.0' into enh/stopquery 2022-06-26 15:19:35 +08:00
dapan1121 b6c38a4f1b enh: stop query process 2022-06-26 15:13:22 +08:00
Xiaoyu Wang d4175cd8f8 merge 3.0 2022-06-26 14:57:34 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
Minghao Li 6eecbcd1a6 refactor(sync): optimized one replica 2022-06-26 01:16:11 +08:00
shenglian-zhou ef84dcbead
Merge pull request #14252 from taosdata/szhou/feature/set-op-optimization
feat: add set operator optimization
2022-06-25 21:04:40 +08:00
Yihao Deng a081c7c154
Merge branch '3.0' into feat/idxFix 2022-06-25 20:40:16 +08:00
yihaoDeng 5a4b51a968 fix index bug 2022-06-25 20:36:38 +08:00
Minghao Li a6f33ba01c refactor(sync): optimized one replica 2022-06-25 20:31:42 +08:00
Liu Jicong 0c1a51bad6 enh(stream): refine tqRetrieveDataBlock api 2022-06-25 20:03:29 +08:00
slzhou 1bc2f81b20 feat: add set op elimination 2022-06-25 18:46:54 +08:00
Liu Jicong 996f995644 fix(sma): drop stream when drop sma 2022-06-25 18:14:42 +08:00
Liu Jicong bdd4134fc1
Revert "fix(sma): drop stream when drop sma" 2022-06-25 18:11:11 +08:00
slzhou 297c848e61 feat: add set operator optimization 2022-06-25 17:50:42 +08:00
Liu Jicong 3210fdc367 merge from 3.0 2022-06-25 17:49:25 +08:00
Liu Jicong 47ae534c0f fix(sma): drop stream when drop sma 2022-06-25 17:44:54 +08:00
Li Minghao 2946a5e83c
Merge pull request #14245 from taosdata/feature/3.0_mhli
refactor(sync): do not replicate when one replica
2022-06-25 17:21:29 +08:00
liuyao 76596b0c17
Merge pull request #14243 from taosdata/feature/TD-16728
feat(stream): auto pull data
2022-06-25 17:08:14 +08:00
shenglian-zhou 6c7aaecbe0
Merge pull request #14237 from taosdata/szhou/feature/table-merge-scan-operator
fix: restore table merge scan operator
2022-06-25 17:07:33 +08:00
54liuyao 10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +08:00
Minghao Li 77b365f0cc refactor(sync): do not replicate when one replica 2022-06-25 16:27:05 +08:00
shenglian-zhou 8e2b93f0e1
Merge pull request #14240 from taosdata/szhou/feature/merge-interval-2
fix: overlapping intervals problem
2022-06-25 16:13:28 +08:00
Liu Jicong 3e754d157f
Merge pull request #14241 from taosdata/feature/stream
fix(tmq): check stb existence when subscribing stb
2022-06-25 15:51:24 +08:00
Liu Jicong 90121ae439 fix(tmq): check stb existence when subscribing stb 2022-06-25 15:26:29 +08:00
slzhou 6adc19d443 fix: overlapping intervals problem 2022-06-25 15:20:11 +08:00
Ganlin Zhao 570b36cb9b
Merge pull request #14232 from taosdata/enh/cast_function
enh(query): enhance cast function to support more types
2022-06-25 14:57:58 +08:00
WANG MINGMING 0e8319f70a
Merge pull request #14236 from taosdata/feature/TD-16524
fix:memory error
2022-06-25 14:48:04 +08:00
Yihao Deng 6e4e10ad41
Merge pull request #14214 from taosdata/feat/rpcRefactor1
feat: rpc refactor
2022-06-25 14:47:37 +08:00
Liu Jicong 930613db8b
Merge pull request #14235 from taosdata/feature/stream
fix(stream): stream rsp to retrieve msg if data is empty
2022-06-25 14:36:59 +08:00
yihaoDeng 25a12d96b0 handle rpc retry 2022-06-25 14:06:33 +08:00
Liu Jicong 81ed902d7f fix(stream): stream rsp to retrieve msg if data is empty 2022-06-25 14:03:06 +08:00