Commit Graph

539 Commits

Author SHA1 Message Date
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
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
Shengliang Guan c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Haojun Liao 5ee4a196de fix(query): update the ut. 2022-07-09 14:01:25 +08:00
Haojun Liao 21742bba09 fix(query): add error code check. 2022-07-09 12:00:48 +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
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00: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
Ganlin Zhao 6251bd7ea9 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 17:18:37 +08:00
Ganlin Zhao 16a0c79ee4 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 16:44:14 +08:00
dapan1121 7f0cc9ca22
Merge pull request #14509 from taosdata/enh/addconverttype
enh: add type convert api
2022-07-04 19:52:35 +08:00
Ganlin Zhao cce9f262aa
Merge pull request #14507 from taosdata/fix/TD-16948
refactor(query): remove redundant param check in function execution context
2022-07-04 18:52:53 +08:00
Ganlin Zhao 6e98552eca fix(query): fix timetruncate/timediff local variable overwrite issue
TD-17032
2022-07-04 17:54:49 +08:00
dapan1121 57836d8bb2 enh: add type convert api 2022-07-04 17:40:20 +08:00
Ganlin Zhao af6a9abfde refactor(query): remove redundant param check on function execution
context

TD-17029
2022-07-04 17:14:22 +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
WANG MINGMING e4a711975d
Merge pull request #14458 from taosdata/feature/TD-13041
fix: erro in json in operator
2022-07-02 17:52:43 +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
Ganlin Zhao 68fab47397 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 16:09:22 +08:00
Ganlin Zhao 35698da9c9 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 15:47:42 +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 5b018f399a
Merge pull request #14418 from taosdata/hotfix/streamcrash
fix: fix stream crash issue
2022-07-01 13:22:20 +08:00
afwerar 4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +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
Ganlin Zhao 4d59cfec76 Merge branch '3.0' into refactor/db_precision 2022-06-29 20:50:06 +08:00
Ganlin Zhao b1670f8b82 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:49:36 +08:00
Ganlin Zhao 4c23223447 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:46:51 +08:00