Commit Graph

13299 Commits

Author SHA1 Message Date
Ganlin Zhao d163a16f3a fix: fix max/min(tag) random result 2023-04-11 15:46:32 +08:00
Haojun Liao 18479d8115 refactor: do some internall refactor. 2023-04-11 15:42:24 +08:00
Xiaoyu Wang 42a5a87e96 fix: table level privilege 2023-04-11 15:08:42 +08:00
wangmm0220 c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
slzhou 41f7d79f2c fix: fix compilation error 2023-04-11 13:42:17 +08:00
shenglian zhou 74f2ba76a4 fix: check uv_is_closing before uv_close 2023-04-11 13:24:20 +08:00
Haojun Liao 15cceb5a5a refactor: do some internal refactors. 2023-04-11 11:53:10 +08:00
dapan1121 28ea375fe1
Merge pull request #20850 from taosdata/enh/ts-3112
enh: add queryMaxConcurrentTables configuration
2023-04-11 11:21:30 +08:00
Ganlin Zhao ea6c96df32 fix memory leak 2023-04-11 11:13:23 +08:00
Xiaoyu Wang 40448c3e70
Merge pull request #20853 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 11:01:51 +08:00
Minglei Jin 8060e77be3 fix(udf): make strncat working for release building 2023-04-11 10:41:35 +08:00
liuyao 74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
Xiaoyu Wang 416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
Haojun Liao a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
xinsheng Ren 965af6cc82
fix: handle leak (#20836)
* fix: handle leak

* fix: del unused code

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-04-11 09:46:06 +08:00
dapan1121 453f6946fb
Merge pull request #20838 from taosdata/szhou/fix-ts3110
fix: select * from (select * from t order by ts desc) order by ts
2023-04-11 09:15:14 +08:00
dapan1121 d2f9f2d755 Merge remote-tracking branch 'origin/main' into enh/ts-3112 2023-04-11 09:02:36 +08:00
dapan1121 38231fc48e enh: add queryMaxConcurrentTables configuration 2023-04-11 09:01:19 +08:00
Ganlin Zhao 3078e2d487 feat(query): INTERP support boolean type 2023-04-10 18:35:35 +08:00
Haojun Liao 497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
Haojun Liao 7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
Xiaoyu Wang 7984dd93f1 Merge branch 'feat/table_level_privilege_wxy' of github.com:taosdata/TDengine into feat/table_level_privilege_wxy 2023-04-10 15:25:04 +08:00
Xiaoyu Wang e40b978d30 fix: catalog memory leak 2023-04-10 15:24:26 +08:00
shenglian zhou 71d59281ff fix: select * from (select * from t order by ts desc) order by ts 2023-04-10 14:03:56 +08:00
Xiaoyu Wang 637bf33c51 fix: catalog unit test 2023-04-10 10:53:29 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
shenglian zhou 65f117822c fix: windows ci error 2023-04-10 06:45:26 +08:00
slzhou b725c9e192 enhance: change udf func body dir to tsDataDir/.udf 2023-04-09 20:31:25 +08:00
Haojun Liao f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou dc86bf9671 fix: remove code size checking 2023-04-08 13:26:15 +08:00
slzhou 55ffb0bc6d fix: correct udf body file name and correct createdtime 2023-04-08 11:36:09 +08:00
shenglian zhou 0be6bb735a fix: remove rename file 2023-04-08 10:42:27 +08:00
shenglian zhou 32523d72f9 fix: add created time to file name and keep file reuse 2023-04-08 10:11:57 +08:00
slzhou af5a16b129 fix: set block allocated to false for each call to downstream operator 2023-04-07 18:54:37 +08:00
Xiaoyu Wang d1decca07e fix: table level privilege 2023-04-07 18:22:07 +08:00
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
slzhou 26f1e91ddb fix: change binarylib/script dir to tsdatadir 2023-04-07 16:12:29 +08:00
wangmm0220 05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Xiaoyu Wang f44c219360 feat: table level privilege 2023-04-07 11:15:05 +08:00
slzhou 596764479f fix: no more fetch when it is already fetching 2023-04-07 10:30:36 +08:00
Xiaoyu Wang db1cb4a8a8
Merge pull request #20793 from taosdata/FIX/TD-23509-main
enh: refactor some func names of syncLogReplMgr
2023-04-07 10:27:50 +08:00
dapan1121 062a3dc97d
Merge pull request #20758 from taosdata/szhou/fix-td23454
fix: interp pseudo column can not be used without interp function
2023-04-07 08:50:51 +08:00
shenglian zhou 455719befa fix: use us time unit for last fetch time 2023-04-06 18:09:29 +08:00
Benguang Zhao 0a1476763a enh: refactor some func names of syncLogReplMgr 2023-04-06 16:26:44 +08:00
Xiaoyu Wang 54f13f6f55
Merge pull request #20756 from taosdata/fix/3.0_merge_main
merge main
2023-04-06 15:44:23 +08:00
shenglian zhou 4612d6d14b fix: catalog not processing version 2023-04-06 15:37:19 +08:00
Haojun Liao 7e734e3088 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-04-06 15:09:06 +08:00
Haojun Liao 665ba407cf fix: fix syntax error. 2023-04-06 15:08:35 +08:00
shenglian zhou 0b055470ec fix: free pFuncVersions of SRetrieveFuncRsp 2023-04-06 14:42:16 +08:00
Haojun Liao 06c7bbe91b
Merge branch 'main' into feature/3_liaohj 2023-04-06 14:41:06 +08:00
Haojun Liao 18955be092 refactor: erase unnecessary error log. 2023-04-06 14:40:01 +08:00
shenglian zhou e71a82347b enhance: refactor c plugin udf init 2023-04-06 14:31:11 +08:00
shenglian-zhou 3d8776e266
Merge branch '3.0' into szhou/replace-function 2023-04-06 13:40:52 +08:00
slzhou 8ab1aa4ac9 fix: change bugs related to expired udf 2023-04-06 13:13:54 +08:00
Xiaoyu Wang a971d1a997
Merge pull request #20770 from taosdata/enh/3.0_planner_optimize
feat: add 'or replace' clause to 'create function' statement
2023-04-06 13:09:56 +08:00
Haojun Liao 2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
slzhou adec92b0b2 fix: change a minor bug 2023-04-06 11:37:48 +08:00
shenglian zhou 47719b1028 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/replace-function 2023-04-06 11:19:10 +08:00
shenglian zhou c17d9eca5f fix: add fetchtime and version to udf init 2023-04-06 11:18:30 +08:00
dapan1121 a61279ed71 Merge branch 'feat/table_level_privilege' of github.com:taosdata/TDengine into feat/table_level_privilege 2023-04-06 10:02:26 +08:00
dapan1121 d768f49dd7 feat: table level user auth 2023-04-06 10:01:27 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Xiaoyu Wang c11b717f60
Merge pull request #20771 from taosdata/fix/main_bugfix_wxy
fix: column comment is not supported
2023-04-04 19:31:06 +08:00
Xiaoyu Wang 9b2a94f281 fix: column comment is not supported 2023-04-04 18:04:10 +08:00
Xiaoyu Wang cc7485812a feat: add 'or replace' clause to 'create function' statement 2023-04-04 17:45:18 +08:00
Xiaoyu Wang 6825b196ef feat: table level write privilege check 2023-04-04 17:19:18 +08:00
Haojun Liao bd4c33d1c2 fix(tmq):fix the invalid read. 2023-04-04 15:57:50 +08:00
slzhou bf486e99f2 fix: change eror msg 2023-04-04 15:20:35 +08:00
Haojun Liao c91d8a5901 Merge branch 'main' into feature/3_liaohj 2023-04-04 15:18:24 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Ganlin Zhao 4819b22a21 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 13:40:53 +08:00
shenglian zhou d547b9e38f fix: interp pseudo column can not be used without interp function 2023-04-04 11:27:54 +08:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
Haojun Liao ec5dc0bf42
Merge pull request #20749 from taosdata/fix/TD-23453
fix: aovid conn leak
2023-04-04 10:18:59 +08:00
Xiaoyu Wang 0e53e578a7
Merge pull request #20748 from taosdata/fix/TD-23473
ehn(plan/optimizer): remove tbname fetching with cached groupby
2023-04-04 09:36:56 +08:00
Shengliang Guan e783c21629
Merge pull request #20519 from taosdata/fix/coveriyScanYihao
fix coverity scan problem
2023-04-04 09:22:02 +08:00
Xiaoyu Wang cf5617cf59
Merge pull request #20747 from taosdata/fix/main_bugfix_wxy
enh: last_row is keep order function
2023-04-04 09:07:18 +08:00
yihaoDeng fc5890c8bf aovid conn leak 2023-04-03 12:36:45 +00:00
wangmm0220 1d7581f660 fix:conflicts from main 2023-04-03 19:59:33 +08:00
wangmm0220 d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Minglei Jin 6a3bcf4a71 ehn(plan/optimizer): remove tbname fetching with cached groupby 2023-04-03 19:08:57 +08:00
Haojun Liao d48be5c0ce refactor: do some internal refactor. 2023-04-03 18:23:35 +08:00
Haojun Liao a3ac8b647c refactor: do some internal refactor. 2023-04-03 18:20:35 +08:00
Xiaoyu Wang 16394862a6 enh: last_row is keep order function 2023-04-03 18:11:46 +08:00
Haojun Liao 482c319bee refactor: do some internal refactor. 2023-04-03 18:07:28 +08:00
Ganlin Zhao 6c64b760a0 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-03 17:58:43 +08:00
Haojun Liao 3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
Haojun Liao d0a7e02a03
Merge pull request #20730 from taosdata/feature/3_liaohj
Feature/3 liaohj
2023-04-03 17:16:13 +08:00
wangmm0220 1114d358a4 fix:lose consume data because of exec close if consume while insert data 2023-04-03 17:06:51 +08:00
Haojun Liao 08bd021a6f refactor: do some internal refactor. 2023-04-03 14:49:14 +08:00
Haojun Liao 81c3d16a2d fix(query):set the table list ptr. 2023-04-03 13:29:11 +08:00
Haojun Liao 6e0f1cb1e0 refactor: do some internal refactor. 2023-04-03 11:57:43 +08:00
Haojun Liao 91ae07b6c7 fix(tmq): set the table list correctly. 2023-04-03 11:57:17 +08:00
Xiaoyu Wang e2f58a555d enh: convert the month and year in interval-offset to a database precision duration 2023-04-03 11:24:29 +08:00
wangmm0220 2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
wangmm0220 446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
Haojun Liao 09df16f6e4 fix(query): fix memory leak. 2023-04-02 22:47:26 +08:00
wangmm0220 f977b27b88 fix:remove useless setmsg 2023-04-02 22:38:18 +08:00
wangmm0220 b029c8f157 fix:remove useless setmsg 2023-04-02 22:34:51 +08:00
Haojun Liao 167a56f8d0 fix(query): set the correct group table list. 2023-04-02 21:25:54 +08:00
Haojun Liao a887ccda89 fix(query): destroy the tablelist in cache scanner. 2023-04-02 15:30:56 +08:00
Haojun Liao addabf3ba7 refactor: push down the tableListinfo to scanner. 2023-04-02 15:25:31 +08:00
Xiaoyu Wang a75da00071
Merge pull request #20724 from taosdata/fix/main_bugfix_wxy
fix: error in optimizing useless columns for multi-level set operators
2023-04-01 09:11:24 +08:00
Haojun Liao 9d165874eb
Merge pull request #20722 from taosdata/feature/3_liaohj
fix(tmq): build sync api on top of async APIs.
2023-04-01 01:02:10 +08:00
dapan1121 13331134d5
Merge pull request #20725 from taosdata/fix/TS-2876
fix: task context not exists issue
2023-03-31 21:35:13 +08:00
dapan1121 02dc919b9d fix: job status issue 2023-03-31 20:47:10 +08:00
Haojun Liao 9f64e6dc64 Merge branch 'main' into feature/3_liaohj 2023-03-31 19:37:10 +08:00
Haojun Liao ae4234cce0 fix(tmq): add lock when check table list. 2023-03-31 19:36:27 +08:00
dapan1121 19e5d63721 fix: add job retry 2023-03-31 18:26:46 +08:00
wangmm0220 97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Xiaoyu Wang 41b2c2d8fd fix: error in optimizing useless columns for multi-level set operators 2023-03-31 16:16:14 +08:00
Haojun Liao 82d98f9c97
Merge branch 'main' into feature/3_liaohj 2023-03-31 16:07:40 +08:00
Haojun Liao f57899e070 refactor: do some internal refactor. 2023-03-31 16:06:38 +08:00
wangmm0220 2dcf68fc5e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3039 2023-03-31 14:17:51 +08:00
wangmm0220 373c128a7a fix:[TS-3038] coredump if nchar data not clear SColVal in schemaless 2023-03-31 14:16:39 +08:00
Haojun Liao 36ccf34d50
Merge pull request #20707 from taosdata/fix/TD-23397
fix:state window return wrong block type
2023-03-31 11:31:30 +08:00
Xiaoyu Wang 5babaf9e92 feat: table level read privilege check 2023-03-31 10:45:21 +08:00
Haojun Liao 450c5b447c fix(tmq): quit the scan asap. 2023-03-31 10:35:13 +08:00
dapan1121 24ed3458d9
Merge pull request #20715 from taosdata/fix/TD-23394-a
fix(query): fix group_key is processed in selectivity twice
2023-03-31 09:04:45 +08:00
dapan1121 e3b4e9bf0b
Merge pull request #20714 from taosdata/fix/TS-3037
fix: join query invalid time input issue
2023-03-31 08:53:32 +08:00
Ganlin Zhao 7e30f8619c fix(query): fix group_key is processed in selectivity twice 2023-03-30 18:42:22 +08:00
dapan1121 00376b45fb
Merge pull request #20708 from taosdata/szhou/fix-ts3013
fix: add filter to exchange node for union-all subquery
2023-03-30 18:14:48 +08:00
dapan1121 a8da9f31e7 fix: join query error 2023-03-30 18:04:32 +08:00
dapan1121 053cf3f061
Merge pull request #20690 from taosdata/fix/cencVer
enh: optimize count performance
2023-03-30 16:56:53 +08:00
shenglian zhou a3a3dc8243 fix: add filter to exchange node for union-all subquery 2023-03-30 16:41:26 +08:00
54liuyao ae98ad43a5 fix:state window return wrong block type 2023-03-30 16:38:54 +08:00
Xiaoyu Wang dab01b3159
Merge pull request #20685 from taosdata/fix/main_bugfix_wxy
fix: error in determining whether last(t.*) is a selection function
2023-03-30 15:46:00 +08:00
dapan1121 15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
Haojun Liao d947619b4f
Merge pull request #20691 from taosdata/feature/3_liaohj
fix(stream):fix the race condition when creating new tables.
2023-03-30 14:39:20 +08:00
dapan1121 a778dc8c09
Merge pull request #20698 from taosdata/szhou/fix-ts23354-2
fix: join before interval
2023-03-30 14:14:45 +08:00
Xiaoyu Wang 10979f6fc2 fix: when the set operator statement is used for subquery, the outer layer filtering fails. 2023-03-30 13:34:35 +08:00
Haojun Liao e1d85ce074 fix(tmq): fix error. 2023-03-30 12:04:47 +08:00
shenglian zhou 23d4eef114 feat: startup of replace function when no active query 2023-03-30 11:46:40 +08:00
Xiaoyu Wang f30cb8e527 fix: when the set operator statement is used for subquery, the outer layer filtering fails. 2023-03-30 10:58:33 +08:00
dapan1121 01c2eb0994 Merge remote-tracking branch 'origin/main' into fix/TS-2876 2023-03-30 09:15:38 +08:00
Haojun Liao 5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
slzhou 84d75c2ec0 fix: join after interval 2023-03-29 19:51:13 +08:00
Haojun Liao c8ad465a0d refactor: do some internal refactor. 2023-03-29 19:40:34 +08:00
Haojun Liao 56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
dapan1121 3810e57c15 fix: tag copy issue 2023-03-29 19:10:10 +08:00
Xiaoyu Wang 6265251a03 feat: table level privilege syntax 2023-03-29 19:08:40 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
wangmm0220 9d9ae749d1 opti:tmq logic & fix CI cases 2023-03-29 17:27:04 +08:00
Haojun Liao d998912ce8 fix(query): fix syntax error. 2023-03-29 17:11:41 +08:00
Haojun Liao 25245b9005 Merge branch 'main' into feature/3_liaohj 2023-03-29 16:40:12 +08:00
Haojun Liao 152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
dapan1121 9952be43f6 Merge remote-tracking branch 'origin/main' into fix/cencVer 2023-03-29 15:50:14 +08:00
slzhou accebcedc4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf-improvement 2023-03-29 14:52:04 +08:00
Xiaoyu Wang c1452851e3 fix: error in determining whether last(t.*) is a selection function 2023-03-29 14:39:37 +08:00
dapan1121 0659814d16
Merge pull request #20674 from taosdata/fix/TS-3010
fix: query schema is old issue
2023-03-29 11:41:07 +08:00