Commit Graph

863 Commits

Author SHA1 Message Date
Ganlin Zhao 0ddb9be3d9 fix assert in sclfunc.c 2023-01-03 15:47:22 +08:00
Ganlin Zhao 263a1a877e fix assert in scalar.c 2023-01-03 15:32:32 +08:00
Ganlin Zhao 8146113835 fix asserts in sclvector.c 2023-01-03 15:27:54 +08:00
Haojun Liao 7eeea8a29c fix(query): fix the invalid access, and do some internal refactor. 2022-12-29 17:56:20 +08:00
Haojun Liao 011c83956b refactor: do some internal refactor. 2022-12-28 19:12:36 +08:00
Haojun Liao c801f3a7f6 Merge branch 'main' into feature/3_liaohj 2022-12-27 17:15:22 +08:00
Haojun Liao 1e69538c37 fix(query): opt filter perf. 2022-12-27 16:55:38 +08:00
dapan1121 05580340d8 fix: invalid node list node issue 2022-12-20 18:25:33 +08:00
dapan1121 b9e3f01c7c fix: empty node in operator node 2022-12-20 18:15:25 +08:00
dapan1121 978d45ffc1 enh: optimize converting timestamp at client side 2022-12-15 16:56:35 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
dapan1121 0ecb0d26f2
Merge pull request #18694 from taosdata/fix/TS-2144
enh(query): add timetruncate function ignore timezone option for 1d
2022-12-05 17:18:18 +08:00
Ganlin Zhao e18da31a5d enh(query): add timetruncate function ignore timezone option for 1d 2022-12-05 12:00:12 +08:00
Shengliang Guan 241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Haojun Liao 658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Shengliang Guan 6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
dapan1121 7bb30150a9 fix: fix memory leak 2022-12-02 14:23:36 +08:00
dapan1121 1fcd99176b fix: filter memory leak cause of same const strings 2022-12-02 10:59:52 +08:00
Haojun Liao f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
Haojun Liao dac930352b enh(query): optimize the perf in compare. 2022-11-29 12:22:04 +08:00
Haojun Liao 5a3e4dc1c8 fix(query): set correct null check function. 2022-11-28 19:48:04 +08:00
Haojun Liao b53957c7bb fix(query): set correct ptr. 2022-11-28 18:57:36 +08:00
Haojun Liao b2b26f0c3c refactor: add an revised function to do compare. 2022-11-28 18:52:14 +08:00
Haojun Liao 90c1e7347f refactor: do some internal refactor. 2022-11-28 18:42:39 +08:00
Haojun Liao 6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +08:00
yihaoDeng 1fc8f273bf fix TD-20751 mem leak 2022-11-25 19:50:57 +08:00
yihaoDeng ef8c68a098 fix TD-20751 mem leak 2022-11-25 19:38:06 +08:00
yihaoDeng c757b26d15 fix mem leak 2022-11-25 15:45:21 +08:00
Ganlin Zhao dff0b3c4bb fix: [ASAN] heap buffer overflow in sclfunc.c 2022-11-23 22:43:11 +08:00
Ganlin Zhao 4f176e325d fix: [ASAN] devive by zero 2022-11-21 18:01:48 +08:00
slzhou 9994a9f2c5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-18 16:24:49 +08:00
slzhou c5cb72291f fix: fix windows compilation error 2022-11-18 16:24:28 +08:00
dapan1121 c2d4d0907d fix: fix asan issue 2022-11-18 11:41:59 +08:00
slzhou 40af2903c1 fix: scalar mnode for in set more than 10 and print only 1000 groups to log in filter mode 2022-11-17 16:06:12 +08:00
Ganlin Zhao cf601b206f fix(query): ASAN heap buffer overflow
TD-20454
2022-11-16 15:00:57 +08:00
Ganlin Zhao aae3475900 fix(query): ASAN heap buffer overflow
TD-20454
2022-11-16 14:36:51 +08:00
dapan1121 21e62f1279 Merge remote-tracking branch 'origin/3.0' into fix/TD-20412 2022-11-15 12:53:22 +08:00
dapan1121 d985cb714f fix: fix asan issues 2022-11-15 11:38:01 +08:00
Xiaoyu Wang cd3722837d Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-11-15 09:44:13 +08:00
Xiaoyu Wang 14b4adc6ce fix: memory leak 2022-11-15 09:39:17 +08:00
dapan1121 d2468c5548 fix: fix asan issues 2022-11-14 14:22:13 +08:00
Ganlin Zhao e0f2a4b5fe Merge branch '3.0' into fix/TD-20277 2022-11-09 16:42:22 +08:00
Ganlin Zhao 652c6388f2 fix: fix valgrind invalid read error 2022-11-09 16:40:17 +08:00
dapan1121 884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
dapan1121 d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
dapan1121 fc73d39add fix: fix compare invalid read issues 2022-11-08 13:27:17 +08:00
Haojun Liao 270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
Haojun Liao 8bf01cdecb fix(query): fix error in unit test. 2022-11-05 00:02:25 +08:00
Haojun Liao 8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Haojun Liao 9c33d10ad9 refactor: remove the unnecessary function. 2022-11-04 09:15:14 +08:00
Haojun Liao abfa8c1d87 fix(query): add api to memset buffer for filtering data. 2022-11-03 22:05:08 +08:00
dapan1121 973a942d0f enh: support get meta only from cache 2022-11-01 11:43:40 +08:00
wangmm0220 d212be8a37 fix:defects in coverity 2022-10-26 17:54:19 +08:00
slzhou bf0a93e8d0 fix: compute udf funcs with all const arguments on server side 2022-10-25 15:24:13 +08:00
Ganlin Zhao b53a51e5e7 fix coverity 2022-10-25 11:11:17 +08:00
Ganlin Zhao 3a4dc8f0da Merge branch '3.0' into fix/coverity_glzhao 2022-10-25 09:47:46 +08:00
Ganlin Zhao c04ade7867 fix: coverity issues
CID: 400109
2022-10-24 19:48:58 +08:00
Ganlin Zhao 23b7150dee fix: coverity issues
CID: 399845
2022-10-24 19:20:10 +08:00
Ganlin Zhao 68e274eba2 fix: coverity issues
CID: 399665
2022-10-24 16:22:35 +08:00
Ganlin Zhao 4780e88ce9 fix: coverity issues
CID: 400330
2022-10-24 15:52:52 +08:00
Ganlin Zhao 120a3ca4b9 fix: coverity issues
CID: 400059
2022-10-24 15:18:27 +08:00
Ganlin Zhao 5728685772 fix: coverity issues
CID: 399907
2022-10-24 14:54:10 +08:00
Ganlin Zhao c12f1b6e6a fix: coverity issues
CID: 399890
2022-10-24 14:51:51 +08:00
Ganlin Zhao 623581a51d fix: coverity issues
CID: 399721
2022-10-24 14:26:13 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao ae625d3199 refactor: remove redundant codes and do some internal refactor. 2022-10-19 22:33:15 +08:00
dapan1121 fe5b898ee5
Merge pull request #17430 from taosdata/fix/TD-19609
fix: fix case when crash issue
2022-10-18 17:37:37 +08:00
dapan1121 c51629e5d3
Merge pull request #17423 from taosdata/fix/TS-1901
fix: fix varchar and bigint compare issue
2022-10-18 13:16:27 +08:00
dapan1121 ab7a00abbe fix: fix case when crash issue 2022-10-18 11:54:30 +08:00
dapan1121 bdb81e2b89 fix: fix varchar and bigint compare issue 2022-10-18 10:44:24 +08:00
Ganlin Zhao 1a3b2fa4f2 fix: coverity issues
CID: 399527
2022-10-17 16:55:27 +08:00
Ganlin Zhao 51dd72ec82 fix: coverity issues
CID: 372918
2022-10-17 15:53:24 +08:00
Ganlin Zhao bcf2cfeed7 fix: coverity issues
CID: 354713
2022-10-17 11:06:02 +08:00
dapan1121 52e0681769 fix: fix merge issue 2022-10-14 09:16:02 +08:00
dapan1121 f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
Hongze Cheng d8e32fb439 more code format 2022-10-13 14:03:23 +08:00
dapan1121 a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
Hongze Cheng 52bf961622 more code 2022-10-12 11:09:42 +08:00
Shengliang Guan 5a8172d6c2
Merge pull request #17298 from taosdata/fix/glzhao_coverity
fix: fix coverity issues
2022-10-11 18:51:52 +08:00
Ganlin Zhao e5c3ff7158 fix: coverity issues
CID: 399950
2022-10-11 17:08:30 +08:00
Ganlin Zhao 936c7b6276 fix: coverity issues
CID: 400042
2022-10-11 16:00:19 +08:00
Ganlin Zhao 37a9143fcb fix: coverity issues
CID: 400170
2022-10-11 14:33:10 +08:00
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
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
Ganlin Zhao 5d9e01c771
Merge pull request #14366 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 20:28:53 +08:00
Ganlin Zhao 5e31c9e8fe refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:07:33 +08:00
Ganlin Zhao 26e6d7ccf7
Merge pull request #14358 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 19:49:04 +08:00
Ganlin Zhao 9e75569870 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 19:48:37 +08:00
Ganlin Zhao 290d5b3f14 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 17:50:33 +08:00
wangmm0220 8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +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
Ganlin Zhao 570b36cb9b
Merge pull request #14232 from taosdata/enh/cast_function
enh(query): enhance cast function to support more types
2022-06-25 14:57:58 +08:00
wangmm0220 7acf012253 fix:memory error 2022-06-25 13:51:43 +08:00
Ganlin Zhao b139daf08b add cast function support ->bool 2022-06-25 13:32:14 +08:00
Ganlin Zhao 3b9953f483 cast function support ->float, ->double 2022-06-25 12:15:17 +08:00
Ganlin Zhao 4a7938e9ff cast support nchar->binary, binary/nchar->timestamp 2022-06-25 12:05:17 +08:00
Ganlin Zhao b1f16fca4e Merge branch '3.0' into enh/cast_function 2022-06-25 10:48:16 +08:00
Ganlin Zhao 4f629ec68b enh(query): enhance cast function to support more types
TD-15473
2022-06-24 16:53:56 +08:00
Ganlin Zhao 4995ce780e
Merge pull request #14181 from taosdata/fix/TD-15216
fix(query): math function invalid input should have null output
2022-06-24 10:33:14 +08:00
Ganlin Zhao 38c61a1a25 fix: pow/log function invalid input handling 2022-06-23 20:58:43 +08:00
Ganlin Zhao 9399f5fd70 fix: ceil/floor/round function invalid input handling 2022-06-23 20:28:51 +08:00
Ganlin Zhao 60d0229d3d fix: abs function handling invalid constant input
TD-15216
2022-06-23 20:18:47 +08:00
Liu Jicong 5cdef06f8c
Merge pull request #14119 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-06-23 20:08:15 +08:00
Ganlin Zhao 1278282a78 fix(query): math function invalid input should have null output
TD-15216
2022-06-23 19:53:54 +08:00
Haojun Liao 800098a795 fix(query): fix syntax error on windows platform. 2022-06-23 18:54:07 +08:00
Ganlin Zhao 7fda5a861e fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 17:32:15 +08:00
Haojun Liao e071649619 test: update the unit test. 2022-06-23 16:34:43 +08:00
shenglian zhou f4ec009a00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:49:10 +08:00
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
wangmm0220 bdef3c34a1 fix:unit test cases 2022-06-23 10:11:08 +08:00
Haojun Liao 324eecdd99 fix(query): prepare the buffer before assigning result. 2022-06-22 20:24:26 +08:00
Haojun Liao 5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +08:00
Haojun Liao a1401db437 fix(query): fix syntax error in unit test. 2022-06-22 17:23:38 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
wangmm0220 db34294bed opt: filter by tag 2022-06-22 16:32:10 +08:00
afwerar 9dff7b93c6 test: fix sim test error 2022-06-21 20:04:55 +08:00
dapan1121 31f3bed347 support index cache 2022-06-11 20:39:16 +08:00
Zhiqiang Wang 8f30cdfe9c
Merge pull request #13635 from taosdata/fix/ZhiqiangWang/TD-16262-add-win32-taosd-case
fix(os): add win32 taosd case
2022-06-09 17:55:15 +08:00
afwerar d95b7a3dc1 fix(os): add win32 taosd case 2022-06-09 11:48:41 +08:00
Ganlin Zhao ea264a6629
Merge pull request #13623 from taosdata/fix/TD-16363
fix(query): fix to_iso8601 function append format in negative timezone or "z"
2022-06-09 11:32:29 +08:00
dapan1121 d4c7154cde Merge branch '3.0' into feature/qnode 2022-06-09 09:10:37 +08:00
dapan1121 ef18a45d99 in data type convert 2022-06-09 09:09:48 +08:00
Ganlin Zhao 51c9a6fac7 fix(query): fix to_iso8601 function append format in "-hh:mm", "-hhmm"
"-hh", "z" when digits exceeds 10 digits
2022-06-08 22:42:10 +08:00
dapan1121 1a078d5d56 fix in issue 2022-06-08 18:36:46 +08:00
wangmm0220 8e4690455d fix:return false in is ture operator if result is null 2022-06-08 14:06:42 +08:00
dapan1121 308f6a5682 Merge branch '3.0' into feature/qnode 2022-06-08 08:57:58 +08:00
dapan1121 f5da576a89 fix in compare issue 2022-06-08 08:57:20 +08:00
wangmm0220 414e82f0b1 fix:return false in is ture operator if result is null 2022-06-07 18:55:13 +08:00
wangmm0220 74bc4cc3f0 fix:return false in is ture operator if result is null 2022-06-07 15:33:37 +08:00
wangmm0220 89b2a64435 fix: fix error in json and add test cases for json 2022-06-06 21:14:24 +08:00
wangmm0220 5d042b674a fix: fix error in json and add test cases for json 2022-06-06 17:57:26 +08:00
wangmm0220 0232394386 fix: fix error in json and add test cases for json 2022-06-06 17:55:14 +08:00
wangmm0220 73dfefdbbc feat: test arith/logic operator for json 2022-06-05 22:31:25 +08:00
wangmm0220 a3a959043e feat: test arith/logic operator for json 2022-06-05 22:25:10 +08:00
wangmm0220 30b8bd1b16 feat: add sort/group logic for json 2022-06-05 21:31:54 +08:00
wangmm0220 020372cc75 feat: add sort/group logic for json 2022-06-05 18:26:16 +08:00
wangmm0220 c9daa37886 feat: add sort/group logic for json 2022-06-05 16:52:28 +08:00
wangmm0220 84fd45c3bb feat: add sort/group logic for json 2022-06-05 14:18:40 +08:00
wangmm0220 9e1cd759f3 feat: add sort/group logic for json 2022-06-05 13:50:31 +08:00
afwerar 490889f8e7 fix(os): win python case error 2022-06-03 16:13:06 +08:00
Ganlin Zhao de167cd46d fix(query): concat/concat_ws function output incorrect when
all param are constant and include NULL value.

TD-16232
TD-16233
2022-06-02 10:17:07 +00:00
Ganlin Zhao adc1030197
Merge pull request #13393 from taosdata/fix/TD-16070
feat(query): add log function support natural logarithm
2022-06-01 22:38:15 +08:00
Ganlin Zhao 2c0f42c2be
Merge pull request #13390 from taosdata/fix/TD-16070
fix(query): concat/concat_ws function null constant handling and param check
2022-06-01 21:54:51 +08:00
Ganlin Zhao 98b40a59a0 feat(query): add log function support natural logrithm
TD-15182
2022-06-01 13:52:01 +00:00
Ganlin Zhao b0bdd6ab95
Merge pull request #13383 from taosdata/fix/TD-16171
enh(query): to_iso8601 function add timezone parameter
2022-06-01 21:17:06 +08:00
Ganlin Zhao 61d2079870 fix(query): concat/concat_ws function null constant handling
TD-16071
2022-06-01 13:09:58 +00:00
Ganlin Zhao e04c09d4ab enh(query): to_iso8601 param handing 2022-06-01 10:32:51 +00:00
Zhiqiang Wang 4e987a50fb
Merge pull request #13376 from taosdata/fix/ZhiqiangWang/TD-15849-remote-fqdn-error
fix(os): remote fqdn error
2022-06-01 17:17:01 +08:00
afwerar 10042e9a5f fix(os): remote fqdn error 2022-06-01 16:20:20 +08:00
Ganlin Zhao 7d3ef94fd8 enh(query): to_iso8601 add server side handling of timezone param
TD-16152
2022-06-01 16:09:23 +08:00
WANG MINGMING 8be47d5695
Merge pull request #13334 from taosdata/feat/tag_refact
feat:add new logic for new tag format
2022-06-01 15:09:43 +08:00
wangmm0220 588c4f5abf Merge branch '3.0' into feat/tag_refact 2022-06-01 13:25:41 +08:00
afwerar 8908407918 fix(os): add log data dir configure 2022-06-01 11:33:15 +08:00
afwerar 7c18d2f453 fix(os): delete two win ctest 2022-06-01 09:30:33 +08:00
wangmm0220 19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
wangmm0220 f6b700ff45 feat:add new logic for new tag format 2022-05-31 22:30:08 +08:00
wangmm0220 d95ec693c0 feat:add new logic for new tag format 2022-05-31 21:05:43 +08:00
wangmm0220 f89ce48e66 feat:add new logic for new tag format 2022-05-31 20:18:02 +08:00