Commit Graph

3987 Commits

Author SHA1 Message Date
Haojun Liao 0ebd90b549 fix(query): set the correct primary timestamp column for first/last function. 2022-04-30 13:48:07 +08:00
Li Minghao eec706d73f
Merge pull request #12075 from taosdata/feature/3.0_mhli
enh: not leader retry
2022-04-30 13:04:33 +08:00
yihaoDeng 77d3a3461e fix(rpc):fix rpc fix 2022-04-30 12:17:27 +08:00
yihaoDeng aa1eace902 fix(rpc):fix rpc fix 2022-04-30 12:14:27 +08:00
Xiaoyu Wang 913354057e feat: fill physical plan 2022-04-30 11:40:12 +08:00
Minghao Li 2584b034df add syncGetEpSet 2022-04-30 10:29:29 +08:00
Minghao Li 9432dc6f6c Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-04-30 10:06:16 +08:00
Yihao Deng 002580dfb2
Merge branch '3.0' into feature/refator_retry 2022-04-30 10:04:01 +08:00
shenglian-zhou 99cf4ec499
Merge pull request #12062 from taosdata/feature/udf
feat(udf): udaf pass the first time
2022-04-29 21:23:57 +08:00
Zhiqiang Wang 3d0fc1408f
Merge pull request #12067 from taosdata/fix/ZhiqiangWang/fix-15189-switch-to-JOM-compilation
fix(os): switch to JOM compilation.
2022-04-29 21:02:36 +08:00
Haojun Liao ca786a9251
Merge pull request #12065 from taosdata/feature/3.0_liaohj
enh(query): enable check sma status for each column in query.
2022-04-29 20:49:46 +08:00
Liu Jicong 7f77c92426
Merge pull request #12066 from taosdata/feature/tq
fix: memory error
2022-04-29 20:33:57 +08:00
afwerar cbd39f831f fix(os): switch to JOM compilation. 2022-04-29 20:20:07 +08:00
Liu Jicong de939d589f fix: memory error 2022-04-29 20:11:58 +08:00
Haojun Liao c71c88a719 enh(query): enable check sma status for each column in query. 2022-04-29 20:07:33 +08:00
Xiaoyu Wang 7bae3e3f2e Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-29 20:07:12 +08:00
Xiaoyu Wang 022f5bfc14 feat: rewrite timeline function 2022-04-29 20:06:26 +08:00
dapan1121 c3484ce8c3 stmt query 2022-04-29 20:04:34 +08:00
Shengliang Guan e3170a1325 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-04-29 18:57:02 +08:00
Haojun Liao 210e9cdbd8
Merge pull request #12059 from taosdata/feature/3.0_liaohj
fix(query): avoid to build dummy value column in group by constant value.
2022-04-29 18:48:19 +08:00
Yihao Deng 27798de8db
Merge pull request #12041 from taosdata/fix/retry_bug
fix(retry): fix retry count
2022-04-29 18:40:00 +08:00
Hongze Cheng 4e918d0f61
Merge pull request #12015 from taosdata/feature/vnode_refact1
refactor: vnode
2022-04-29 18:26:33 +08:00
slzhou 193a84717d udaf pass the first time 2022-04-29 18:20:50 +08:00
Yihao Deng 4732581750
Merge pull request #12061 from taosdata/fix/exit_process
fix(rpc): taosd stuck when exiting the process
2022-04-29 18:13:02 +08:00
Hongze Cheng ab0e435d81 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-29 10:02:58 +00:00
Hongze Cheng fee7499cfb fix child table query problem 2022-04-29 10:02:36 +00:00
yihaoDeng 6e5e0f3276 fix(rpc): taosd stuck when exiting the process 2022-04-29 17:48:24 +08:00
Haojun Liao dda7a598d0 fix(query): avoid to build dummy value column in group by constant value. 2022-04-29 17:19:39 +08:00
liuyao 72d9594079
Merge pull request #12044 from taosdata/feature/TD-15219
enh: stream supports filter
2022-04-29 16:57:25 +08:00
Haojun Liao eecd01dc9a refactor: do some internal refactor. 2022-04-29 16:46:01 +08:00
dapan1121 190b702953
Merge pull request #12017 from taosdata/feature/qnode
fix: fix hb crash issue
2022-04-29 16:38:48 +08:00
Xiaoyu Wang 08504bd9df
Merge pull request #12030 from taosdata/feature/3.0_wxy
enh: refactor unit test of parser and planner
2022-04-29 16:38:05 +08:00
54liuyao b2dd293568 stream supports filter 2022-04-29 16:30:43 +08:00
Hongze Cheng 48207a166e refact vnode and add tdb api 2022-04-29 07:55:52 +00:00
Hongze Cheng 496ec4c1dc more TDB 2022-04-29 07:40:07 +00:00
yihaoDeng 7ff35f6f6a fix invalid read 2022-04-29 15:27:05 +08:00
Xiaoyu Wang 9006870798 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-29 15:26:47 +08:00
dapan1121 6973e35554 fix mem leak 2022-04-29 15:13:44 +08:00
Hongze Cheng dbd943b815 Merge branch 'feature/vnode_refact1' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-29 07:08:22 +00:00
Hongze Cheng 21cec7b6d7 more 2022-04-29 07:07:49 +00:00
Xiaoyu Wang 8818ed48f9 feat: sql command 'drop table' 2022-04-29 15:05:37 +08:00
dapan1121 dd13924dbc stmt query 2022-04-29 14:35:54 +08:00
Haojun Liao 77f1779820
Merge pull request #12042 from taosdata/feature/3.0_liaohj
fix(query): alter the type of result of the length function.
2022-04-29 14:00:16 +08:00
Yihao Deng 39a129aee5
Merge pull request #12035 from taosdata/feat/refactor-index
refactor(index): refactor index code
2022-04-29 11:55:56 +08:00
Haojun Liao 5711656304 fix(query): alter the type of result of the length function. 2022-04-29 11:55:25 +08:00
yihaoDeng d14d0ab83a fix(retry): fix retry count 2022-04-29 11:51:28 +08:00
dapan1121 529dc19a55 fix ref issue 2022-04-29 11:43:14 +08:00
dapan1121 a4d4cd2a84 stmt query 2022-04-29 11:31:39 +08:00
Xiaoyu Wang fcd61a25ec enh: refactor unit test of parser and planner 2022-04-29 11:26:55 +08:00
Xiaoyu Wang 61f08123e9 enh: refactor unit test of parser and planner 2022-04-29 11:07:26 +08:00
Xiaoyu Wang 4b7e048819 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-29 10:53:02 +08:00
Haojun Liao 45e8eeb9f8
Merge pull request #12038 from taosdata/feature/3.0_liaohj
refactor(query): remove redundant attributes in some structs.
2022-04-29 10:41:15 +08:00
Xiaoyu Wang bba375c505 enh: refactor unit test of parser and planner 2022-04-29 09:56:15 +08:00
Ganlin Zhao 77eb69a94f
Merge pull request #12033 from taosdata/feature/3.0_glzhao
feat(query): add spread function
2022-04-29 09:55:14 +08:00
Xiaoyu Wang 95f7f165c8 enh: refactor unit test of parser and planner 2022-04-29 09:53:53 +08:00
Cary Xu 0bac6edfd6
Merge pull request #12032 from taosdata/feature/TD-13066-3.0
feat: migrate tsdb read interface to vnode
2022-04-29 09:32:35 +08:00
dapan1121 18b6c99e09 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-29 09:20:48 +08:00
dapan1121 92c555f257 stmt query 2022-04-29 09:20:37 +08:00
Xiaoyu Wang ab0e6896c5 enh: refactor unit test of parser and planner 2022-04-29 09:17:36 +08:00
Haojun Liao 2a696d2790 fix(query): add one more attribute in SSDataBlock. 2022-04-29 08:49:31 +08:00
Zhiqiang Wang 032d9761ae
Merge pull request #12024 from taosdata/fix/ZhiqiangWang/fix-14989-fix-win-open-file-error
fix(os): fix win open file error.
2022-04-29 00:31:46 +08:00
Yihao Deng 05addd6c53
Merge pull request #12034 from taosdata/refactor/refactor-rpc
refactor(rpc): refactor rpc code
2022-04-28 23:33:28 +08:00
yihaoDeng 60b05c8a51 refactor(index): refactor index code 2022-04-28 23:32:14 +08:00
Haojun Liao 4747d5648a
Merge pull request #12008 from taosdata/feature/3.0_liaohj
fix(query): show tables in information_schema db.
2022-04-28 23:26:52 +08:00
yihaoDeng 38ac16d64f refactor(rpc): refactor rpc code 2022-04-28 22:46:02 +08:00
Ganlin Zhao 6a73011231 Merge branch '3.0' into feature/3.0_glzhao 2022-04-28 21:40:27 +08:00
Ganlin Zhao d8f8e075e1 feat(query): add spread function
TD-14297
2022-04-28 21:27:46 +08:00
Cary Xu 5afaaaf4a9 feat: migrate tsdb read interface to vnode 2022-04-28 21:22:40 +08:00
Xiaoyu Wang 80407933e3 enh: refactor unit test of parser and planner 2022-04-28 21:03:44 +08:00
Xiaoyu Wang 3ec702605b enh: refactor unit test of parser and planner 2022-04-28 21:02:11 +08:00
dapan1121 c4cfcef6e9 stmt query 2022-04-28 20:24:21 +08:00
Liu Jicong 4a40bf25ee fix: interval status do not reset for stream 2022-04-28 20:03:30 +08:00
afwerar f4f11fdc01 fix(os): fix win open file error. 2022-04-28 19:46:37 +08:00
Hongze Cheng fd6b2ad626 more refact 2022-04-28 10:46:07 +00:00
Haojun Liao f6fbbdfc5f other: merge 3.0 2022-04-28 18:13:41 +08:00
Haojun Liao d9aa35ecfe fix(query): revise the output data column info in the exchange operator to be adaptable for the case of extensive datablocks. 2022-04-28 18:08:56 +08:00
Liu Jicong 58ee66a8e8
Merge pull request #12013 from taosdata/feature/tq
fix: memory error
2022-04-28 17:54:10 +08:00
Liu Jicong 78c190e967 Merge branch '3.0' into feature/tq 2022-04-28 17:45:11 +08:00
Shengliang Guan d1f1929cf2
Merge pull request #12014 from taosdata/feature/dnode
enh: make single_stable mode work
2022-04-28 17:41:59 +08:00
Ganlin Zhao 5587eb375c
Merge pull request #11993 from taosdata/fix/TD-15172
fix(query): fix bug in multi-input math functions
2022-04-28 17:26:44 +08:00
dapan1121 54fe93f77e stmt query 2022-04-28 17:09:21 +08:00
liuyao a9c159db7a
Merge pull request #12012 from taosdata/feature/TD-15111
add unit test
2022-04-28 16:54:00 +08:00
Minghao Li 4d40af9929 add redirect 2022-04-28 16:41:13 +08:00
Hongze Cheng 8565e900aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-28 08:41:07 +00:00
Liu Jicong 3ae3fd65e8 fix: memory error 2022-04-28 16:31:35 +08:00
Liu Jicong ca61066b32
Merge pull request #12006 from taosdata/feature/tq
enh(tmq): add rebalance global lock
2022-04-28 16:27:51 +08:00
54liuyao 564f2f188f add unit test 2022-04-28 16:13:34 +08:00
Shengliang Guan 2adcce5573 Merge remote-tracking branch 'origin/3.0' into feature/db 2022-04-28 15:55:40 +08:00
Liu Jicong 131a1c13c5 fix show 2022-04-28 15:53:12 +08:00
yihaoDeng 485bd970a2 refactor(rpc): refactor timeout 2022-04-28 15:49:00 +08:00
Haojun Liao 96363c411d other: merge 3.0 2022-04-28 15:40:03 +08:00
Shengliang Guan 2d7ccc3b21 enh: refactor db options 2022-04-28 15:30:23 +08:00
Haojun Liao 47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
shenglian-zhou 34675b2cdd
Merge pull request #11996 from taosdata/feature/udf
feat(udf): agg function refinement
2022-04-28 15:05:49 +08:00
Hongze Cheng fc5065bf6a Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-28 07:04:09 +00:00
Hongze Cheng 7ff3183a70 refact TDB 2022-04-28 07:02:49 +00:00
yihaoDeng 2f66f50c04 refactor(rpc): refactor timeout 2022-04-28 14:49:25 +08:00
shenglian zhou 00509d0edf udaf integrate into function framework 2022-04-28 14:43:54 +08:00
Liu Jicong 8989579525
Merge pull request #11997 from taosdata/feature/tq
fix: create stream
2022-04-28 14:40:42 +08:00
Shengliang Guan 3cc90a8cec Merge remote-tracking branch 'origin/3.0' into feature/db 2022-04-28 14:25:52 +08:00
Liu Jicong d998e3e804 fix: create stream 2022-04-28 14:20:32 +08:00
shenglian zhou f706b2b16a Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-28 14:08:34 +08:00
shenglian zhou ba5123ad24 agg proc func parameter change 2022-04-28 14:07:24 +08:00
shenglian-zhou d5ae5fc667
Merge pull request #11897 from taosdata/feature/udf
feature(udf): aggregate function
2022-04-28 14:00:35 +08:00
Yihao Deng f41bd56962
Merge pull request #11988 from taosdata/feature/refator_retry
refactor(rpc): fefactor retry way
2022-04-28 13:58:38 +08:00
yihaoDeng b83963ab1d refactor(rpc): fefactor retry way 2022-04-28 13:37:40 +08:00
root fde3f3f68f stream update 2022-04-28 13:32:11 +08:00
Ganlin Zhao ad93fc6344 fix(query): fix bug in multi-input math functions 2022-04-28 13:32:03 +08:00
Ganlin Zhao b70c019824 fix(query): fix bug in multi-input math functions 2022-04-28 13:29:50 +08:00
dapan1121 e79850164b
Merge pull request #11985 from taosdata/feature/qnode
fix: fix taos shell crash issue
2022-04-28 13:21:43 +08:00
yihaoDeng b6d21ea687 refactor(rpc): fefactor retry way 2022-04-28 12:29:24 +08:00
Yihao Deng 33cc6c28ba
Merge pull request #11971 from taosdata/feature/refator_retry
refactor(rpc): refactor rpc retry way
2022-04-28 12:16:15 +08:00
Yihao Deng c616289563
Merge pull request #11962 from taosdata/fix/fix-rpc-query
fix(rpc): query conn reused cause except
2022-04-28 12:11:47 +08:00
yihaoDeng 9af1206cbd refactor(rpc): fefactor retry way 2022-04-28 11:56:00 +08:00
dapan1121 5935c9cda4 Merge branch 'feature/qnode' of github.com:taosdata/TDengine into feature/qnode 2022-04-28 11:49:09 +08:00
dapan1121 1850dc0371 stmt query 2022-04-28 11:47:55 +08:00
shenglian zhou 0119054b0b aggregate function call from udfd 2022-04-28 11:12:45 +08:00
Xiaoyu Wang 38c89b7e17
Merge pull request #11960 from taosdata/feature/3.0_wxy
enh: refactor db and table options
2022-04-28 10:37:48 +08:00
shenglian zhou 974c679c84 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-28 10:30:20 +08:00
shenglian zhou d9490f8a8b finalize result buf location can be specified 2022-04-28 10:30:00 +08:00
Ganlin Zhao b56f95dcb5
Merge pull request #11968 from taosdata/fix/TD-15172
refactor(query): divide by 0 optimization
2022-04-28 10:29:17 +08:00
Cary Xu e6a83367c8 merge 3.0 2022-04-28 09:47:49 +08:00
Xiaoyu Wang d66fdb948d Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-28 09:06:27 +08:00
Cary Xu 18fdb85747 add debug log 2022-04-28 00:24:14 +08:00
yihaoDeng 4e7e83399f refator(rpc): refator rpc retry way 2022-04-27 23:55:44 +08:00
Ganlin Zhao 0545a354e4 Merge branch '3.0' into fix/TD-15172 2022-04-27 21:54:07 +08:00
Ganlin Zhao 41f1612e68 Merge branch '3.0' into fix/TD-15137 2022-04-27 21:20:06 +08:00
Ganlin Zhao cb318d4859 refactor(query): forbid timestamp type arithmetic operation with floating type
TD-15137
2022-04-27 21:04:24 +08:00
Haojun Liao 707be3a826
Merge pull request #11965 from taosdata/feature/3.0_liaohj
fix(query): the null value is missing when merging two SColumnInfoData.
2022-04-27 20:50:10 +08:00
Ganlin Zhao d22a791125 refactor(query): divide by 0 optimization
TD-15058
TD-15059
2022-04-27 20:31:15 +08:00
Ganlin Zhao 193b994f19
Merge pull request #11963 from taosdata/fix/TD-15172
fix(query): replace nan/inf result in math functions
2022-04-27 20:30:43 +08:00
Haojun Liao 8c911a34ec Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-27 20:24:49 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
Haojun Liao 878bb18d08 fix(query): the null value is missing when merging two SColumnInfoData. 2022-04-27 19:59:50 +08:00
Minghao Li 23c69aff61 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-04-27 19:36:03 +08:00
Minghao Li 9a603170b4 add redirect before syncPropose 2022-04-27 19:28:01 +08:00
Haojun Liao b159b0ff12
Merge pull request #11957 from taosdata/feature/3.0_liaohj
fix(query): enable the limitation on the number of query results
2022-04-27 19:24:27 +08:00
Zhiqiang Wang cf8154551e
Merge pull request #11955 from taosdata/fix/ZhiqiangWang/fix-14989-fix-new-compilation-errors
fix(os): fix new compilation errors.
2022-04-27 19:11:08 +08:00
Xiaoyu Wang 7f218009ed enh: refactor db and table options 2022-04-27 19:10:16 +08:00
Ganlin Zhao c211427e2e fix(query): replace nan/inf result in math functions
TD-15172
2022-04-27 19:03:41 +08:00
yihaoDeng a7637cfcea fix(rpc): query conn reused cause except 2022-04-27 18:50:35 +08:00
Yihao Deng 795f2a18d4
Merge pull request #11923 from taosdata/fix/TD-15127
fix(rpc): fix duplicat port error
2022-04-27 18:49:30 +08:00
Xiaoyu Wang 498b5b3b16 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-27 18:45:12 +08:00
Haojun Liao d41a9e8bf0 fix(query): enable the limitation on each group by using limit/offset. 2022-04-27 18:43:46 +08:00
Xiaoyu Wang 6d449c8224 enh: refactor db and table options 2022-04-27 18:18:37 +08:00
Haojun Liao 1c08688da2 fix(query): return object instead of free it when error happens. 2022-04-27 18:12:26 +08:00
Minghao Li b96e434ab3 format 2022-04-27 18:10:57 +08:00
Haojun Liao 7c6bc10760 fix(query): enable the limitation on the number of query results within each group. 2022-04-27 17:52:39 +08:00
afwerar bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
Haojun Liao 576c4fa07a
Merge pull request #11942 from taosdata/feature/3.0_liaohj
enh(query): add more information for the result of show tables.
2022-04-27 16:59:01 +08:00