Commit Graph

576 Commits

Author SHA1 Message Date
Haojun Liao 187735dede fix(query): fix the invalid write. 2022-10-11 10:49:19 +08:00
Haojun Liao 2dcb5a9c29 fix(query): fix an typo. 2022-10-10 22:00:36 +08:00
Haojun Liao 73b5a001d6 fix(query): fix invalid type convert in cast function. 2022-10-10 19:15:52 +08:00
dapan1121 55a26990da feat: support case when cases 2022-10-08 19:07:43 +08:00
dapan1121 50b396c818 fix: fix case when issues 2022-09-30 18:13:55 +08:00
dapan1121 8ab016fd9f Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-09-30 15:21:03 +08:00
dapan1121 b03b139b76 feat: support case when clause 2022-09-30 14:59:43 +08:00
dapan1121 2d3992b72b feat: support case when clause 2022-09-29 19:19:49 +08:00
dapan1121 0022a766b3 enh: support case when 2022-09-26 19:21:57 +08:00
Haojun Liao 4ebee6b232 refactor(query): do some internal refactor. 2022-09-26 11:22:26 +08:00
Haojun Liao 91c86188fc Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-23 10:03:13 +08:00
Haojun Liao 6f33ae921e refactor(query): do some internal refactor. 2022-09-23 10:02:43 +08:00
Haojun Liao 7ee2449a73 Merge branch '3.0' into feature/3_liaohj 2022-09-22 14:03:17 +08:00
Haojun Liao 6c6e20ff14 fix(query): fix value number counting in relational processing. 2022-09-21 14:18:27 +08:00
Haojun Liao 721112140f fix(query): assign qualified value. 2022-09-21 13:51:36 +08:00
Haojun Liao 4ca49bf549 fix(query): assign the result number. 2022-09-21 11:47:15 +08:00
Haojun Liao 33c075542d refactor(query): do some internal refactor. 2022-09-21 10:26:55 +08:00
Xiaoyu Wang 8a010a58f3 enh: added memory allocators for parser and planner 2022-09-20 16:13:08 +08:00
Shengliang Guan 1c7eb9daac
Merge pull request #16482 from taosdata/fix/filterResErr
fix: fix filter group merge error
2022-08-30 09:08:05 +08:00
dapan1121 a861537bc0 fix: fix filter group merge error 2022-08-29 15:44:10 +08:00
dapan1121 44dcaf2517 fix: fix type convertion issue 2022-08-29 09:28:38 +08:00
dapan1121 d18e7cd739 enh: remove compare type convertion 2022-08-26 16:20:07 +08:00
dapan1121 de55d16b60 enh: downgrade value type to speed up filter 2022-08-26 10:59:48 +08:00
Xiaoyu Wang e5da9167ff fix: escape character problem in auto create table insert 2022-08-19 11:52:30 +08:00
wangmm0220 c8da11cce6 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-17 19:12:27 +08:00
wangmm0220 e3c11172ec fix:error in get table list by tag filter 2022-08-17 19:01:22 +08:00
wangmm0220 171ce325c7 fix:error in get table list by tag filter 2022-08-17 11:47:59 +08:00
wangmm0220 2bf2d5e6e1 fix:error in get table list by tag filter 2022-08-17 11:39:55 +08:00
Ganlin Zhao 09ce3b9ffe fix(query): set proper ltrim/rtrim result schema bytes
TD-18431
2022-08-17 11:26:38 +08:00
Ganlin Zhao c4aa94b236 fix(query): fix nested query length(ltrim/rtrim) result incorrect
TD-18388
2022-08-15 14:07:17 +08:00
Haojun Liao 3a6285c478 fix(query): add check when invoking sma filter. 2022-08-11 17:40:55 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Haojun Liao 1063064a59 enh(query): support filter by SMA. 2022-08-05 17:40:40 +08:00
dapan1121 9c91c35649 fix: fix sma filter for scalar mode 2022-08-05 16:36:46 +08:00
Haojun Liao e31ee23fbb fix(query): fix memory leak. 2022-08-04 15:44:42 +08:00
Haojun Liao bbcba1855d Merge branch '3.0' into feature/3_liaohj 2022-08-01 20:09:42 +08:00
Haojun Liao 24218752ab refactor: optimize tablescan perf. 2022-08-01 16:41:14 +08:00
shenglian zhou 799f7d0f87 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/join 2022-08-01 16:20:17 +08:00
shenglian zhou 905a07801e fix: fix errors of join test case 2022-08-01 16:19:50 +08:00
Haojun Liao a2a2dbd68a refactor: optimize the build block perf. 2022-08-01 13:11:32 +08:00
dapan1121 b0d0b0297f fix: fix in operator memory leak 2022-08-01 11:12:09 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
Ganlin Zhao 2416411eaf Revert "restore sclRewriteOperator logic"
This reverts commit 2ff07c8f1e.
2022-07-23 19:21:08 +08:00
Ganlin Zhao 2ff07c8f1e restore sclRewriteOperator logic 2022-07-23 18:15:39 +08:00
Ganlin Zhao c6d9642fed Merge branch '3.0' into fix/TD-17682 2022-07-23 17:22:52 +08:00
Ganlin Zhao 29fe1d24a4 fix(query): fix sclrewrite function&operator type/bytes
TD-17682
2022-07-23 17:20:08 +08:00
dapan1121 741f8f7e55 fix: remove filter ut 2022-07-23 14:55:12 +08:00
slzhou@taodata.com 189c818f54 fix: change the operator type when switch left and right operands 2022-07-23 09:02:28 +08:00
Haojun Liao e6febe45dd
Merge pull request #15180 from taosdata/feature/3_liaohj
fix(query): fix time window generating bug.
2022-07-20 19:15:28 +08:00
Haojun Liao fc7887e6b7 fix(query): update the sim. 2022-07-20 17:24:49 +08:00
Ganlin Zhao 4dbb2debc0 fix(query): fix memory leak in histogram param validation
TD-17598
2022-07-20 14:54:40 +08:00
Xiaoyu Wang 6d5d6746f2 feat: sql command 'show tags from table_name' 2022-07-19 18:51:06 +08:00
afwerar fa96e64ee0 os: win format negative timestamp error 2022-07-18 16:53:20 +08:00
Ganlin Zhao 5b12fcb3a1 feat(query): add selective function scalar version 2022-07-18 15:23:28 +08:00
Ganlin Zhao 75371098a6 refactor 2022-07-18 15:14:20 +08:00
Ganlin Zhao a4d86275d2 feat(query): add first/last/last_row scalar version 2022-07-18 15:06:21 +08:00
Ganlin Zhao a80027736d feat(query): add top/bottom function scalar version 2022-07-18 14:47:53 +08:00
Ganlin Zhao 7b5a96fa80 Merge branch '3.0' into feat/agg_client_api 2022-07-18 13:42:58 +08:00
Ganlin Zhao e37bdbd5c9 feat(query): add histogram function scalar version
TD-17344
2022-07-18 13:37:18 +08:00
Ganlin Zhao 1ea48b62c8
Merge pull request #15026 from taosdata/feat/agg_client_api
feat(query): add stateduration function scalar version
2022-07-18 10:48:25 +08:00
dapan1121 077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
dapan1121 3101633bbf fix: fix scalar crash issue 2022-07-18 08:47:05 +08:00
Ganlin Zhao 107cb15dbd feat(query): add stateduration function scalar version 2022-07-17 22:52:40 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
Ganlin Zhao 810be53374 fix(query): fix state operator check 2022-07-16 17:01:44 +08:00
Ganlin Zhao 3bcd669fcd feat(query): add statecount function scalar version 2022-07-16 16:46:03 +08:00
Ganlin Zhao 790cecf123 feat(query): add diff function scalar version 2022-07-16 15:04:45 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +08:00
Ganlin Zhao 6d63d1b5b8 fix count scalar function behavior 2022-07-16 14:07:32 +08:00
Ganlin Zhao a57d2417c3 feat(query): add hyperloglog scalar version
TD-17344
2022-07-16 14:01:49 +08:00
Ganlin Zhao 59839f0d0a feat(query): add mavg scalar version 2022-07-16 13:41:42 +08:00
Ganlin Zhao 8caa4bcad0 feat(query): add twa function scalar version 2022-07-16 13:34:24 +08:00
Ganlin Zhao ee5d2c1d82 refactor 2022-07-16 11:46:49 +08:00
Ganlin Zhao 566ab93f83 add derivative scalar version 2022-07-16 11:37:05 +08:00
Ganlin Zhao 598c57e059 feat(query): add irate function scalar version
TD-17344
2022-07-16 11:26:04 +08:00
Ganlin Zhao cbd2d8f8a2 fix(query): add spread function scalar version
TD-17344
2022-07-15 17:54:45 +08:00
Ganlin Zhao a5a3b96e58 enable select agg function without from clause 2022-07-15 16:50:51 +08:00
Ganlin Zhao 14ae310fea fix issue 2022-07-15 16:47:52 +08:00
Ganlin Zhao 0377f865db fix conflict 2022-07-15 16:45:30 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
Ganlin Zhao b8a4878b00 fix(query): add leastsquares function scalar version 2022-07-15 14:34:40 +08:00
Ganlin Zhao 4ff107812f feat(query): add avg function scalar version
TD-17344
2022-07-15 10:00:35 +08:00
Ganlin Zhao 7e661a9e9c feat(query): add avg function scalar version
TD-17344
2022-07-14 20:02:21 +08:00
Ganlin Zhao 256c4aa25b Merge branch '3.0' into feat/agg_client_api 2022-07-14 19:20:45 +08:00
Ganlin Zhao 680400834a refactor code 2022-07-14 19:17:28 +08:00
Ganlin Zhao 98e542f884
Merge pull request #14888 from taosdata/feat/agg_client_api
feat(query): add sum/count/max/min function scalar version
2022-07-14 19:09:30 +08:00
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +08:00
wangmm0220 a15bd187bf fix:error in json tag 2022-07-14 16:24:16 +08:00
Ganlin Zhao 29ff569191 enable scalar function check to prevent crash 2022-07-14 14:04:06 +08:00
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +08:00
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
Ganlin Zhao 4bc3770cd3 fix code format 2022-07-13 18:16:41 +08:00
Ganlin Zhao 099f2d2c98 remove scalar function check to allow agg function execute 2022-07-13 18:14:27 +08:00
Ganlin Zhao dd8f235e97 feat(query): add count function scalar version
TD-17344
2022-07-13 17:47:56 +08:00
dapan1121 ca754adaa6 fix: add agg processing 2022-07-13 17:14:04 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
dapan1121 25f80f8d3e fix: fix null bytes issue 2022-07-12 17:10:55 +08:00
dapan1121 b824dc71a0 fix: fix invalid time range issue 2022-07-11 11:23:15 +08:00