Commit Graph

13418 Commits

Author SHA1 Message Date
dapan1121 3b8e8018b2 fix: get user errcode issue 2023-04-24 10:34:07 +08:00
Ganlin Zhao 1251245c2a move code to parser 2023-04-24 09:49:03 +08:00
dapan1121 d23ae400b8 fix: table meta double free issue 2023-04-24 09:22:59 +08:00
Haojun Liao 134c0528ae Merge branch 'main' into fix/liaohj_main 2023-04-24 01:43:00 +08:00
Haojun Liao a4258a5af0
Merge pull request #21019 from taosdata/fix/tagFilterError
fix filter err
2023-04-23 19:58:27 +08:00
Haojun Liao 623ea6df5f fix(stream): add task status check. 2023-04-23 17:42:56 +08:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
yihaoDeng 2699a01444 fix filter err 2023-04-23 08:13:27 +00:00
yihaoDeng 03b661061a fix filter err 2023-04-23 08:12:36 +00:00
yihaoDeng 4291cfda21 fix filter err 2023-04-23 07:18:23 +00:00
wangmm0220 4bc319c6dd Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-23 15:15:33 +08:00
Ganlin Zhao c5b3737702 fix: forbid delete from system table 2023-04-23 11:21:01 +08:00
yihaoDeng 3b89aa2085 fix filter err 2023-04-23 02:10:45 +00:00
dapan1121 9e22bd07a4
Merge pull request #21008 from taosdata/szhou/fix-ts3248
fix: when db_name!=xxx can not be used in systable scan index
2023-04-23 09:50:14 +08:00
yihaoDeng 5c9450856e fix filter err 2023-04-23 00:53:55 +00:00
dapan1121 f4d1ac4e93
Merge pull request #21007 from taosdata/feat/TS-3249
feat: support table_prefix/table_suffix new mode
2023-04-21 19:18:28 +08:00
wangmm0220 6efbcfec4b Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3222 2023-04-21 17:46:35 +08:00
dapan1121 176f7740c3 fix: memory leak issue 2023-04-21 16:41:39 +08:00
Haojun Liao f1e289e9ce
Merge pull request #21006 from taosdata/fix/TS-3082
fix:[TS-3082] change offset to firstver if offset is smller than firs…
2023-04-21 16:07:32 +08:00
slzhou c971fe1606 fix: when db_name != xxx can not be optimized by uid index 2023-04-21 15:01:35 +08:00
slzhou 5531775f8e fix: when db_name!=xxx is used in systable scan index 2023-04-21 14:59:35 +08:00
dapan1121 877b6e7053 fix: add table_prefix/table_suffix cases 2023-04-21 14:58:58 +08:00
Haojun Liao 2b74583b87
Merge pull request #21002 from taosdata/fix/liaohj_main
fix(stream): set the correct number of tasks.
2023-04-21 14:52:07 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Haojun Liao b6f4cac619 fix(stream): set the correct offset version. 2023-04-21 13:35:24 +08:00
wangmm0220 81b0670bd5 fix:[TS-3082] change offset to firstver if offset is smller than firstVer when wal is removed 2023-04-21 11:43:39 +08:00
Haojun Liao e4199a62de fix(stream): fix memory leak. 2023-04-21 10:37:50 +08:00
Haojun Liao 6c641cff39 fix(stream): fix error in start stream tasks. 2023-04-21 09:37:16 +08:00
dapan1121 95f4c81ac9
Merge pull request #20989 from taosdata/szhou/fix-ts3243
fix: do not performace table count scan optimized where there are no agg functions
2023-04-21 09:22:30 +08:00
Haojun Liao 5e6c06e253 fix(stream): fix the race condition during create new stream tasks. 2023-04-20 23:21:18 +08:00
Hui Li a012fd2ce0
Merge pull request #20991 from taosdata/test/TS-3069-MAIN
add the cast that select field include two udf function
2023-04-20 19:44:08 +08:00
Haojun Liao f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
Haojun Liao cb686f8709
Merge pull request #20998 from taosdata/fix/liaohj_main
enh(stream): add more check to stop stream asap.
2023-04-20 18:49:54 +08:00
Haojun Liao dc733352db enh(stream): set the max input queue size to be 3000. 2023-04-20 17:38:10 +08:00
dapan1121 e36bf05f98 enh: support get subtable tag and auth 2023-04-20 17:30:09 +08:00
Haojun Liao 8323ad8670 enh(stream): add more check to stop stream asap. 2023-04-20 17:29:08 +08:00
Haojun Liao 23e285ac57
Merge pull request #20995 from taosdata/fix/liaohj_main
fix(stream): add lock during check wal to create new stream task.
2023-04-20 17:04:15 +08:00
Haojun Liao b60b1796f7 fix(stream): add lock during check wal to create new stream task. 2023-04-20 15:53:41 +08:00
shenglian zhou 3a9dddd619 enhance: modify inside isEligibleAgg func 2023-04-20 15:11:12 +08:00
Xiaoyu Wang 0dad9322f3 fix: invalid identifier check 2023-04-20 15:08:41 +08:00
Alex Duan 4c0cdd8192 test: add udf2_dup test case 2023-04-20 14:34:38 +08:00
Alex Duan c34c53539d test: add udf2_dup test case 2023-04-20 14:32:32 +08:00
Alex Duan 977af4289b test: fix udf1_dup error 2023-04-20 14:05:15 +08:00
shenglian zhou cc78a6356c fix: do not performace table count scan optimized where there are no agg functions 2023-04-20 13:54:22 +08:00
Alex Duan ba0a6e087f test: add the cast that select field include two udf function 2023-04-20 13:51:39 +08:00
wangmm0220 4d9d1b520d fix:add log for wal 2023-04-19 18:16:57 +08:00
wangmm0220 6f94281ab7 fix:add log for wal 2023-04-19 17:30:58 +08:00
dapan1121 4a9d62b467 enh: ignore single row null data type validation 2023-04-19 10:18:41 +08:00
dapan1121 aa8d25f6e5 feat: support fetching table tag value 2023-04-19 10:03:06 +08:00
Haojun Liao 76becf59b7
Merge pull request #20947 from taosdata/feature/3_liaohj
fix(stream): set the correct initial checkpoint versions.
2023-04-18 11:26:48 +08:00
Xiaoyu Wang cda3222a18
Merge pull request #20954 from taosdata/FIX/TD-22419-main
enh: remove unused functions in sync
2023-04-18 10:50:16 +08:00
Haojun Liao 97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
Haojun Liao 930b267a75 fix(stream): set the correct start offset for stream task. 2023-04-17 22:59:00 +08:00
Benguang Zhao b958030b0c enh: remove unused functions in sync 2023-04-17 18:52:09 +08:00
liuyao 27d14f742d fix:stream memory leak 2023-04-17 17:27:02 +08:00
Haojun Liao 4ed26bbc19 fix(stream): update the table list api. 2023-04-17 14:08:54 +08:00
Haojun Liao eb7f510ccb fix(query): return correct suid to delete sink. 2023-04-17 10:59:24 +08:00
Haojun Liao ac137b4b33 refactor: do some internal refactor. 2023-04-17 09:46:58 +08:00
Haojun Liao 10b3fd9426 other: merge main. 2023-04-17 09:19:48 +08:00
Xiaoyu Wang 0993510d91
Merge pull request #20940 from taosdata/fix/3.0_merge_main
fix: udf plan error
2023-04-17 00:10:26 +08:00
Haojun Liao 1350af5267 fix(stream): set the correct initial checkpoint version to restore the operators state and add check for the initial destination tables. 2023-04-16 22:48:22 +08:00
Haojun Liao a3b02a80c0 fix(stream): update the version when open stream tasks. 2023-04-15 00:10:08 +08:00
Haojun Liao 3aa6897738 refactor: increase the buffer size 2023-04-14 22:56:11 +08:00
Haojun Liao e05d61456a fix(stream): disable the status check. 2023-04-14 22:45:22 +08:00
Xiaoyu Wang 58d9f615fe fix: udf plan error 2023-04-14 19:54:04 +08:00
Haojun Liao 3ee3b16ebb fix(query): fix the invalid read. 2023-04-14 19:37:58 +08:00
Haojun Liao 1cd2268a99 Merge branch 'main' into feature/3_liaohj 2023-04-14 18:30:55 +08:00
Haojun Liao e0cb8aa534 fix(stream): don't the initial task status and do some internal refactor. 2023-04-14 17:43:37 +08:00
Haojun Liao eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
dapan1121 d4cb608505
Merge pull request #20885 from taosdata/fix/TS-3108
fix: fix timestamp constant comparison precision error
2023-04-14 09:27:03 +08:00
Xiaoyu Wang e9f5717bb3
Merge pull request #20926 from taosdata/fix/main_wxy
fix: optimizing 'alter table drop tag' error reporting
2023-04-14 09:12:03 +08:00
Xiaoyu Wang 31b2db470b
Merge pull request #20923 from taosdata/fix/3.0_merge_main
merge 3.0
2023-04-14 09:11:51 +08:00
Haojun Liao f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Haojun Liao 4d83118ff7 fix(stream): fix memory leak. 2023-04-13 23:49:14 +08:00
Haojun Liao 70b45a4cf0 fix(stream): all data should be extracted from wal. 2023-04-13 23:22:09 +08:00
Xiaoyu Wang 06d9a74bcc fix: optimizing 'alter table drop tag' error reporting 2023-04-13 19:38:47 +08:00
Xiaoyu Wang db8a6ce60b
Merge pull request #20891 from taosdata/FIX/TD-23613-main
test: add flush database in some testcases
2023-04-13 19:03:34 +08:00
Xiaoyu Wang c218e7c55b
Merge pull request #20897 from taosdata/FIX/TD-23509-main
enh: refactor some vars in syncLogReplProcessReplyAsNormal
2023-04-13 17:41:06 +08:00
Xiaoyu Wang 17b5669555 fix: optimizing 'alter table drop tag' error reporting 2023-04-13 17:32:31 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Ganlin Zhao b51477343d fix crash 2023-04-13 15:50:30 +08:00
Xiaoyu Wang 1266d8c84a Merge remote-tracking branch 'origin/main' into fix/main_wxy 2023-04-13 15:25:40 +08:00
Xiaoyu Wang a4d818c982 fix: alter table check 2023-04-13 15:25:36 +08:00
Benguang ZHAO d772fd06dd
Merge branch 'main' into FIX/TD-23613-main 2023-04-13 15:02:59 +08:00
Ganlin Zhao c7dd22ad1c fix spread timestmap column reading sma issue 2023-04-13 14:58:13 +08:00
Ganlin Zhao fbbd3e4bdd fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:33:06 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
Ganlin Zhao d1544e8859 fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:05:04 +08:00
Ganlin Zhao 7414f28d17 fix translatefunc not getting precision issue 2023-04-13 11:22:15 +08:00
dapan1121 3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
Benguang Zhao 2a0493f40c enh: refactor some vars in syncLogReplProcessReplyAsNormal 2023-04-13 09:53:25 +08:00
dapan1121 9ad17dddaf
Merge pull request #20890 from taosdata/fix/TS-3137-M
fix: the precision of delete statement
2023-04-12 19:41:29 +08:00
Xiaoyu Wang 5005731630
Merge pull request #20889 from taosdata/fix/main_bugfix_wxy
fix: error querying after setting permissions for varchar type tags
2023-04-12 18:56:58 +08:00
Ganlin Zhao 81610773c5 add test cases 2023-04-12 18:40:56 +08:00
kailixu 4ac4b4f0c8 chore: revert the extra line 2023-04-12 17:45:12 +08:00
kailixu 3bd721518d chore: revert the extra line 2023-04-12 17:43:44 +08:00
kailixu 1ed3149c39 fix: the precision of delete statement 2023-04-12 17:41:43 +08:00
Xiaoyu Wang 5ea2ba0a38 fix: error querying after setting permissions for varchar type tags 2023-04-12 17:39:23 +08:00
Ganlin Zhao dcf77f2529 fix: fix constant comparision precision error 2023-04-12 14:24:34 +08:00
Xiaoyu Wang 933660ae8d Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main 2023-04-12 14:13:23 +08:00
Xiaoyu Wang 9c0027cb2a
Merge pull request #20880 from taosdata/FIX/TD-23509-main
enh: refactor some sync func names
2023-04-12 14:01:55 +08:00
Xiaoyu Wang 9fb6ddf77f
Merge pull request #20870 from taosdata/fix/TD-23560-1
fix(udf1): use 1 as luck number to make new gcc happy
2023-04-12 10:48:48 +08:00
Xiaoyu Wang 5d9f3c4133 merge main 2023-04-12 10:44:04 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Benguang Zhao 3efa36ca51 enh: refactor func name syncLogIsReplicationBarrier to syncLogReplBarrier 2023-04-12 10:13:17 +08:00
Benguang Zhao 09786a127d enh: refactor func names doOnce, attempt, probe, and sendTo of syncLogRepl 2023-04-12 10:13:06 +08:00
Benguang Zhao f6be5f2c0e enh: change sync log repl mgr to sync log repl in logging msg 2023-04-12 10:12:57 +08:00
Benguang Zhao edc9fe9705 enh: change the error msg of INVALID_VGROUP_ID to Vnode is closed or removed 2023-04-12 10:12:41 +08:00
Haojun Liao f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
Haojun Liao 5ab54481f0 refactor: do some internal refactor. 2023-04-11 19:24:34 +08:00
Haojun Liao 24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
Ganlin Zhao 0201348bbe add test cases 2023-04-11 17:58:55 +08:00
Xiaoyu Wang 2a887dc55e merge main 2023-04-11 17:55:11 +08:00
Xiaoyu Wang 5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
Minglei Jin 9961f82479 fix(udf1): use 1 as luck number to make new gcc happy 2023-04-11 16:52:56 +08:00
Xiaoyu Wang e3c6f0da24
Merge pull request #20854 from taosdata/fix/TD-23560
fix(udf): make strncat working for release building
2023-04-11 16:47:29 +08:00
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
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