Commit Graph

6772 Commits

Author SHA1 Message Date
wangmm0220 3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +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
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
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
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
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
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
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
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
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