Commit Graph

192 Commits

Author SHA1 Message Date
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
Ganlin Zhao 936c7b6276 fix: coverity issues
CID: 400042
2022-10-11 16:00:19 +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 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 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 4ca49bf549 fix(query): assign the result number. 2022-09-21 11:47:15 +08:00
Xiaoyu Wang 8a010a58f3 enh: added memory allocators for parser and planner 2022-09-20 16:13:08 +08:00
dapan1121 de55d16b60 enh: downgrade value type to speed up filter 2022-08-26 10:59:48 +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
Ganlin Zhao 09ce3b9ffe fix(query): set proper ltrim/rtrim result schema bytes
TD-18431
2022-08-17 11:26:38 +08:00
dapan1121 b0d0b0297f fix: fix in operator memory leak 2022-08-01 11:12:09 +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 29fe1d24a4 fix(query): fix sclrewrite function&operator type/bytes
TD-17682
2022-07-23 17:20:08 +08:00
dapan1121 3101633bbf fix: fix scalar crash issue 2022-07-18 08:47:05 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +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 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 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
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
Xiaoyu Wang 6a3124a5f9 Merge remote-tracking branch 'origin/enh/in' into feature/3.0_debug_wxy 2022-07-10 17:31:37 +08:00
dapan1121 6cd21fe04b enh: enhance in operator 2022-07-10 16:52:11 +08:00
Xiaoyu Wang bd210bf392 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 16:45:14 +08:00
dapan1121 f530607359 Merge branch '3.0' into fix/bugs 2022-07-10 11:18:01 +08:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
Haojun Liao c5ccdfd4e9 fix(query): set the correct resource free flag. 2022-07-09 11:06:41 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
dapan1121 17f5f3ee82 fix: fix server_status() issue 2022-07-08 17:51:03 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
Haojun Liao 3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +08:00
dapan1121 57836d8bb2 enh: add type convert api 2022-07-04 17:40:20 +08:00
Zhiqiang Wang b45702be6f
Merge pull request #14466 from taosdata/fix/ZhiqiangWang/TD-13064-add-Mac-compile-support
os: add Mac compile support
2022-07-02 18:02:28 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
wangmm0220 8390080074 fix: error in empty string in operator 2022-07-02 16:16:18 +08:00
wangmm0220 3dafc6556c fix: erro in json in operator 2022-07-02 14:47:07 +08:00
wangmm0220 4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
wangmm0220 085ace59e0 fix:to_json() function 2022-07-01 16:47:54 +08:00
dapan1121 ba265d51b8 fix: fix stream crash issue 2022-07-01 10:29:37 +08:00
wangmm0220 e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Haojun Liao 324eecdd99 fix(query): prepare the buffer before assigning result. 2022-06-22 20:24:26 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
dapan1121 1a078d5d56 fix in issue 2022-06-08 18:36:46 +08:00
dapan1121 5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
Xiaoyu Wang 427301c1d1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_constant 2022-05-21 17:08:13 +08:00
dapan1121 ff73213133 constnat value to column 2022-05-20 22:09:19 +08:00
wangmm0220 d48d98f094 fea:add select json logic 2022-05-19 22:10:20 +08:00
slzhou 911cd1fe66 fix: reuse existing udf handles and teardown the handle later 2022-05-14 22:51:13 +08:00
slzhou 4a316eae3f Revert "feat: enhance udf scalar function calls"
This reverts commit e8690dabef.
2022-05-14 17:03:05 +08:00
dapan1121 4f8346ed91 Merge branch 'feature/qnode' of github.com:taosdata/TDengine into feature/qnode 2022-05-14 09:38:00 +08:00
dapan1121 feaf9d0519 fix string to ts issue 2022-05-14 09:37:29 +08:00
slzhou e8690dabef feat: enhance udf scalar function calls 2022-05-13 22:14:53 +08:00
Haojun Liao 3678aa9094
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
2022-05-12 23:49:21 +08:00
dapan1121 64a54c1541 fix bug 2022-05-12 19:57:17 +08:00
dapan 314c15d366 Merge branch 'feature/qnode' of https://github.com/taosdata/TDengine into feature/qnode 2022-05-12 19:19:28 +08:00
dapan 7771023d7b string to timestamp 2022-05-12 18:02:57 +08:00
Haojun Liao a41f6a3479 fix(query): fix the bug that special pseudo column tbname, along with other normal columns in select clause, cause taosd crash. 2022-05-12 17:33:36 +08:00
dapan1121 327b5cdae9 stmt auto create table 2022-05-11 19:02:39 +08:00
shenglian zhou 8f3619ee89 feature(udf): enhance error process 2022-05-09 11:36:46 +08:00
dapan1121 a4d4cd2a84 stmt query 2022-04-29 11:31:39 +08:00
dapan1121 18b6c99e09 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-29 09:20:48 +08:00
dapan1121 92c555f257 stmt query 2022-04-29 09:20:37 +08:00
shenglian-zhou d5ae5fc667
Merge pull request #11897 from taosdata/feature/udf
feature(udf): aggregate function
2022-04-28 14:00:35 +08:00
dapan1121 1850dc0371 stmt query 2022-04-28 11:47:55 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
shenglian zhou 35711ee710 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-27 07:31:36 +08:00
slzhou 26eaaf9070 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-26 17:00:15 +08:00
slzhou 41a213a904 scalar api change 2022-04-26 16:57:08 +08:00
dapan1121 960f885aef Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-26 15:55:11 +08:00
dapan1121 65a7d0f1c2 scalar constant 2022-04-26 15:51:46 +08:00
Ganlin Zhao daea9b4d58 fix(query): fix taosshell crash when arithmetic operation with NULL
concstant

TD-15132
2022-04-26 15:06:20 +08:00
Xiaoyu Wang fc3df94127 fix: some problems of udf and 'create table' 2022-04-25 21:05:50 +08:00
Xiaoyu Wang ba509423fc fix: some problems of udf and 'create table' 2022-04-25 20:35:05 +08:00
Xiaoyu Wang 103418bfc5 fix: some problems of udf and 'create table' 2022-04-25 20:28:14 +08:00
Ganlin Zhao 28855b81b1 fix(query): fix scalar function input is constant return var type value contains illegal characters.
TD-15116
2022-04-25 17:31:29 +08:00
Ganlin Zhao 8c36142a9c fix(query): fix scalar function input is constant return var type value contains illegal characters.
TD-15116
2022-04-25 17:16:47 +08:00
dapan1121 54dd9e3ca4 feature/qnode 2022-04-25 09:32:46 +08:00
dapan bb33139572 feature/qnode 2022-04-24 20:11:34 +08:00
dapan1121 ef0365ebeb feature/qnode 2022-04-24 16:27:09 +08:00
wangmm0220 0fb41733ea refactor: merge from 3.0 2022-04-20 17:08:52 +08:00
wangmm0220 412e2cbb0d refactor: add test casese for json compare logic 2022-04-19 17:52:04 +08:00
Haojun Liao a036d2f3ff fix(query): fix the bug caused by refactor in first/last function implementation. 2022-04-19 13:07:23 +08:00
wangmm0220 b96082fe1b refactor: fix compare logic 2022-04-19 09:46:12 +08:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
Ganlin Zhao 00ae854c78
fix(query): fix time function related bugs (#11604)
* fix(query): fix timediff args cannot be integer values

TD-14798

* fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string

TD-14802
TD-14803

* refactor(query): constant NULL value processing logic

TD-14802
TD-14803

* refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 19:20:08 +08:00
wangmm0220 b7bd654c77 refactor: add compare logic for json value 2022-04-16 21:24:07 +08:00
Haojun Liao 8240efda4c fix[query]: enable filter on nchar type. 2022-04-11 17:03:41 +08:00
Haojun Liao 6af7e1810f Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-09 11:56:45 +08:00