Commit Graph

22115 Commits

Author SHA1 Message Date
Xiaoyu Wang 4d696741b0
Merge pull request #20860 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-11 15:56:36 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
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
shenglian zhou 6b68a373e9 fix: when update func, set createdtime to original time 2023-04-11 11:37:41 +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
dapan1121 d99a849956 fix: ignore stmt get fields error 2023-04-11 10:47:15 +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
dapan1121 e2b5d27c2a enh: stmt ignore get fields errors 2023-04-11 10:22:47 +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
xinsheng Ren bf53345f9d
fix: windows gettime negative value (#20800) 2023-04-11 08:47:31 +08:00
Shuduo Sang 9b6f4e3497
fix: tglobal cus prompt support for windows (#20845)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

* fix: cus name

* fix: change adapter prefix

* fix: tools/*.sh

* fix: scripts

* fix: ../../packaging/tools/install_client.sh

* chore: cus domain in script

* fix: cus name in packaging/tools/install.sh

* fix: cus name in ../../packaging/tools/remove.sh

* fix: don't edit origin file

* fix: remove brand name

* fix: update taos-tools

* fix: cus name in log

* fix: compile error without cuc name

* fix: source/common/src/tglobal.c

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-10 19:44:45 +08:00
“happyguoxy” adf25d3300 null pointer 2023-04-10 19:12:13 +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
Xiaoyu Wang 910aba27c0
Merge pull request #20831 from taosdata/feat/table_level_privilege
feat: table level privilege
2023-04-10 17:24:53 +08:00
Haojun Liao 7419c0bfe9 enh(stream): the stream will start after vnode restore being completed. 2023-04-10 16:56:14 +08:00
“happyguoxy” bfc279835c add cancel in fetch cluster 2023-04-10 16:52:41 +08:00
“happyguoxy” 765c09d59e update function 2023-04-10 16:40:16 +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
slzhou b2de711a84 fix: change orReplace logic in mnode 2023-04-10 11:33:25 +08:00
Haojun Liao 0dd1721e57
Merge pull request #20820 from taosdata/fix/TS-3081
fix:add tools to checkout tmq offset & add error log for tmq
2023-04-10 11:02:39 +08:00
Xiaoyu Wang 637bf33c51 fix: catalog unit test 2023-04-10 10:53:29 +08:00
Xiaoyu Wang 4dff8950c2
Merge pull request #20812 from taosdata/fix/TS-3025
fix(tsdb/read): use the correct schema with multilevel merging
2023-04-10 10:30:37 +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
dapan1121 a560d10761
Merge pull request #20814 from taosdata/fix/TS-3085
fix: fix nullbitmap shift error when trimming data blocks.
2023-04-08 11:53:25 +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
Shuduo Sang 7dbe4f6ca1
fix: cfg name release script community main (#20818)
* chore: cus name support in script

* chore: merge with 3.0

* fix: source/common/src/tglobal.c

* fix: source/common/src/tglobal.c
2023-04-08 00:50:43 +08:00
wangmm0220 4f23578a79 fix:add err log 2023-04-07 19:53:11 +08:00
Ganlin Zhao 2d0dad7a37 fix: fix nullbitmap shift error when trimming data blocks. 2023-04-07 19:35:46 +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
Ganlin Zhao 1c6bf2d1d3 fix: fix nullbitmap shift error when trimming data blocks. 2023-04-07 18:08:49 +08:00
Shuduo Sang 4fb5390c6f
chore: release script community main (#20808)
* chore: cus name support in script

* chore: merge with 3.0
2023-04-07 17:10:39 +08:00
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
Haojun Liao 5de76e4b72
Merge pull request #20809 from taosdata/fix/TD-23517
fix:[TD-23517] set offset type to wal if only meta & check if tag is …
2023-04-07 16:35:08 +08:00
slzhou 26f1e91ddb fix: change binarylib/script dir to tsdatadir 2023-04-07 16:12:29 +08:00
Xiaoyu Wang 8d7eb07e7f
Merge pull request #20798 from taosdata/fix/TS-3025
fix(tsdb/row merger): rewrite row merger and fix tsdb read crash with schemaless
2023-04-07 15:51:08 +08:00
Minglei Jin 8ae43fe6cb fix(tsdb/read): use the correct schema for mem/imem rows 2023-04-07 15:28:23 +08:00
Minglei Jin f262ac8230 fix(tsdb/read): use irow's schema instead of NULL 2023-04-07 14:37:56 +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
Minglei Jin 1ff8511eb3 tsdb/row merger: comment init out 2023-04-07 13:43:07 +08:00
Minglei Jin 55f7e41f3b tsdb/row merger: remove tsdbRowMerge 2023-04-07 13:31:33 +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
Minglei Jin 360113115f fix(tsdb/row merger): remove unused code 2023-04-07 09:49:48 +08:00
Haojun Liao 8a21888f98
Merge pull request #20795 from taosdata/fix/TD-23495
fix:time_wait in doAskEp
2023-04-07 09:34:10 +08:00
Haojun Liao 076509235e
Merge pull request #20792 from taosdata/fix/TD-23508
fix:remove smlChildTableName from tag
2023-04-07 09:33:20 +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
wangmm0220 7a58f448a5 fix:time_wait in doAskEp 2023-04-06 19:16:31 +08:00
wangmm0220 fa154172b4 fix:time_wait in doAskEp 2023-04-06 18:15:03 +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
wangmm0220 f8bcdcecea fix:remove smlChildTableName from tag 2023-04-06 16:24:04 +08:00
shenglian zhou 66c86a60d5 fix: add func_version to systable 2023-04-06 15:58:53 +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 871cfb4760
Merge pull request #20775 from taosdata/fix/TD-23450
fix:tq memory leak
2023-04-06 11:48:45 +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
Shuduo Sang 33c5f1cf88
chore: cus name support in shellArgument (#20754)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

* fix: cus name

* fix: change adapter prefix

* fix: tools/*.sh

* fix: scripts

* fix: ../../packaging/tools/install_client.sh

* chore: cus domain in script

* fix: cus name in packaging/tools/install.sh

* fix: cus name in ../../packaging/tools/remove.sh

* fix: don't edit origin file

* fix: remove brand name

* fix: update taos-tools

* fix: cus name in log

* fix: compile error without cuc name

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-05 10:21:43 +08:00
“happyguoxy” a71caffed6 add version in mnode 2023-04-04 19:53:08 +08:00
Xiaoyu Wang 650dc5cafb merge main 2023-04-04 19:35:54 +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
54liuyao 519e2f1cfd fix:tq memory leak 2023-04-04 18:21:37 +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 1e1e3b1576
Merge pull request #20769 from taosdata/feat/table_level_privilege_wxy
feat: table level privilege check
2023-04-04 17:20:12 +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
dapan1121 dace3393ab
Merge pull request #20750 from taosdata/fix/TS-3071
fix: add stmt error handling
2023-04-04 10:25:25 +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
dapan1121 ec3c706c3b
Merge pull request #20739 from taosdata/fix/TS-3063
fix(query): fix interp tsdbReader external range not setting properly
2023-04-04 09:23:47 +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
dapan1121 f79eeb3032 fix: add stmt error handling 2023-04-04 08:54:28 +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
Ganlin Zhao aa6a4efd5b fix(query): fix interp tsdbReader external range not setting properly 2023-04-03 16:18:16 +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
wangmm0220 858144145f fix:memory leak 2023-04-02 23:39:59 +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
Haojun Liao 23e8edd148 fix(tmq): set the default commit callback fn. 2023-04-01 00:14:01 +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