Commit Graph

6928 Commits

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