Commit Graph

1866 Commits

Author SHA1 Message Date
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
shenglian zhou 3f577c5019 fix: show table distributed only works on super table, child table, and normal table 2023-02-02 11:57:22 +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
Haojun Liao 07cf336fa0 refactor: add an array list api. 2023-01-17 09:43:33 +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 94c416eb30 enh(query): opt agg. 2023-01-10 18:48:55 +08:00
Haojun Liao 0b4f1298d7 enh(query): opt agg. 2023-01-10 18:48:20 +08:00
Haojun Liao f67808a227 refactor: do some internal refactor. 2023-01-10 16:43:15 +08:00
Haojun Liao e7d0178634 enh(query): dynamic invoke the intrinsic instruction according to different length for different data type. 2023-01-10 15:48:01 +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
Haojun Liao d208282a2b refactor: do some internal refactor. 2023-01-06 13:17:22 +08:00
Shengliang Guan b9f95b6a12
Merge pull request #19390 from taosdata/merge/mainto3.0_0105
merge from main to 3.0
2023-01-06 08:59:32 +08:00
Shengliang Guan 3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
Ganlin Zhao a2cc08145a fix: fix coverity issues 2023-01-05 14:11:05 +08:00
Ganlin Zhao 183b000240 fix error 2023-01-05 10:18:18 +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
Shengliang Guan 650ea06b69
Merge pull request #19321 from taosdata/feature/3_liaohj
fix(utility): fix the bug in creating auto delete files.
2023-01-03 17:40:48 +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
Ganlin Zhao 5e4b139355 fix assert in tpercentile.c 2023-01-03 15:23:43 +08:00
Ganlin Zhao d454ec970d fix assert in tpercentile.c 2023-01-03 14:40:41 +08:00
Alex Duan f2a1ce128e fix: add numOfVgroups to serial and deserial function 2023-01-03 14:26:15 +08:00
Haojun Liao b8aa4fae8a fix(udf): disable the auto remove for *.so 2023-01-03 14:23:27 +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
Alex Duan 2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
Ganlin Zhao c08ff7dd35 fix assert in tfunctionInt.c 2022-12-30 13:58:38 +08:00
Ganlin Zhao 635f4f9b45 remove assert in tavgfunction.c & tminmax.c 2022-12-30 13:54:08 +08:00
Ganlin Zhao 8a2795b57d fix assert in builtinsimpl.c 2022-12-30 13:10:46 +08:00
Ganlin Zhao 763f702fff fix assert in builtims.c 2022-12-30 10:50:40 +08:00
dapan1121 e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
enhance: remove assert
2022-12-30 09:53:59 +08:00
Ganlin Zhao 73a95d3cda fix some format 2022-12-30 09:32:18 +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
Shengliang Guan 2bbf2f3ab1 Merge branch '3.0' into merge/mainto3.0_1229 2022-12-29 09:36:52 +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
shenglian zhou 5c36d90bc2 fix: free the column info array 2022-12-28 16:18:24 +08:00
Shengliang Guan 78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +08:00
shenglian zhou 2680ebff38 fix: set row for data block 2022-12-28 14:31:12 +08:00
shenglian zhou ad1ba74646 fix: add block data clean up for the udf input data block 2022-12-28 13:52:40 +08:00
shenglian zhou a29dea91a5 fix: covert scalar param to data block 2022-12-28 13:32:42 +08:00
slzhou ceea74ee7a enhance: remove assert 2022-12-27 09:58:22 +08:00
dapan1121 66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
feat(rpc):  return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
dapan1121 a6e7f0f2d5
Merge pull request #18960 from taosdata/fix/TD-20621-3.0
fix(query): avg function support overflow sum value calculate
2022-12-25 15:12:28 +08:00
Alex Duan cd1b87031a fix(query): modify error describe 2022-12-22 10:22:51 +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
Alex Duan df6102f66e fix(query): TSDB_CODE_RPC_VGROUP_NOT_CONNECTED same condition check with TSDB_CODE_RPC_NETWORK_UNAVAIL 2022-12-20 18:14:24 +08:00
Haojun Liao 7059d71e1f fix(query): check for buffer in first/last merge. 2022-12-20 17:31:36 +08:00
Ganlin Zhao 09061bcc57 Merge branch '3.0' into feat/TS-2158 2022-12-19 09:23:32 +08:00
Alex Duan 0a5fd77b17 feat(query): avg function overflow mac build 2022-12-18 19:04:38 +08:00
Alex Duan 1a75e9bb58 feat(query): avg function overflow add big check 2022-12-18 15:15:13 +08:00
Alex Duan 1b8199d98d fix(query): avg function check overflow mac build 2022-12-17 20:38:03 +08:00
Alex Duan ea5bf3d31e fix(query): fix(query): avg check overflow 2022-12-17 17:15:44 +08:00
Alex Duan ba31ce8070 feat(query): avg function check range overflow 2022-12-17 10:46:13 +08:00
Alex Duan 0130950170 fix(query): avg sum operation check range merge two SAvgRes pointer 2022-12-15 15:32:53 +08:00
Alex Duan 1ac428ff61 fix(query): avg sum operation check range build error 2022-12-15 14:54:22 +08:00
Alex Duan e9f7572a54 fix(query): avg sum operation check range 2022-12-15 14:52:53 +08:00
Alex Duan 500ee304a6 fix(query): avg sum over range replace with macro 2022-12-15 12:43:28 +08:00
Alex Duan 74cf776439 fix(query): avg function sum overflow 2022-12-14 21:34:50 +08:00
Alex Duan a4e0bbd34f fix(query): fixed avg function sum over range 2022-12-14 20:30:18 +08:00
Ganlin Zhao 5da2fe9bc5 feat(query): add _isfilled pseudocolumn to indicate data is origin
or filled.
2022-12-14 16:56:10 +08:00
dapan1121 473338cf86
Merge pull request #18929 from taosdata/fix/percentile_crash
fix: fix invalid retrieved buffer page causing crash
2022-12-14 08:52:15 +08:00
dapan1121 d6f6c6495b
Merge pull request #18917 from taosdata/szhou/cenc
fix: udfd pipe close before send response
2022-12-14 08:51:28 +08:00
Shengliang Guan 04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Ganlin Zhao 08375a523d fix: fix invalid retrieved buf page 2022-12-13 15:44:26 +08:00
slzhou c14c1b9ae2 fix: add test case 2022-12-13 15:30:18 +08:00
slzhou 3108e658e6 fix: expand scalar param column data to fill the udf datablock 2022-12-13 14:51:11 +08:00
shenglian zhou bd99fc5ceb fix: expand scalar input number of rows with the max num of rows 2022-12-13 11:00:13 +08:00
shenglian zhou 3aa13025c2 fix: udfd without copy buf again and udfd read eof not log with error 2022-12-12 21:57:52 +08:00
shenglian zhou 190fbe849e fix: udfd pipe can close before sending response 2022-12-12 20:20:24 +08:00
Haojun Liao 8f02297890 refactor: do some internal refactor. 2022-12-12 17:53:04 +08:00
Ganlin Zhao 159088267b fix: fix error in getting pageIdList from group page hash map 2022-12-12 17:23:53 +08:00
shenglian zhou c5abada99e fix: fix gpd error 2022-12-10 11:46:47 +08:00
dapan1121 35fdfad623
Merge pull request #18758 from taosdata/fix/TD-19481
fix(query): fix percentile crash when input has more than 10 million records
2022-12-08 13:44:44 +08:00
Ganlin Zhao fa8cf8686a Merge branch '3.0' into fix/TD-19481 2022-12-08 10:57:39 +08:00
Ganlin Zhao ad69067a01 fix asan stack-scope-after-use errror 2022-12-08 10:57:21 +08:00
Shengliang Guan e505bd50b5
Merge pull request #18727 from taosdata/szhou/fixbugs
fix: add default command line to start udfd when taosd is started directly from command line
2022-12-08 08:54:58 +08:00
shenglian zhou 9789adc439 fix: fix windows compilation error 2022-12-08 07:36:10 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +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
Ganlin Zhao de4571fbf7 Merge branch '3.0' into fix/TD-19481 2022-12-07 14:17:47 +08:00
Ganlin Zhao 387983f6f4 fix(query): fix percentile crash when input has more than 10
million records
2022-12-07 11:44:39 +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
shenglian zhou cf3ec5ad40 fix: add default command line to start udfd when taosd is started directly from command line 2022-12-06 11:42:53 +08:00
dapan1121 79cd86d5ad
Merge pull request #18705 from taosdata/fix/TD-20907
fix:stddev\fisrt\last combine function
2022-12-05 20:15:53 +08:00
Shengliang Guan 71022773eb
Merge pull request #18715 from taosdata/fix/TS-2220-3.0
fix(log): ignore create log error
2022-12-05 19:40:16 +08:00
Alex Duan f8b75e3ac1 fix(log): ignore create log error 2022-12-05 17:54:26 +08:00
54liuyao d7a38aeae9 fix:stddev\fisrt\last combine function 2022-12-05 17:21: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 d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Shengliang Guan 7ba56169a2
Merge pull request #18652 from taosdata/fix/liao_cov
refactor: add function for extract the required buffer during query.
2022-12-03 09:20:46 +08:00
Haojun Liao 5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan 99968ccc4f enh: adjust error code 2022-12-02 16:46:43 +08:00
Shengliang Guan 24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
slzhou 903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Ganlin Zhao 4048988908 fix(query): fix avg calculation error after SIMD optimize
TD-20803
2022-11-30 15:26:52 +08:00
Ganlin Zhao 4ea7d139ba fix(query): fix avg calculation error after SIMD optimize
TD-20803
2022-11-30 14:48:39 +08:00
Xiaoyu Wang cfbcf92c1f Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-30 14:29:34 +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 af30786e4f fix avg function error 2022-11-29 22:47:55 +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
Xiaoyu Wang 37b65c16c8 enh: ins_tables count optimize 2022-11-29 14:59:48 +08:00
Xiaoyu Wang 555f2cb981 merge 3.0 2022-11-29 13:16:54 +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
Haojun Liao 6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +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 1e8dcacea6 fix(query): set null for inf and nan value. 2022-11-27 18:25:20 +08:00
Haojun Liao e29e477b0c fix(query): update api to avoid deadlock. 2022-11-27 15:46:31 +08:00
Haojun Liao 203ea1f9c8 fix(query): fix error 2022-11-27 14:57:44 +08:00
Haojun Liao 31c2aa89ef fix(query): do some internal refactor. 2022-11-27 01:59:49 +08:00
Haojun Liao 965ee9a6c8 fix(query): keep block order in exchange operator. 2022-11-26 15:32:36 +08:00
Haojun Liao 86fda9f3da fix(query): fix error in windows and darwin system. 2022-11-25 23:06:32 +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 969331c49e refactor: do some internal refactor. 2022-11-25 11:14:17 +08:00
Haojun Liao f4f2774100 refactor: do some internal refactor. 2022-11-24 23:23:05 +08:00
Haojun Liao e5e817ae55 other: merge 3.0 2022-11-24 17:24:24 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Haojun Liao 89341bc303 enh(query): support simd in min/max query. 2022-11-24 17:01:37 +08:00
Haojun Liao 0ed2c923ad enh(query): support simd in min/max query. 2022-11-24 17:01:00 +08:00
Haojun Liao d71439260f refactor(query): add simd support for minmax query. 2022-11-24 15:01:25 +08:00
Haojun Liao 611ab8b394 refactor: make sure the memory is aligned to 32 bytes. 2022-11-23 21:52:51 +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
Haojun Liao 1e25eac4c7 refactor: do some internal refactor. 2022-11-20 23:11:12 +08:00
Xiaoyu Wang d00f65a8fe Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-18 15:05:19 +08:00
Haojun Liao ec7ad45b2b fix(query): fix a typo. 2022-11-17 17:37:45 +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
Shengliang Guan 5ae3eeeed9
Merge pull request #18212 from taosdata/fix/TD-20456
fix(query): [ASAN] fix time precision conversion overflow
2022-11-17 13:45:11 +08:00
54liuyao 00937a7fc8 fix:[ASAN] src/builtinsimpl.c:1084:41: runtime error: division by zero 2022-11-17 09:06:22 +08:00
Ganlin Zhao 0b51e68c58 Merge branch '3.0' into fix/TD-20456 2022-11-17 08:50:11 +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
Ganlin Zhao a115ff1299 fix(query): fix time precision convert overflow
TD-20456
2022-11-16 17:25:57 +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
Xiaoyu Wang 6a50e9e271 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-16 10:58:06 +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
Xiaoyu Wang 40c7562470 enh: optimize statement for querying the number of sub tables of the super table 2022-11-15 16:38:51 +08:00
Haojun Liao 8b0b351d39 refactor: do some internal refactor. 2022-11-15 09:59:20 +08:00
Xiaoyu Wang 901c9b8f77 fix: some problems of parser 2022-11-14 16:53:01 +08:00
Haojun Liao 618b4ab881 refactor: do some internal refactor. 2022-11-14 14:15:48 +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
shenglian zhou 532189d662 fix: fix asan error of leaked memory 2022-11-12 19:42:49 +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
Ganlin Zhao eec1b0bfb0 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 16:22:31 +08:00
Ganlin Zhao 1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Haojun Liao ea83ae239e refactor: do some internal refactor. 2022-11-10 18:58:10 +08:00
Haojun Liao 9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Haojun Liao 2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Haojun Liao 3f62f14cee refactor: do some internal refactor. 2022-11-09 16:54:33 +08:00
Haojun Liao fa45cd2ce8 enh(query): unfold the loop. 2022-11-09 15:50:31 +08:00
Haojun Liao 2ee0cf6701 fix(query): fix the string copy error. 2022-11-09 15:19:27 +08:00
Haojun Liao 411371ba48 refactor: do some internal refactor. 2022-11-09 14:16:21 +08:00
Haojun Liao 459bed5f86 enh(query): improve the query perf. 2022-11-09 10:41:53 +08:00
Haojun Liao 0c427b5f5b refactor: do some internal refactor. 2022-11-09 10:39:32 +08:00
Haojun Liao e3aabacf9a fix(query): fix error in min/max functions. 2022-11-09 09:47:21 +08:00
Haojun Liao d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Haojun Liao dc2c419f22 enh(query): optimize the query perf. 2022-11-08 19:01:35 +08:00
Haojun Liao ecf3e2c000 enh(query): optimize the perf. 2022-11-08 18:44:28 +08:00
Haojun Liao 6e1a2b1e54 enh(query): improve the perf. 2022-11-08 17:38:09 +08:00
Haojun Liao f85d66f5ee enh(query): opt query perf. 2022-11-08 16:59:00 +08:00
Haojun Liao b0a54d3fab enh(query): improve the perf. 2022-11-08 14:54:42 +08:00
Haojun Liao 032208e36a enh(query): optimize the query perf. 2022-11-08 14:01:29 +08:00
Haojun Liao 2621dec4ae enh(query): improve the perf. 2022-11-08 12:02:44 +08:00
dapan1121 b5ab7eaf5e
Merge pull request #17891 from taosdata/fix/TD-19906
fix(query): add mode with selectivity rows
2022-11-08 09:36:21 +08:00
dapan1121 888616f321
Merge pull request #17876 from taosdata/fix/TD-20140
fix(query): fix countAlwaysReturnValue param not taking effect for count and hyperloglog
2022-11-07 09:25:15 +08:00
Haojun Liao e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Ganlin Zhao 1204faefb6 fix: fix memory leak 2022-11-04 16:15:37 +08:00
Ganlin Zhao 85748ce8fd Merge branch '3.0' into fix/TD-20140 2022-11-04 09:44:28 +08:00
Ganlin Zhao a0e13e04fe fix(query): add mode with selectivity rows 2022-11-03 18:27:43 +08:00
Ganlin Zhao 0b3a3aff21 fix hll tsCountAlwaysReturnValue not working 2022-11-03 15:01:52 +08:00
dapan1121 4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
Ganlin Zhao 5fffeba2f3 fix(query): fix countAlwaysReturnValue param not taking effect for
count and hyperloglog function

TD-20140
2022-11-03 10:39:53 +08:00
54liuyao 43918a27f9 fix(function):if data is null, apercentile function should return null 2022-11-02 16:37:23 +08:00
Ganlin Zhao 6667f69146 fix address sanitizer divide by zero error
TD-20116
2022-11-02 10:27:00 +08:00
Shengliang Guan c4d59126d7
Merge pull request #17805 from taosdata/szhou/fixbugs
fix: fix address sanitizer error
2022-11-02 09:09:32 +08:00
yihaoDeng f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
dapan1121 8f95861d61
Merge pull request #17793 from taosdata/fix/TD-19891
fix(query): leastsquares handles unsigned types
2022-11-01 15:54:35 +08:00
Shengliang Guan 7a532284e7
Merge pull request #17784 from taosdata/fix/liao_cov
enh(query): improve the aggregate performance.
2022-11-01 15:41:03 +08:00
Shengliang Guan 2791f6260a
Merge pull request #17794 from taosdata/fix/3.0_bugfix_wxy
fix: drop index error
2022-11-01 15:03:21 +08:00
slzhou 1c90e272c3 fix: uv_get_osenv set length only when no buf 2022-11-01 15:00:13 +08:00
slzhou ad8bc4c687 fix: fix address sanitizer error 2022-11-01 14:55:04 +08:00
Haojun Liao b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Shuduo Sang 7a8c2efbc3
fix: add jemalloc as build dependency of taosd, udf and shell (#17785)
* fix: jemalloc compile error

* fix: jemalloc compile error

* fix: add jemalloc as dependency of taosd and udf

Co-authored-by: afwerar <1296468573@qq.com>
2022-11-01 13:44:04 +08:00
Xiaoyu Wang 1b179f65b2 fix: interp _irowts error 2022-11-01 13:34:10 +08:00
slzhou 4356fbc3c5 fix: error of setting ld_library_path 2022-11-01 08:58:52 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
slzhou aa2b54c57c enhance: add configuration for udfd LD_LIBRARY_PATH to taos.cfg 2022-10-31 16:45:39 +08:00
Ganlin Zhao 63aa6f7a47 fix(query): leastsquares handles unsigned types
TD-19891
2022-10-31 15:20:20 +08:00
Hui Li e59b759e04
Merge pull request #17725 from taosdata/test/TD-19911
teat: supplement  muti-branch for testcase histogram.py
2022-10-28 17:47:04 +08:00
chenhaoran 5fc0e2341e test:supplement muti-branch for query fuction testcase 2022-10-28 16:35:13 +08:00
54liuyao 7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +08:00
Hui Li 4ac9c3694f
Merge pull request #17669 from taosdata/fix/coverage_glzhao
fix(query): comment out unused functions for code coverage
2022-10-26 20:49:21 +08:00
Ganlin Zhao 547e7694a8 fix(query): comment out unsed functions for code coverage 2022-10-26 15:06:56 +08:00
Ganlin Zhao c3362223d9 fix(query): comment out unsed functions for code coverage 2022-10-26 13:39:56 +08:00
Hongze Cheng 309bad6b3b
Merge pull request #17624 from taosdata/szhou/fixbugs
fix: set correct var meta length after tDecodeDataBlock
2022-10-26 11:53:25 +08:00
dapan1121 3fa1f535f1
Merge pull request #17609 from taosdata/fix/interpStable
fix: remove interp stable limitation and add test case
2022-10-26 09:59:42 +08:00
slzhou f68f3bcad1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-10-26 09:19:42 +08:00
Ganlin Zhao 28689c508a remove unused code 2022-10-25 16:45:00 +08:00
Ganlin Zhao 3125f3ea26 remove unused code 2022-10-25 16:42:52 +08:00
Ganlin Zhao 7fa93222f4 remove interp unused code 2022-10-25 16:40:56 +08:00
Ganlin Zhao cf60bf98d6 fix: add elapsed partial/merge 2022-10-25 16:37:01 +08:00
slzhou 90ed32c43d fix: fix memory usage error 2022-10-25 15:16:31 +08:00
slzhou c3653e3d13 fix: udfd ctrl pipe functions only udfd is started by taosd 2022-10-25 14:57:53 +08:00
Ganlin Zhao d03058aff8 fix coverity 2022-10-25 12:54:10 +08:00
Ganlin Zhao 3a4dc8f0da Merge branch '3.0' into fix/coverity_glzhao 2022-10-25 09:47:46 +08:00
Ganlin Zhao 585577cef3 fix: coverity issues
CID: 399989
2022-10-24 19:28:36 +08:00
Ganlin Zhao cd0a051157 fix: coverity issues
CID: 399671
2022-10-24 19:16:53 +08:00
Ganlin Zhao 42dfe03e7d fix: coverity issues
CID: 399518
2022-10-24 19:02:33 +08:00
Ganlin Zhao 1935d349d4 fix: coverity issues
CID: 399493
2022-10-24 17:47:12 +08:00
dapan1121 af6a9aeb13 fix: remove interp stable limitation and add test case 2022-10-24 17:46:21 +08:00
Haojun Liao 6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan d82abe5ca4
Merge pull request #17561 from taosdata/szhou/fixbugs
fix: fix coverity scan errors
2022-10-22 08:16:02 +08:00
shenglian zhou 22a2f37fe5 fix: fix coverity errors 2022-10-21 15:50:08 +08:00
wade zhang 88c52d567b
Merge pull request #17548 from taosdata/szhou/fixbugs
fix: get next row from rb tree from last files when backward scaning
2022-10-21 15:04:42 +08:00
shenglian zhou e8123178e3 fix: fix coverity scan issue 2022-10-21 10:20:21 +08:00
Shengliang Guan 67a3c69b5e
Merge pull request #17524 from taosdata/szhou/fixbugs
fix: add udf call and uv synchronization with uv_mutex
2022-10-21 09:07:21 +08:00
Haojun Liao abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +08:00
Shengliang Guan 36467958d4
Merge pull request #17514 from taosdata/fix/TD-19601
fix(query): fix crash if block SMA is set and real data is not loaded.
2022-10-20 16:39:58 +08:00
slzhou ace84638b8 fix: add udf call and uv synchronization with uv_mutex 2022-10-20 15:37:12 +08:00
Ganlin Zhao 4ff9ab7fc2 fix(query): fix crash if block SMA is set and real data is not loaded.
TD-19601
2022-10-20 14:23:30 +08:00
Ganlin Zhao b9d4718c64 fix(query): fix crash if block SMA is set and real data is not loaded.
TD-19601
2022-10-20 14:19:20 +08:00
Shengliang Guan 5a1f2a9c97
Merge pull request #17504 from taosdata/szhou/fixbugs
fix: fix scan coverity issue
2022-10-20 11:06:00 +08:00
slzhou 0ed1d883c3 fix: fix coverity scan issue 2022-10-20 09:53:08 +08:00
Shengliang Guan 097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
Shengliang Guan 308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
Haojun Liao 5dcfaf3bd6 refactor: remove redundant codes. 2022-10-19 18:00:15 +08:00
Benguang Zhao 2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
slzhou 90bdfd8f01 enhance: add log of initialize resident func 2022-10-19 15:20:12 +08:00
slzhou 54803a56a6 enhance: add log of initialize resident func 2022-10-19 15:16:18 +08:00
Haojun Liao f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Shengliang Guan 7cdfade1ae
Merge pull request #17442 from taosdata/fix/TD-19443-V30
fix(query): improve performance for first function x10 quickly
2022-10-19 10:06:55 +08:00
Benguang Zhao 00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Haojun Liao c7c99ae346 fix(query): update last_row callback function. 2022-10-19 09:33:54 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Shengliang Guan 5cd1c12c4b
Merge pull request #17448 from taosdata/fix/TD-19619
fix(query): mode function output behavior if there're multiple highest frequency of occurrence.
2022-10-19 09:06:43 +08:00
Ganlin Zhao 2d1f7354a9 fix null value handling 2022-10-18 19:11:49 +08:00
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
Haojun Liao e4940e82c5 fix(query): update last_row callback function. 2022-10-18 17:54:29 +08:00
Ganlin Zhao 0f5e02b0b4 fix(query): mode function output one random result instead of NULL
if there're multiple highest frequency of occurrence.

TD-19619
2022-10-18 17:52:40 +08:00
Alex Duan 85ec70d099 fix(query): improve performance for first function x10 quickly1 2022-10-18 17:26:51 +08:00
Alex Duan e2637ab6a7 fix(query): improve performance for first function x10 quickly 2022-10-18 17:22:41 +08:00
Xiaoyu Wang 0228caaa0d enh: last cache optimize 2022-10-18 11:38:59 +08:00
Haojun Liao c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Haojun Liao da9df99461 fix(query): opt last query. 2022-10-17 17:59:43 +08:00
Hongze Cheng 329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
Hongze Cheng c4b3da5032 more code format 2022-10-13 14:15:42 +08:00
yihaoDeng 3addb95496 Merge branch 'new' into dd 2022-10-13 12:40:26 +08:00
Hongze Cheng 746da9fd27 make it compile 2022-10-12 13:49:40 +08:00
Hongze Cheng 52bf961622 more code 2022-10-12 11:09:42 +08:00
yihaoDeng 37a0b9c759 support compress 2022-10-11 22:18:44 +08:00
Shengliang Guan f0a7430238
Merge pull request #17263 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-10-10 16:13:27 +08:00
Haojun Liao 68842b9c64 refactor: do some internal refactor. 2022-10-10 14:55:58 +08:00
Shengliang Guan c1ed4da67d
Merge pull request #17231 from taosdata/szhou/fixbugs
fix: fix coverity scan issues
2022-10-09 15:44:44 +08:00
shenglian zhou 9a82f3521b fix: fix coverity scan issues 2022-10-09 10:55:38 +08:00
Ganlin Zhao 16804ed711 fix(query): fix inconsistent max value caused by data conversion
when reading from sma.
2022-10-08 18:48:49 +08:00
Shengliang Guan 3bea98d2ac
Merge pull request #17156 from taosdata/fix/TD-19273
fix(query): fix tbname mismatch with multiple rows output functions
2022-09-29 20:34:50 +08:00
Ganlin Zhao 49ce849aa2 Merge branch '3.0' into fix/TD-19273 2022-09-29 17:03:28 +08:00
Ganlin Zhao 3abf6abad6 fix(query): fix group_key output mismatch with multiple rows output functions
TD-19273
2022-09-29 17:02:16 +08:00
Xiaoyu Wang 73642ac3a2 feat: sql command 'show table tags from table_name' 2022-09-29 16:16:49 +08:00
shenglian zhou 4c00225e9f fix: fix coverity scan issue in tudf.c and udfd.c 2022-09-29 11:26:58 +08:00
Xiaoyu Wang 8caa36299c feat: add the _irowts pseudo column to output the timestamp of the interp 2022-09-27 15:23:24 +08:00
slzhou b880d460ec fix: correct rowindex is used to retrieve selectivity values from source block when first/last function merge 2022-09-26 11:46:19 +08:00
Ganlin Zhao 8f2e385989 Merge branch '3.0' into fix/TD-18385 2022-09-23 17:43:12 +08:00
Ganlin Zhao 3278b2ccaa fix(query): incorrect result for max(float) 2022-09-23 16:38:24 +08:00
Haojun Liao aa62d4430b
Merge pull request #16970 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor about  the filter  and  interp  query.
2022-09-22 17:09:30 +08:00
Shengliang Guan 570730d495
Merge pull request #16998 from taosdata/feature/TD-18820
fix(stream): data block capacity
2022-09-22 16:38:13 +08:00
54liuyao 3a21da6e46 fix(stream): data block capacity and function byte 2022-09-22 15:54:44 +08:00
Xiaoyu Wang 0321b8c088 fix: avg function data scan optimization 2022-09-22 15:08:07 +08:00
Haojun Liao 7ee2449a73 Merge branch '3.0' into feature/3_liaohj 2022-09-22 14:03:17 +08:00
Haojun Liao 33c075542d refactor(query): do some internal refactor. 2022-09-21 10:26:55 +08:00
Minglei Jin 5f4d6e1c99 fix: remove double free msg's pCont 2022-09-20 11:31:25 +08:00
Shengliang Guan 004e9dabd2
Merge pull request #16927 from taosdata/szhou/cenc
fix: add udfd resident funcs that teardown when udfd exits
2022-09-19 22:10:28 +08:00
slzhou 8ed3bf3ef1 feat: add resident funcs to udfd 2022-09-19 17:28:13 +08:00
Ganlin Zhao b08288df48 fix(query): fix invalid read in doModeAdd
TD-19124
2022-09-19 17:07:22 +08:00
slzhou e0445e0698 fix: taos_connect in gpd_init method and taos_close in gpd_destroy method 2022-09-16 09:56:15 +08:00
slzhou d156bff782 enhance: support resident functions 2022-09-15 17:43:54 +08:00
slzhou 817eed740f fix: prototype to verify stream + udf as task framework 2022-09-15 10:01:24 +08:00
dapan1121 cd015bae83 fix: fix stateduration result error 2022-09-14 19:02:26 +08:00
Liu Jicong 3bedc3fa3b
Merge pull request #16836 from taosdata/feature/stream
feat(stream): stream state support tuple
2022-09-14 17:47:47 +08:00
Liu Jicong 4c6a8bbc95 feat(stream): stream state support tuple 2022-09-14 16:50:42 +08:00
Shengliang Guan 59e9140996
Merge pull request #16806 from taosdata/fix/TD-18224
fix(query): twa function report error if input has overlap timestamps
2022-09-14 15:52:20 +08:00
Ganlin Zhao 0a6ec7c0d7 fix(query): restrict max/min function input type not including timestamp
type
2022-09-14 11:17:12 +08:00
Ganlin Zhao 5463159a3d fix twa function input dup timestamps 2022-09-13 18:24:29 +08:00
Ganlin Zhao 6b2bf42f68 fix(query): twa function output NULL if input has overlap timestamps
TD-18224
2022-09-13 18:05:54 +08:00
Ganlin Zhao 0d7e1eb4e0 fix(query): twa function output NULL if input has overlap timestamps
TD-18224
2022-09-13 16:45:40 +08:00
Haojun Liao 26a27261a0
Merge pull request #16764 from taosdata/feature/3_liaohj
fix(query):  add data required flag for avg against super table.
2022-09-09 17:36:21 +08:00
Haojun Liao 717e6706bb fix(query): add data required flag for avg against super table. 2022-09-09 14:26:44 +08:00
dapan1121 582f44c2fd fix: fix statecount result error 2022-09-07 18:52:54 +08:00
slzhou 84f79e8df2 fix: save selectivity value for first/last even column consists of all null values 2022-09-06 15:48:08 +08:00
slzhou 63ba9420f3 fix: change whether uv pipe exists 2022-09-06 13:47:16 +08:00
slzhou 863d2aa1f4 fix: invalid read after teardown udfs and close uv pipe later 2022-09-06 11:32:38 +08:00
Liu Jicong 004a84ac81 fix memory leak 2022-09-02 16:41:32 +08:00
Ganlin Zhao 4f772ee711 Merge branch '3.0' into fix/TD-16780 2022-09-01 11:28:28 +08:00
Ganlin Zhao a34da949bc fix(query): support timestap type in max/min function
TD-16780
2022-08-31 18:57:45 +08:00
Ganlin Zhao c49aa8e1f9 fix(query): support timestap type in max/min function
TD-16780
2022-08-31 18:51:29 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
Xiaoyu Wang 2ccc7471af enh: query get dbcfg optimization 2022-08-31 11:36:59 +08:00
Haojun Liao e5f5d3710d fix(query): set correct value length 2022-08-30 12:48:06 +08:00
Haojun Liao d338e4dc60 fix(query): set correct length value. 2022-08-30 10:38:32 +08:00
Haojun Liao 37618513a6
Merge branch '3.0' into feature/3_liaohj 2022-08-29 22:47:18 +08:00
Haojun Liao ba8b10e27b refactor(query): do some internal refactor. 2022-08-29 18:47:46 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Haojun Liao 653bd2ea6e fix(query): set correct page id list. 2022-08-28 16:26:38 +08:00
Haojun Liao 655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
slzhou c9a7f27e7c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-26 18:51:32 +08:00
Ganlin Zhao 0fbb4d7f9a fix(query): restrict using JSON type as input in string functions
TD-18664
2022-08-26 16:18:21 +08:00
Ganlin Zhao ab85eeaaaa fix(query): restrict using JSON type as input in string functions
TD-18664
2022-08-26 16:15:08 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
slzhou f3890f7421 feat: support udf merge in udfd 2022-08-26 14:27:15 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Ganlin Zhao 4bec769211 fix(query): fix avg.py test cases 2022-08-22 19:28:20 +08:00
Ganlin Zhao cd3897c7fe fix(query): fix avg.py test cases 2022-08-22 19:26:28 +08:00
Ganlin Zhao 09dc2e4e12 fix CI 2022-08-22 18:48:51 +08:00
Ganlin Zhao 6c32df7adf fix(query): fix stream session window out of order data agg function
result error

TD-18287
2022-08-22 17:21:03 +08:00
Haojun Liao 38b30d071e fix(query): fix errors. 2022-08-21 00:02:43 +08:00
Ganlin Zhao afdb0242cc Merge branch '3.0' into fix/TD-18487 2022-08-18 19:28:37 +08:00
Ganlin Zhao df2224988f fix(query): restrict interp input type to numerical type only
TD-18487
2022-08-18 17:02:52 +08:00
Ganlin Zhao 9ef2d73689 fix(query): fix elapsed order by ts desc result inconsist after flush
to disk

TD-18453
2022-08-18 16:06:49 +08:00
Hui Li ca56b8ee03
Merge pull request #16179 from taosdata/fix/TD-17499
fix(query): set proper ltrim/rtrim result schema bytes
2022-08-17 15:33:08 +08:00
Ganlin Zhao cb4a40a7ca fix error 2022-08-17 11:43:14 +08:00
Ganlin Zhao b58402ba3b fix(query): set proper ltrim/rtrim result schema bytes
TD-18431
2022-08-17 11:33:37 +08:00
Ganlin Zhao cca1cacd35 fix(query): set proper ltrim/rtrim result schema bytes
TD-18431
2022-08-17 11:29:55 +08:00
Ganlin Zhao 4c654f8a17 fix(query): set proper ltrim/rtrim result schema bytes
TD-18431
2022-08-17 11:25:32 +08:00
slzhou 3f3c1b9e8d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-16 16:45:42 +08:00
Ganlin Zhao e4f9a41f4d fix(query): fix sample with partition by invalid pageId cause crash
issue

TD-17499
2022-08-16 15:03:20 +08:00
“happyguoxy” 25f5b0435e fix: fix type conversion for max/min function 2022-08-16 14:45:42 +08:00
slzhou 5b54707501 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbug 2022-08-12 14:19:32 +08:00
slzhou 3c27c8b8fd fix: sample/top/bottom is not allowed with fill clause 2022-08-12 10:20:09 +08:00
Xiaoyu Wang 7176bb9198 merge 3.0 2022-08-11 20:30:02 +08:00
Ganlin Zhao 37080a36b8
Merge pull request #15988 from taosdata/fix/TD-18331
fix(query): forbid interp in super table query
2022-08-11 18:15:51 +08:00
54liuyao c10a1adbd3 feat(stream):delete window 2022-08-11 16:33:35 +08:00
Ganlin Zhao c017e4387f fix(query): forbid interp in super table query
TD-18331
2022-08-11 16:17:38 +08:00
Xiaoyu Wang 4f0c6d3aa4 enh: show command optimize 2022-08-11 15:37:26 +08:00
Haojun Liao 2b253fd372
Merge pull request #15955 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-08-11 12:29:27 +08:00
slzhou 9891f78961 fix: can not clear result info when in stream computing 2022-08-11 09:43:03 +08:00
shenglian-zhou d9621d0f09
Merge pull request #15942 from taosdata/szhou/fixbug
fix: return init agg failure when create operators to avoid coredump
2022-08-11 07:54:42 +08:00
Haojun Liao a87692372a refactor: do some internal refactor. 2022-08-10 20:16:04 +08:00
Haojun Liao d8455841e0 refactor: do some internal refactor. 2022-08-10 20:12:32 +08:00
slzhou 668a78a79f fix: fix histogram not setting content when process all null columns 2022-08-10 18:02:43 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Xiaoyu Wang 0829f6611c Merge remote-tracking branch 'origin/feature/3.0_query_optimize' into feature/3.0_query_optimize_wxy 2022-08-09 10:20:32 +08:00
Xiaoyu Wang 7e1917f105 enh: refine the data requirements of the partition physical plan 2022-08-09 09:55:03 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
slzhou e9f79254fb fix: merge spread into output when input spread has result 2022-08-08 15:23:55 +08:00
Xiaoyu Wang 5ae9fdff7a enh: increase explain output, enhance debugging function 2022-08-08 10:00:10 +08:00
shenglian zhou 03aae25b63 fix: function rename and trigger ci test 2022-08-07 06:39:26 +08:00
shenglian zhou 28eda93ab3 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/nullgroup 2022-08-06 21:50:05 +08:00
shenglian zhou 81d3a2c385 fix: last/first must return not null values 2022-08-06 21:39:53 +08:00
slzhou 580b2e587b fix: set selectivity value for the null group 2022-08-06 14:29:12 +08:00
slzhou b2c8d2161f fix: all null value group with all null out 2022-08-06 10:47:15 +08:00