Commit Graph

6168 Commits

Author SHA1 Message Date
Xiaoyu Wang a06b329bee feat: sql command 'show create database', 'show create table', 'show create stable' and 'alter local' 2022-06-17 21:16:13 +08:00
Liu Jicong 342a1ae42d fix(stream): build ctb name 2022-06-17 21:00:10 +08:00
dapan1121 c2a96b2cc1 fix insert affected rows issue 2022-06-17 20:12:18 +08:00
Haojun Liao d2f8a330e1 refactor(query): do some internal refactor. 2022-06-17 20:09:49 +08:00
Haojun Liao 0f92fb02f9 enh(query): add new api. 2022-06-17 20:07:55 +08:00
Haojun Liao 45d379473f fix(query): fix syntax error. 2022-06-17 19:49:43 +08:00
Haojun Liao 11267a0032 other: merge 3.0 2022-06-17 19:05:39 +08:00
Haojun Liao 78d1f75c9b refactor(query): do some internal refactor. 2022-06-17 19:01:45 +08:00
Xiaoyu Wang 64f8a9cea8 merge 3.0 2022-06-17 18:45:17 +08:00
Shengliang Guan 98272d1434 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 18:41:39 +08:00
dapan1121 211adf20af
Merge pull request #13875 from taosdata/feature/showapps
feat: support show apps command
2022-06-17 18:20:05 +08:00
dapan1121 8ce76f7419 fix case issues 2022-06-17 17:30:57 +08:00
Xiaoyu Wang aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +08:00
Shengliang Guan 4c554437ea
Merge pull request #13931 from taosdata/fix/tsim
refactor: adjust logs
2022-06-17 17:00:12 +08:00
liuyao f9fe106a70
Merge pull request #13929 from taosdata/feature/TD-16616
feat(stream): distribute stream session plan
2022-06-17 16:30:01 +08:00
wangmm0220 470cee9e3d fix: comment & ttl 2022-06-17 16:15:03 +08:00
wangmm0220 66163539bd Merge branch 'feature/TD-16524' of github.com:taosdata/TDengine into feature/TD-16524 2022-06-17 15:57:31 +08:00
wangmm0220 6184d33011 fix: comment & ttl 2022-06-17 15:55:59 +08:00
Haojun Liao 1c52b59344 refactor: do some internal refactor. 2022-06-17 15:48:32 +08:00
Shengliang Guan 5959cc2d42 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 15:46:26 +08:00
54liuyao 61153b7637 feat(stream): distribute stream session plan 2022-06-17 15:39:19 +08:00
Xiaoyu Wang c556e5f264
Merge pull request #13932 from taosdata/feature/3.0_wxy
fix: a problem of super table order by
2022-06-17 15:35:44 +08:00
dapan1121 b864da2a9c fix app release issue 2022-06-17 15:26:45 +08:00
Shengliang Guan db4e02c7c7 fix: add log to debug mnode sync 2022-06-17 15:23:17 +08:00
Haojun Liao d6647789e3
Merge pull request #13930 from taosdata/feature/3_liaohj
fix(query): set correct source status in merge sort.
2022-06-17 15:09:46 +08:00
Shengliang Guan ab2f268601 Merge branch 'fix/tsim' into fix/dnode 2022-06-17 14:53:04 +08:00
WANG MINGMING b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
wangmm0220 8ace8dfd8b feat:add ttl/comment function & fix global version shadows a variable 2022-06-17 14:47:37 +08:00
Xiaoyu Wang 30db51ab21 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-17 14:47:25 +08:00
dapan1121 f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
dapan1121 d320326371 reset query cache 2022-06-17 14:41:17 +08:00
Xiaoyu Wang 52bbbe59d2 fix: a problem of super table order by 2022-06-17 14:39:34 +08:00
Xiaoyu Wang fe25e45e0f
Merge pull request #13899 from taosdata/feature/3.0_wxy
feat: the unique function and tail function are rewritten as the corresponding clauses
2022-06-17 14:30:23 +08:00
Haojun Liao 9c6a9f1c92 fix(query): set correct source status in merge sort. 2022-06-17 14:25:53 +08:00
Shengliang Guan 43f8f34b0f refactor: adjust logs 2022-06-17 14:24:17 +08:00
Shengliang Guan 6e6f559f9c Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-17 14:06:44 +08:00
Minghao Li 9ab28e0b88 refactor(sync): add last config index in fsm cbMeta 2022-06-17 14:05:52 +08:00
Xiaoyu Wang 2df98609e8 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-17 13:55:25 +08:00
Shengliang Guan ce08a98149 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-17 13:09:19 +08:00
Minghao Li 455a8da0ad refactor(sync): add config index to json 2022-06-17 13:08:41 +08:00
Shengliang Guan 21e9ef3264
Merge pull request #13924 from taosdata/fix/dnode
refactor: remove duplicate conninfo in SRpcMsg
2022-06-17 12:25:49 +08:00
Shengliang Guan 7e0ad8781b refactor(sync) add raft cfg test 2022-06-17 11:46:19 +08:00
Shengliang Guan 28b3268224 fix(sync) add trace log 2022-06-17 11:40:18 +08:00
Minghao Li f5db109e61 fix(sync): get last max snapshot index 2022-06-17 11:37:10 +08:00
Haojun Liao 99c58a6683
Merge pull request #13920 from taosdata/feature/3_liaohj
refactor(query): set correct buffer pages.
2022-06-17 11:19:00 +08:00
Shengliang Guan 80e0b830fe refactor: remove duplicate conninfo in SRpcMsg 2022-06-17 10:40:42 +08:00
yihaoDeng 09df29e18f Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-06-17 09:30:05 +08:00
yihaoDeng 636a22b7a9 add trace base func 2022-06-17 09:29:54 +08:00
Shengliang Guan 793e6fa7d9 fix: rollback to avoid tsim/basic.sim failure 2022-06-17 09:26:25 +08:00
Haojun Liao 1b907e847c other: merge 3.0 2022-06-17 09:26:16 +08:00
dapan1121 d12614aac8 kill query 2022-06-17 09:22:03 +08:00
Haojun Liao af7f3e3252 refactor(query): set correct buffer pages. 2022-06-17 09:20:19 +08:00
Haojun Liao feebe90a1f fix(query): set correct buffer page size. 2022-06-17 09:18:53 +08:00
Shengliang Guan ad8eeb0962 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 08:25:51 +08:00
Shengliang Guan 50c422bf74 fix: dnode removed if create vnode failed 2022-06-17 08:25:30 +08:00
Haojun Liao 5837c141c9
Merge pull request #13914 from taosdata/feature/3_liaohj
fix(query): set null for null value in groupby
2022-06-16 22:35:10 +08:00
shenglian-zhou 9ebc581b6d
Merge pull request #13910 from taosdata/szhou/fix/table-merge-scan-buf-size
fix: table merge scan sort buf size
2022-06-16 22:11:31 +08:00
Shengliang Guan b265a9e938 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-16 21:32:14 +08:00
Shengliang Guan e241fc0979 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 21:13:35 +08:00
Haojun Liao cc638a2236 fix(query): set null for null value in groupby 2022-06-16 21:13:18 +08:00
Haojun Liao 0fae75ebdd
Merge pull request #13904 from taosdata/feature/3_liaohj
fix(query): adjust group limitation.
2022-06-16 21:12:27 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
shenglian zhou 23d1ec98c3 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/table-merge-scan-buf-size 2022-06-16 20:55:28 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
wangmm0220 e28e92ea35 feat:add ttl 2022-06-16 20:44:25 +08:00
Minghao Li d71027ac35 fix(sync): fake match2, need truncate log 2022-06-16 20:43:49 +08:00
Shengliang Guan 2dc41e86cb Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 20:10:11 +08:00
Minghao Li b42c963a5f fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 20:08:27 +08:00
Shengliang Guan 8a72d44494
Merge pull request #13909 from taosdata/fix/mnodesync2
refactor(sync): add syncIsReady
2022-06-16 20:00:39 +08:00
shenglian zhou 67540f2504 fix: table merge scan sort buf size 2022-06-16 19:49:42 +08:00
Shengliang Guan 5d64fcb117 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 19:47:40 +08:00
Xiaoyu Wang f350ade453 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 19:45:09 +08:00
Minghao Li d3f6f07902 fix(sync): fake match when prevLogIndex less than commitIndex 2022-06-16 19:40:08 +08:00
Minglei Jin 3e5cbe8a11
Merge pull request #13905 from taosdata/fix/tdb-maxLocal
fix: fix page capacity calculation
2022-06-16 19:34:02 +08:00
Shengliang Guan dd024941b7 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 19:10:52 +08:00
Shengliang Guan 5a6ab29741 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-16 19:10:24 +08:00
Minghao Li 3fdd0c30ac refactor(sync): add trace log 2022-06-16 19:08:44 +08:00
liuyao 39e2a646e9
Merge pull request #13901 from taosdata/feature/TD-16512
feat(stream): stream partition by
2022-06-16 18:39:34 +08:00
Minglei Jin c1de4df95b fix: fix page capacity calculation 2022-06-16 18:33:45 +08:00
Haojun Liao ab47de1dae fix(query): adjust group limitation. 2022-06-16 18:30:22 +08:00
Zhiqiang Wang 304d20f024
Merge pull request #13895 from taosdata/fix/ZhiqiangWang/TD-16357-add-dll-check
os: add dll check
2022-06-16 18:26:24 +08:00
54liuyao 7b98430906 feat(stream): stream partition by 2022-06-16 18:11:39 +08:00
Shengliang Guan 5d9a3850d2 Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-16 18:09:30 +08:00
Minghao Li 46c09f2c84 refactor(sync): add trace log 2022-06-16 18:08:01 +08:00
Haojun Liao dfce7e7261 other:merge 3.0 2022-06-16 17:49:58 +08:00
Shengliang Guan 34b6ecafba Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 17:42:27 +08:00
Minghao Li 15ac89590c refactor(sync): add trace log 2022-06-16 17:41:01 +08:00
Shengliang Guan fe9f8bfe98 Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699 2022-06-16 17:39:39 +08:00
Haojun Liao bd518f3f71 fix(query): remove group info during sort. 2022-06-16 17:39:33 +08:00
Haojun Liao 6e328d42ca
Merge pull request #13897 from taosdata/feature/3_liaohj
fix(query): set correct error code.
2022-06-16 17:33:41 +08:00
Shengliang Guan 7e72c16bde
Merge pull request #13896 from taosdata/fix/dnode
feat: redistribute vgroup
2022-06-16 17:25:18 +08:00
Shengliang Guan 26ca03af4f fix: crash while mnode sync 2022-06-16 17:24:42 +08:00
Xiaoyu Wang e224d40480 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 16:58:55 +08:00
yihaoDeng 418be5755b enh: refactor debug info 2022-06-16 16:48:02 +08:00
Haojun Liao 87300b2ab0 fix(query): set correct error code. 2022-06-16 16:21:01 +08:00
Haojun Liao 2c746848fc
Merge pull request #13877 from taosdata/feature/3_liaohj
enh(query): partition by supports arithmetic expr
2022-06-16 16:18:50 +08:00
Shengliang Guan 35c47cee55 Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 16:17:20 +08:00
Minghao Li 2f81a41f98 refactor(sync): add syncIsReady 2022-06-16 16:16:40 +08:00
Shengliang Guan 6ad87b9383 Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 15:57:20 +08:00
Shengliang Guan 14b6523bd3 refactor: show rpc response code 2022-06-16 15:56:25 +08:00
afwerar 528d7d7248 os: add dll check 2022-06-16 15:46:51 +08:00
Minghao Li 9a9200d28b refactor(sync): add restore finish when become leader again 2022-06-16 15:38:40 +08:00
Shengliang Guan 7aa087a48d feat: redistribute vgroup 2022-06-16 15:25:04 +08:00
dapan1121 8f5a85f698 Merge branch 'feature/3_liaohj' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-16 15:03:35 +08:00
dapan1121 d41efb2cfb fix rc issue 2022-06-16 15:02:57 +08:00
Haojun Liao 5492155009 fix(query): fix syntax error on windows platform. 2022-06-16 14:49:37 +08:00
Minghao Li 77b03ac821 refactor(sync): add restore finish when become leader again 2022-06-16 14:40:42 +08:00
Haojun Liao 75e0eaa53f fix(query): add null pointer check. 2022-06-16 13:53:02 +08:00
Haojun Liao 102fdf2916 fix(query): fix the syntax error in unit test. 2022-06-16 11:52:58 +08:00
Haojun Liao 2360f072a8 fix(query): add indef process procedure. 2022-06-16 11:43:11 +08:00
Xiaoyu Wang 97ac79f557 feat: rollup grammar adjust 2022-06-16 11:13:59 +08:00
Minghao Li 58051169d2 refactor(sync): add trace log 2022-06-16 10:54:13 +08:00
Haojun Liao 63884b554b fix(query): set correct sort buffer page size. 2022-06-16 10:51:29 +08:00
dapan1121 7156f5257a Merge branch '3.0' into feature/showapps 2022-06-16 10:40:41 +08:00
dapan1121 a2d1987208 show apps 2022-06-16 10:24:01 +08:00
Xiaoyu Wang f6f4f65a56 merge 3.0 2022-06-16 09:55:32 +08:00
Xiaoyu Wang e52429e31b merge 3.0 2022-06-16 09:31:22 +08:00
dapan1121 69eb9daddb
Merge pull request #13851 from taosdata/feature/showqueries
feat: support some show and kill commands
2022-06-16 09:15:02 +08:00
Haojun Liao 6b2d4a6aca other: merge 3.0 2022-06-15 23:05:55 +08:00
Haojun Liao f2de1af904 enh(query): partition by support arithmetic expr, and do some internal refactor. 2022-06-15 23:00:31 +08:00
Liu Jicong 683bc24646
Merge pull request #13876 from taosdata/feature/stream
feat(stream): drop task
2022-06-15 22:59:43 +08:00
Haojun Liao efd28728df
Merge pull request #13779 from taosdata/feature/3_liaohj
enh(query): add derivative function.
2022-06-15 22:35:30 +08:00
Liu Jicong 5572abe1b4 feat(stream): drop task 2022-06-15 21:41:59 +08:00
shenglian-zhou 39ac85b1f3
Merge pull request #13842 from taosdata/szhou/feature/multi-tb-merge-scan
feat: add table merge scan operator
2022-06-15 21:26:47 +08:00
dapan1121 4973739794 show apps 2022-06-15 20:59:33 +08:00
Haojun Liao 4f8c84cf02 fix(query): remove invalid colId check. 2022-06-15 20:48:12 +08:00
Shengliang Guan 123217973a
Merge pull request #13871 from taosdata/fix/dnode
fix: adjust log
2022-06-15 20:40:35 +08:00
wangmm0220 f2a19c98ef feat:add test for operator encode/decode 2022-06-15 20:35:45 +08:00
slzhou 8efaa65ade fix: use different datablock for each sort source 2022-06-15 20:12:04 +08:00
Shengliang Guan 19439c8b58 fix: adjust log 2022-06-15 19:55:36 +08:00
Xiaoyu Wang 7f78d4a79b feat: partition by tags optimize 2022-06-15 19:08:25 +08:00
Xiaoyu Wang 2cd3657208
Merge pull request #13867 from taosdata/feature/3.0_debug_wxy
feat: support compute only use qnode
2022-06-15 18:39:14 +08:00
Shengliang Guan 1b15c3439a
Merge pull request #13859 from taosdata/fix/dnode
feat: increase enable and sysinfo limits for user privilege
2022-06-15 18:24:32 +08:00
Haojun Liao b9e98b42cd fix(query): set correct timeunit. 2022-06-15 18:13:43 +08:00
Li Minghao bf4d3a9e12
Merge pull request #13863 from taosdata/feature/3.0_mhli
refactor(sync): do not heartbeat when 1 replica
2022-06-15 17:55:03 +08:00
Liu Jicong 9ae7dc1028 enh(sma): remove filefator 2022-06-15 17:42:21 +08:00
liuyao 6e49b7bbd7
Merge pull request #13862 from taosdata/feature/TD-16512
feat(stream): stream state&session support partition by
2022-06-15 17:21:03 +08:00
Minghao Li dcd65e6dea refactor(sync): do not heartbeat when 1 replica 2022-06-15 17:17:15 +08:00
slzhou b6bddd3fb1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 17:13:09 +08:00
Liu Jicong fd9bb8db73
Merge pull request #13860 from taosdata/feature/stream
feat(stream): trigger mode add max delay
2022-06-15 17:11:18 +08:00
Li Minghao 4c7b24f13d
Merge pull request #13861 from taosdata/feature/3.0_mhli
enh(sync): adjust errno
2022-06-15 17:09:15 +08:00
Ganlin Zhao f445c59aa0
Merge pull request #13855 from taosdata/fix/last_windows_crash
fix(query): fix first/last function crash on windows
2022-06-15 17:00:16 +08:00
Zhiqiang Wang 007470ff06
Merge pull request #13830 from taosdata/fix/ZhiqiangWang/TD-16357-add-taosd-assert-kill
test: add taosd assert kill
2022-06-15 16:53:44 +08:00
Xiaoyu Wang b7b64fda84 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-15 16:47:26 +08:00
Xiaoyu Wang 3c4663848b feat: support compute only use qnode 2022-06-15 16:47:03 +08:00
slzhou 040093bee8 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 16:43:34 +08:00
54liuyao 87bcbe003e feat(stream): stream state&session support partition by 2022-06-15 16:40:45 +08:00
slzhou 562ec27c7b feat: add merge table scan operator 2022-06-15 16:40:43 +08:00
liuyao c53c6992e8
Merge pull request #13846 from taosdata/feature/TD-16512
feat(stream): update data fo partition by
2022-06-15 16:39:27 +08:00
Haojun Liao 771065952e other: merge 3.0 2022-06-15 16:32:28 +08:00