Commit graph

291 commits

Author SHA1 Message Date
wangjiaming0909
789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
Haojun Liao
5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
slzhou
51fa0aeb64 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3400 2023-05-13 00:02:03 +08:00
slzhou
5b866edae7 fix: disable table count scan optimized when filters and group by both exist 2023-05-12 18:51:18 +08:00
Haojun Liao
7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
slzhou
d8a7e14065 enhance: add test case 2023-05-12 07:20:27 +08:00
slzhou
00fb5acad7 enhance: add test case 2023-05-12 07:19:03 +08:00
dapan1121
a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
shenglian zhou
ae773fee8b feature: add test case 2023-04-25 14:43:22 +08:00
slzhou
d0b370e736 fix: add test case 2023-04-21 16:28:25 +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
Xiaoyu Wang
9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +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
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
slzhou
6f35badc78 enhance: add udf replace function test case 2023-04-11 15:17:50 +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
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Xiaoyu Wang
c5632ca355 enh: convert the month and year in interval-offset to a database precision duration 2023-04-03 13:47:28 +08:00
slzhou
b2ca68943c fix: add test case 2023-03-30 16:58:21 +08:00
slzhou
06aa7d3750 fix: add test case for interval after join 2023-03-30 08:54:00 +08:00
slzhou
dcf5f98b4b fix: change name and body to func_name and func_body 2023-03-29 15:52:08 +08:00
dapan1121
dd12e41227
Merge pull request #20618 from taosdata/fix/TS-2974
fix: change float display mode
2023-03-25 09:19:04 +08:00
dapan1121
4167e4c00c fix: some columns sma are not set issue 2023-03-24 15:20:27 +08:00
Xiaoyu Wang
18b039fecd
Merge pull request #20603 from taosdata/enh/3.0_planner_optimize
fix: udf error check
2023-03-23 18:44:23 +08:00
Xiaoyu Wang
bbd5191800 fix: udf error check 2023-03-23 16:32:00 +08:00
slzhou
40a78bde50 fix: unknow db error when query ins_tables with table_name="" 2023-03-23 13:52:53 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
slzhou
b9edd24d3f fix: create function error for json/decimal/blob/varbinary type 2023-03-21 00:38:13 -08:00
dapan1121
2744dec816
Merge pull request #20488 from taosdata/fix/addUt
fix: modify minrows/maxrows range and add cases
2023-03-17 14:27:31 +08:00
slzhou
7360011a9e fix: move from run_case.sh to each case 2023-03-17 14:08:18 +08:00
slzhou
e71df1aca6 enhance: add taospyudf test and run it in CI 2023-03-16 19:06:18 +08:00
dapan1121
59b532a890 fix: modify minrows/maxrows range and add cases 2023-03-16 09:46:14 +08:00
dapan1121
397bead009 fix: add test cases 2023-03-15 08:38:00 +08:00
Xiaoyu Wang
efa56d5352 merge main 2023-02-27 14:18:03 +08:00
dapan1121
a98ff93c32 Merge remote-tracking branch 'origin/3.0' into fix/TD-22762 2023-02-26 09:55:00 +08:00
dapan1121
77295df8ec
Merge pull request #20161 from taosdata/fix/TS-2729
fix: table scan crash issue
2023-02-26 07:45:17 +08:00
dapan1121
2d9b5ed4f6 fix: tag like filter issue 2023-02-25 16:04:21 +08:00
dapan1121
ec6c25e342
Merge branch '3.0' into fix/TD-22762 2023-02-25 10:59:23 +08:00
dapan1121
05bd600ef8 fix: table scan crash issue 2023-02-25 09:34:37 +08:00
dapan1121
eac27fc0fd fix: empty ts range query issue 2023-02-24 18:39:17 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
dapan1121
968c538be5 fix: add merge join operator result limitation 2023-02-21 08:54:05 +08:00
Xiaoyu Wang
79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang
571e936b4a feat: add explain test case 2023-02-07 17:13:38 +08:00
dapan1121
ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Xiaoyu Wang
aae2de07af enh: add event_winodw test case 2023-01-31 09:21:44 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
dapan1121
17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
wangmm0220
792d19fbe7 fix:table num in ins_tables 2023-01-13 11:48:26 +08:00
Haojun Liao
7efdc9e27a fix(query): fix memory leak. 2023-01-11 18:00:36 +08:00
Xiaoyu Wang
b8183580cb feat: add an event_window clause for the explain command 2023-01-11 09:22:31 +08:00
slzhou
d292243b1a fix: add test for select tbname from systable 2023-01-03 08:32:33 +08:00
dapan1121
c318be9214 fix: duplicated groups result in group by 2022-12-23 12:04:20 +08:00
slzhou
3108e658e6 fix: expand scalar param column data to fill the udf datablock 2022-12-13 14:51:11 +08:00
dapan1121
16f9c172ac fix: fix merge join crash issue 2022-10-25 18:20:20 +08:00
slzhou
817eed740f fix: prototype to verify stream + udf as task framework 2022-09-15 10:01:24 +08:00
wenzhouwww@live.cn
83272a0ac5 docs: updagte taos shell as TDengine CLI for 3.0 version ,include in taos.cfg 2022-08-26 18:38:04 +08:00
Ganlin Zhao
167673e509 Merge branch '3.0' into fix/TD-18617 2022-08-25 11:14:05 +08:00
dapan1121
12d9366b84 fix:fix explain analyze validate issue 2022-08-22 19:50:22 +08:00
Xiaoyu Wang
44df51f98f enh: show command optimize 2022-08-11 20:56:31 +08:00
Xiaoyu Wang
9a9aef985e enh: show command optimize 2022-08-11 20:26:40 +08:00
shenglian zhou
134fb8329e fix: fix udf document 2022-08-09 10:12:07 +08:00
slzhou
521e5163a7 fix: add sample udf cases and compile outside of tdengine 2022-08-05 09:18:03 +08:00
shenglian zhou
a51fd6d2dc fix: restore tsim/query/udf.sim 2022-08-04 22:14:57 +08:00
shenglian zhou
3db8083725 fix: restore tsim/query/udf.sim 2022-08-04 22:12:17 +08:00
dapan1121
517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
dapan1121
cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Shengliang Guan
7eadfb2188 test: valgrind case 2022-08-01 10:25:54 +08:00
dapan1121
2d8afab93b enh: support limit in explain 2022-07-30 19:29:10 +08:00
Shengliang Guan
28bb895722 test: valgrind case 2022-07-27 21:32:18 +08:00
Shengliang Guan
b08ba7c1f9 test: valgrind case 2022-07-27 11:10:54 +08:00
Ganlin Zhao
738e1803a8 fix test case 2022-07-23 19:24:24 +08:00
Haojun Liao
df58a9bb30 fix(query): handle fraction of ts in add ts offset. 2022-07-20 15:30:52 +08:00
Xiaoyu Wang
d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang
43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
dapan1121
25f80f8d3e fix: fix null bytes issue 2022-07-12 17:10:55 +08:00
Haojun Liao
16d18b8046 refactor: do some internal refactor. 2022-07-04 14:10:29 +08:00
Haojun Liao
d3d258caa9 fix(query): prepare buffer before copying data. 2022-06-22 23:05:34 +08:00
afwerar
764d59b481 test: fix sim udf test error 2022-06-17 14:56:54 +08:00
Xiaoyu Wang
f740fd61c6 fix: use 'duration' instead of 'days' for create database 2022-06-15 14:23:05 +08:00
dapan1121
deaa295fb5
Merge branch '3.0' into feature/3_liaohj 2022-06-08 20:44:01 +08:00
Ganlin Zhao
ec5da952f9
Merge pull request #13580 from taosdata/feature/dist_split_glzhao
enh(query): add distributed splitting of aggregate function
2022-06-08 15:38:43 +08:00
shenglian zhou
b2d066521b feat: add group id to multiway-sort-merge operator 2022-06-08 14:58:50 +08:00
Ganlin Zhao
1d74831330 comment out some explain cases 2022-06-08 13:36:02 +08:00
Haojun Liao
1df7f8d274 test:update some test scripts. 2022-06-06 23:06:25 +08:00
Shengliang Guan
e35ebdadac refactor: rename LEADER to leader 2022-06-02 14:35:59 +08:00
plum-lihui
23e415b927 test:modify days to 300 2022-05-19 09:41:08 +08:00
Shengliang Guan
d7e895448d fix: conflicts after refactor SRpcMsg 2022-05-17 16:32:23 +08:00
slzhou
c245309e6e feat: enhance udfd epset processing with connect msg and callback epset parameter 2022-05-16 19:03:36 +08:00
slzhou
b53e7192fc fix: core caused by invalid total rows of data block when executing sql like select udf2(f2) from udf.t2 group by 1-udf1(f1) 2022-05-14 09:31:30 +08:00
slzhou
b6fa8f704b feat: add test case to udf.sim 2022-05-13 23:00:21 +08:00
slzhou
0f22b96f4a fix: change config param name from startUdfd to udf 2022-05-12 23:02:53 +08:00
slzhou
fe99a19687 feature(udf):start udfd can be disabled 2022-05-10 20:24:01 +08:00
slzhou
6862e45bc4 find one ci machine that will fail 2022-05-10 14:53:40 +08:00
shenglian zhou
7115d62189 remove scalar null case first 2022-05-10 12:37:28 +08:00
shenglian zhou
2ba5fdc36f fix: block extraction null set error 2022-05-10 11:22:31 +08:00
slzhou
5916525548 remove null value processing from udf.sim test case 2022-05-09 21:50:16 +08:00
slzhou
c5ef299434 feature(udf): implement drop function 2022-05-07 21:22:43 +08:00
slzhou
363194fa9b feature(udf): enhance test case with null value 2022-05-07 21:03:08 +08:00
slzhou
f8dd3a1341 feature(udf):refactor code and fix bugs 2022-05-07 19:35:44 +08:00
Cary Xu
64d6a27f80 Merge branch '3.0' into feature/TD-13066-3.0 2022-05-07 00:14:59 +08:00
Cary Xu
27a74a56df feat: merge rows in mem/file during commit for update 2022-05-07 00:13:25 +08:00
Xiaoyu Wang
6acf688b84
Merge pull request #12167 from taosdata/feature/3.0_wxy
fix: some problems of parser and planner
2022-05-06 20:29:54 +08:00
Cary Xu
bcdf9c19b2 feat: update refactor 2022-05-06 19:31:20 +08:00
Xiaoyu Wang
3ac18d91a8 fix: some problems of parser and planner 2022-05-06 19:13:55 +08:00
Xiaoyu Wang
041ecaa35f fix: some problems of parser and planner 2022-05-06 18:44:02 +08:00
slzhou
c9ee1b0dee fix: core dump when pass mulitiple columns from taosd to udfd 2022-05-06 17:41:49 +08:00
shenglian zhou
3a162be310 add test to jenkins 2022-05-05 21:04:24 +08:00
shenglian zhou
bfe01ed8ea add test case 2022-05-05 21:00:14 +08:00
Haojun Liao
47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
dapan1121
4d595938df handle null value 2022-04-26 16:40:30 +08:00
dapan1121
65a7d0f1c2 scalar constant 2022-04-26 15:51:46 +08:00
cpwu
98809c0986 fix case 2022-04-22 19:34:49 +08:00
Haojun Liao
00caa5c434 test:update session.sim 2022-04-21 18:26:27 +08:00
Haojun Liao
011efa67bf test: temporarily disable some invalid cases. 2022-04-20 16:00:37 +08:00
cpwu
4eeb5fa53a fix the case , add not between check 2022-04-18 19:09:44 +08:00
Shengliang Guan
63b0e304d4
Merge pull request #11598 from taosdata/feature/node
refactor(cluster): make the comment and code of udf to variable length
2022-04-18 17:18:02 +08:00
plum-lihui
feb5e712bf [test: add test case for session] 2022-04-18 16:57:50 +08:00
Shengliang Guan
bd2a64a311 Merge remote-tracking branch 'origin/3.0' into feature/node 2022-04-18 16:52:10 +08:00
Shengliang Guan
5f6eac8e47 refactor(cluster): replace the keyword master/slave with LEADER FOLLOWER 2022-04-18 14:47:33 +08:00
Shengliang Guan
9ba91dbafa test: invalid synatx in tsim 2022-04-18 10:44:00 +08:00
Xiaoyu Wang
f2056a623c enh: window clause validity check 2022-04-16 18:12:52 +08:00
Xiaoyu Wang
90ad407a7f enh: window clause validity check 2022-04-16 17:57:03 +08:00
Xiaoyu Wang
7a5148973c enh: window clause validity check 2022-04-16 17:46:32 +08:00
plum-lihui
baa67baa90 [test: stop all dnodes when sim scripte return success] 2022-04-16 10:20:24 +08:00
plum-lihui
6dd69dfe23 [test: stop all dnodes when sim scripte return success] 2022-04-16 10:19:07 +08:00
cpwu
685ce7f536 Merge branch '3.0' into cpwu/3.0 2022-04-15 16:48:40 +08:00
cpwu
e61d176305 fix stddev.case 2022-04-15 16:48:19 +08:00
Haojun Liao
ad3675daed test: fix an typo in session.sim script. 2022-04-15 14:13:29 +08:00
cpwu
dacbc8aa8e fix concat crash bug 2022-04-14 18:22:28 +08:00
Ganlin Zhao
bfa4d8a313 fix(query): taosd crash when concat has NULL inputs
TD-14732
2022-04-14 16:13:09 +08:00
cpwu
8cd7539786 fix again 2022-04-14 14:49:36 +08:00
cpwu
395ef0099f fix crash sim case 2022-04-14 14:44:13 +08:00
cpwu
9695f084f4 fix nachr sim case 2022-04-14 14:38:33 +08:00
cpwu
27da97f068 Merge branch '3.0' into cpwu/3.0 2022-04-14 14:17:07 +08:00
cpwu
477c0886c3 fix nchar sim case 2022-04-14 14:16:43 +08:00
Haojun Liao
9c9e980ec0 test(query): update tsim test scripts. 2022-04-14 11:36:06 +08:00
cpwu
b2108e6422 test : fix group sim case 2022-04-13 14:19:14 +08:00
cpwu
0aab0cd7f1 test: fix the where sim case 2022-04-13 11:10:38 +08:00
cpwu
abef3b6ccb fix having case 2022-04-13 10:32:30 +08:00
cpwu
7f5d142dc7 Merge branch '3.0' into cpwu/3.0 2022-04-12 17:03:33 +08:00
cpwu
3ec7f7a039 add having sim case 2022-04-12 16:57:52 +08:00
Haojun Liao
ec0637df8d
Merge pull request #11412 from taosdata/feature/3.0_liaohj
fix(query): load the null data in nchar/binary columns.
2022-04-12 14:26:01 +08:00
Haojun Liao
727085ad12 test(query): disable some invalid test cases in diff.sim 2022-04-12 13:53:19 +08:00
dapan1121
baab065136
Merge branch '3.0' into feature/qnode 2022-04-11 16:39:28 +08:00
plum-lihui
0f83fd7c59 test: add session cases into CI 2022-04-11 16:32:44 +08:00
plum-lihui
3ff5d91d31 test:add session windows cases 2022-04-11 16:12:34 +08:00
dapan1121
86a39034d3 add explain case 2022-04-11 15:13:53 +08:00