Commit Graph

726 Commits

Author SHA1 Message Date
Haojun Liao bc11b76904 fix(query): set correct y-axis annotation. 2023-12-15 15:26:44 +08:00
Haojun Liao 4758f95708 fix(query): add rows info if blocks exist. 2023-12-15 15:04:55 +08:00
Haojun Liao 38d7ae3cd7 fix(query): add one more row for table rows distributed 2023-12-14 10:36:15 +08:00
Haojun Liao 4daaeb3265 fix(tsdb): add rows in different vgroups; 2023-12-04 18:21:03 +08:00
Haojun Liao 24d9337632 enh(tsdb): extract rows for the given tables in all stt files. 2023-12-04 15:38:24 +08:00
dapan1121 c8aee79e3f fix: apercentile parameter validation and result error 2023-09-27 16:08:06 +08:00
Ganlin Zhao a762437100 fix issue 2023-09-07 09:54:06 +08:00
Ganlin Zhao 60d159731a Revert "fix: fix diff not support unsigned type"
This reverts commit 7ccf959cdc44be7c5eaa0218f84db7699c126bbb.
2023-09-07 09:53:52 +08:00
Ganlin Zhao d74834f81e fix: fix diff not support unsigned type 2023-09-06 14:21:30 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
liuyao 6d40cdb62e adj max combine fucntion 2023-07-26 09:52:07 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
Ganlin Zhao ac8940dcce fix: remove order logic in diff function 2023-07-04 11:31:30 +08:00
Haojun Liao 200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
Ganlin Zhao 56a715b5d5 fix: fix result of first can be 0 occasionally 2023-06-27 14:32:35 +08:00
Haojun Liao 74e0138f72 Merge branch '3.0' into refact/fillhistory 2023-06-15 15:25:00 +08:00
Haojun Liao 55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
dapan1121 6c20a331aa
Merge pull request #21547 from taosdata/fix/TD-24507
fix: fix multiple diffs output less lines if null values involved
2023-06-08 10:37:51 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Ganlin Zhao 26cafdea13 fix: fix multiple diffs ouput less lines if null values present 2023-05-31 11:08:41 +08:00
Haojun Liao 0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Ganlin Zhao 89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
yihaoDeng 9380b22394 merge 3.0 2023-05-18 05:46:38 +00:00
liuyao 502efb3d01 op stream selectivity buff 2023-05-15 16:26:24 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
yihaoDeng 8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
wangjiaming0909 479bb157e0 fix: select _block_dist() from t; set the unit of Size to KB 2023-05-09 15:19:21 +08:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
Benguang Zhao 12f28a4a43 enh: unify error msg for no disk space 2023-04-25 15:39:11 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
Haojun Liao b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
Xiaoyu Wang db8a6ce60b
Merge pull request #20891 from taosdata/FIX/TD-23613-main
test: add flush database in some testcases
2023-04-13 19:03:34 +08:00
Ganlin Zhao c7dd22ad1c fix spread timestmap column reading sma issue 2023-04-13 14:58:13 +08:00
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
dapan1121 24ed3458d9
Merge pull request #20715 from taosdata/fix/TD-23394-a
fix(query): fix group_key is processed in selectivity twice
2023-03-31 09:04:45 +08:00
Ganlin Zhao 7e30f8619c fix(query): fix group_key is processed in selectivity twice 2023-03-30 18:42:22 +08:00
dapan1121 5f68b65675 fix: count elements number type issue 2023-03-29 11:20:37 +08:00
yihaoDeng 8e409f81ae add backend 2023-03-25 06:43:17 +00:00
54liuyao ffa59f69aa fix:add combine function for groupKey 2023-03-23 15:20:45 +08:00
Ganlin Zhao 9e0faad5eb remove unused MACROS 2023-03-21 16:24:20 +08:00
Ganlin Zhao e9fa00185a enh(query): improve mode function page buffer allocation 2023-03-21 16:15:26 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Shengliang Guan 325b3439df
Merge pull request #20290 from taosdata/fix/main_bugfix_wxy
fix: after the last cache is created, modify the schema and query again, resulting in taosd crash
2023-03-07 11:07:07 +08:00
Xiaoyu Wang bc9eb47e04 fix: after the last cache is created, modify the schema and query again, resulting in taosd crash 2023-03-07 10:14:39 +08:00
Ganlin Zhao 561c788674 fix(query): fix apercentile crash in stream due to dereferencing invalid
address
2023-03-06 23:00:07 +08:00
Haojun Liao f1f9e570e6 Merge branch '3.0' into fix/3_coverity 2023-02-28 16:03:28 +08:00
Haojun Liao 4172041ec8 fix(query): fix error in displaying block distribution. 2023-02-28 14:20:14 +08:00
yihaoDeng 5c7959a2b7 fix: invalid vg count 2023-02-27 16:32:47 +08:00
yihaoDeng 6c039c4501 fix: invalid vg count 2023-02-27 16:12:09 +08:00
Xiaoyu Wang 961107d1ca merge main 2023-02-24 16:55:50 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Yihao Deng 02d0894d3e
Merge branch '3.0' into enh/TD-22715 2023-02-23 19:13:43 +08:00
dapan1121 5d5aad9ad7 fix: percentile finalize wrong error code issue 2023-02-23 17:03:21 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng e8527ee9de fix: fix invalid dist count 2023-02-23 14:46:34 +08:00
dapan1121 05c7bc170e
Merge pull request #20098 from taosdata/feat/TS-2671
feat(query): optimize percentile function performance
2023-02-23 10:24:06 +08:00
Haojun Liao 4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
Ganlin Zhao d6ac7de746 change output format to JSON array 2023-02-22 11:44:17 +08:00
Ganlin Zhao 84765ff670 refactor code 2023-02-22 10:47:49 +08:00
Ganlin Zhao 61de3b179a Revert "add stats"
This reverts commit 09ce818223.
2023-02-22 10:04:28 +08:00
Ganlin Zhao 7e01d092a2 optimize repeat scan 2023-02-22 09:25:18 +08:00
yihaoDeng 2d85d0191c fix: add vgroup count 2023-02-21 14:40:10 +08:00
Ganlin Zhao 09ce818223 add stats 2023-02-20 19:35:06 +08:00
Ganlin Zhao 28693ce285 feat(query): allow percentile function to take multiple params
to enhance performance
2023-02-20 14:07:24 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao 8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Haojun Liao 0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Haojun Liao c1ffbb5c1c refactor:do some internal refactor. 2023-01-23 01:11:04 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Haojun Liao 53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
Haojun Liao 78f49db0ad other: merge main. 2023-01-11 13:31:41 +08:00
Haojun Liao 3a848ccb36 fix(query): fix the invalid return value check for percentile function. 2023-01-11 13:19:17 +08:00
Haojun Liao e0dbe22199 fix(query): fix uninitialized memory buffer accessed. 2023-01-11 10:27:23 +08:00
Haojun Liao 1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
54liuyao d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Ganlin Zhao eae188b445 fix: fix no available disk error 2023-01-06 16:19:41 +08:00
Haojun Liao 0966528a2b refactor: do some internal refactor. 2023-01-06 16:05:13 +08:00
Ganlin Zhao 4203a9e184 fix: fix no available disk error 2023-01-06 14:33:48 +08:00
Shengliang Guan 3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
Ganlin Zhao ffd901fa6f fix mem leak 2023-01-05 09:13:57 +08:00
Ganlin Zhao 4a3c892472 Merge branch 'main' into enh/TD-21690 2023-01-04 18:29:03 +08:00
Ganlin Zhao 898955521d fix getBufPage return NULL in tpercentile.c 2023-01-04 18:24:34 +08:00
Ganlin Zhao 929bafa264 fix getBufPage return NULL in tpercentile.c 2023-01-04 18:15:16 +08:00
Ganlin Zhao af0bd9c72b fix loadTupleData 2023-01-04 17:59:30 +08:00
Ganlin Zhao 6411e717df fix updateTupleData 2023-01-04 17:18:14 +08:00
Ganlin Zhao d5c92d3788 fix saveTuplePos 2023-01-04 16:59:55 +08:00
Ganlin Zhao 003002af1d enh(query): handle getBufPage return NULL when no available disk spaces 2023-01-04 16:09:20 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Ganlin Zhao e3b776c7f3 Merge branch 'main' into enh/TD-21206 2023-01-04 09:18:38 +08:00
dapan1121 3e1e6be827
Merge pull request #19262 from taosdata/fix/TS-2350
fix(query): fix floating type handle sma error
2023-01-03 17:21:30 +08:00
Alex Duan f2a1ce128e fix: add numOfVgroups to serial and deserial function 2023-01-03 14:26:15 +08:00
Ganlin Zhao 5b88f0fffb fix assert in thistogram.c 2023-01-03 14:21:01 +08:00
Alex Duan b68e440cc2 feat: support total vgroups count for table 2023-01-03 14:13:51 +08:00
Ganlin Zhao 09a06ba5b2 remove assert from builtinsimpl.c 2023-01-03 11:18:21 +08:00
Ganlin Zhao 8a2795b57d fix assert in builtinsimpl.c 2022-12-30 13:10:46 +08:00
Ganlin Zhao e105f9c0d2 store sma result as float in buf 2022-12-30 09:16:30 +08:00
Ganlin Zhao d8b8ece9c1 fix(query): fix floating type handle sma error 2022-12-29 18:12:29 +08:00
Shengliang Guan 25e9d94f5b
Merge pull request #19244 from taosdata/feature/stream_main
enh: put func state into tdb
2022-12-29 17:17:29 +08:00
Liu Jicong b2f6fcd067 fix mem leak 2022-12-29 15:34:08 +08:00
Liu Jicong 93cf8e0186 fix: selectivity 2022-12-29 14:43:45 +08:00
Liu Jicong 7721353b6b enh: put func state into tdb 2022-12-29 12:39:07 +08:00
dapan1121 4a142018da
Merge pull request #19224 from taosdata/fix/TD-21561
fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3.
2022-12-29 12:28:28 +08:00
Ganlin Zhao 24b2ee0fff fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 17:29:07 +08:00
Alex Duan 8aa615c623 fix(query): show distributed table modify average calc error 2022-12-21 17:34:02 +08:00
Haojun Liao 5c534d77d9 fix(query): check for buffer in first/last merge. 2022-12-20 18:23:15 +08:00
Haojun Liao 7059d71e1f fix(query): check for buffer in first/last merge. 2022-12-20 17:31:36 +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 5b8294122a
Merge pull request #18742 from taosdata/fix/TD-20906
fix: fix count VAR type column error cause of reading incorrect sma results
2022-12-06 18:41:24 +08:00
Ganlin Zhao 2cc58eebd3 fix: fix count VAR type column error cause of reading
incoorect sma results
2022-12-06 00:29:38 -08:00
54liuyao d7a38aeae9 fix:stddev\fisrt\last combine function 2022-12-05 17:21:40 +08:00
dapan1121 45cf5acc32
Merge pull request #18501 from taosdata/fix/TS-2149
fix(query): handle countAlwaysReturnValue behavior
2022-11-30 13:20:51 +08:00
Ganlin Zhao f913fbdaf6 fix errors 2022-11-29 22:14:46 +08:00
Ganlin Zhao 900fe01f0e fix error 2022-11-29 19:32:51 +08:00
Ganlin Zhao 682b3b60ef Merge branch '3.0' into fix/TS-2149 2022-11-28 23:42:16 +08:00
Ganlin Zhao 8c90a98e2d fix last_row 2022-11-28 22:25:17 +08:00
Ganlin Zhao f81ce17df4 fix first last 2022-11-28 22:06:02 +08:00
Ganlin Zhao bab891eef7 fix coverity scan issue CID:402965 2022-11-28 18:14:47 +08:00
Ganlin Zhao 99604f8010 fix: [ASAN] stack buffer overflow 2022-11-28 18:06:34 +08:00
Ganlin Zhao 8fba0b631c Merge branch '3.0' into fix/TS-2149 2022-11-28 01:02:57 +08:00
Ganlin Zhao ab86b6ba47 fix hyperloglog bugs 2022-11-28 00:30:39 +08:00
Haojun Liao b0ee829db2 refactor: do some internal refactor. 2022-11-28 00:27:49 +08:00
Haojun Liao 7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
Ganlin Zhao f122d98bb4 fix: [ASAN] null pointer issue in builtinsimpl.c 2022-11-25 15:29:52 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Ganlin Zhao 0e64614ce8 fix: [ASAN] offset on null pointer error 2022-11-23 12:03:58 +08:00
Haojun Liao 7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
Xiaoyu Wang 4217441cad Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-11-17 16:25:18 +08:00
Xiaoyu Wang 7cda5c2752 enh: fill value supports implicit type conversion 2022-11-17 16:24:56 +08:00
Xiaoyu Wang dc0d3745a7 enh: fill value supports implicit type conversion 2022-11-17 15:48:42 +08:00
54liuyao 00937a7fc8 fix:[ASAN] src/builtinsimpl.c:1084:41: runtime error: division by zero 2022-11-17 09:06:22 +08:00
Shengliang Guan 624cd48b58
Merge pull request #18209 from taosdata/enh/function
enh: check function state
2022-11-16 22:11:11 +08:00
Liu Jicong a0e22ca681 enh: check function state 2022-11-16 17:14:02 +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
Shengliang Guan 4b4f8eac86
Merge pull request #18184 from taosdata/fix/TD-20403
fix(query): fix signed integer overflow in builtinsimpl.c
2022-11-16 09:42:44 +08:00
Ganlin Zhao bf7ad8e85e fix(query): fix signed integer overflow in builtinsimpl.c
TD-20403
2022-11-15 18:51:55 +08:00
dapan1121 49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Haojun Liao c888cbf068 refactor: do some internal refactor. 2022-11-14 14:14:24 +08:00
Shengliang Guan 49245efff4 fix: runtime error (division by zero in builtinsimpl.c) 2022-11-14 10:35:46 +08:00
Cary Xu a7e197d2cb fix(query): sum/min/max/avg query of float type from block sma 2022-11-13 01:54:46 +08:00
Ganlin Zhao 2b53f7be84 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:43:45 +08:00