Commit Graph

1866 Commits

Author SHA1 Message Date
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
Ganlin Zhao e808f67518 Merge branch '3.0' into fix/TD-18115 2022-08-05 10:03:17 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Xiaoyu Wang a068db58a1 fix: the problem that drop stable does not clear the catalog cache 2022-08-04 15:09:56 +08:00
Haojun Liao 3566e8cf46 enh(query): diff support timestamp column type. 2022-08-04 15:02:05 +08:00
Zhiqiang Wang ca1b1d9e18
Merge pull request #15721 from taosdata/fix/ZhiqiangWang/TD-18093-fix-minimalDirGB-invalid-error
os: fix minimalDirGB invalid error
2022-08-04 10:44:33 +08:00
afwerar e76f770fc8 os: fix minimalDirGB invalid error 2022-08-04 10:02:09 +08:00
shenglian-zhou 6b06b2d99d
Merge pull request #15712 from taosdata/szhou/fix/udf
fix: remove udfd allocate buffer trace
2022-08-04 08:39:07 +08:00
Ganlin Zhao 6b6f85e22f fix(query): fix interp function core dump
TD-18115
2022-08-03 21:24:47 +08:00
Ganlin Zhao a646bba398
Merge pull request #15716 from taosdata/fix/TD-18010
fix(query): add interp param check
2022-08-03 20:33:59 +08:00
Haojun Liao c253ea73e1 fix(query): fix the null not returns problem. 2022-08-03 19:17:07 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Ganlin Zhao 3ba46acf0c Merge branch '3.0' into fix/TD-18010 2022-08-03 19:02:07 +08:00
Haojun Liao 2a8da022de refactor: do some internal refactor. 2022-08-03 19:01:06 +08:00
Ganlin Zhao 479367207b fix(query): add interp param check
TD-18113
2022-08-03 18:58:47 +08:00
Xiaoyu Wang 335c8b4d8a fix: timeline function validity check 2022-08-03 18:17:12 +08:00
slzhou 3c91c66a2e fix: remove udfd allocate buffer trace 2022-08-03 17:12:46 +08:00
Haojun Liao 074500805c refactor: set filter function for last_row function. 2022-08-03 15:34:42 +08:00
shenglian zhou f71cb30dd0 fix: clean up udfs is not executed when no udfs 2022-08-03 11:20:48 +08:00
Ganlin Zhao 4601fd0bfd Merge branch '3.0' into fix/TD-18010 2022-08-02 15:37:29 +08:00
Ganlin Zhao b323d508e6 fix(query): fix apercentile crash in stream concurrent insert
TD-18010
2022-08-02 15:34:33 +08:00
Ganlin Zhao 081695668d refactor apercentile logs 2022-08-02 15:33:41 +08:00
Haojun Liao cbed4713af refactor: do some internal refactor. 2022-08-02 14:34:50 +08:00
Haojun Liao be51233c24 refactor: add dynamic prune for last partial. 2022-08-02 14:26:54 +08:00
Ganlin Zhao 30ab3a1bb2
Merge pull request #15647 from taosdata/fix/TD-17799
fix(query): fix apercentile crash when result is 0 rows and used with other non-null result functions
2022-08-01 19:07:56 +08:00
Ganlin Zhao 0dbe26f8bb fix(query): fix apercentile crash when input is all null columns and used
with other non-null result functions

TD-17799
TD-17967
2022-08-01 17:41:27 +08:00
Ganlin Zhao 3ebd338097 enh(query): add selectivity support for mavg functions
TD-18050
2022-08-01 15:41:05 +08:00
Ganlin Zhao 62407b9e9f enh(query): add selectivity support for csum functions
TD-18050
2022-08-01 15:33:38 +08:00
Ganlin Zhao b4fa0d61b4 enh(query): add selectivity support for statecount/stateduration
functions

TD-18050
2022-08-01 15:16:29 +08:00
Ganlin Zhao b0becf1ca9 fix(query): fix n-1 function if select column after function position
result row is incorrect.

fix/TD-18040
2022-08-01 14:15:16 +08:00
Liu Jicong c67f5f10a2
Merge pull request #15595 from taosdata/feature/stream
enh(wal): add lock to guarantee read behaviour
2022-07-30 17:09:20 +08:00
Liu Jicong 6d67b17113 enh(wal): add lock to guarantee read behaviour 2022-07-30 16:35:49 +08:00
Liu Jicong f24f2eff42 merge 3.0 2022-07-30 13:03:12 +08:00
Ganlin Zhao 54f2e4af05 fix(query): fix hyperloglog return inconsistent values
TD-17574
2022-07-30 10:55:33 +08:00
Haojun Liao d29a60499a
Merge pull request #15554 from taosdata/feature/3_liaohj
refactor: do some internal refactor and opt query performance.
2022-07-29 22:34:37 +08:00
Liu Jicong 6c250e75cd fix(stream): forbid histogram in stream 2022-07-29 21:28:18 +08:00
Xiaoyu Wang 31126d5390 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-07-29 20:41:39 +08:00
Haojun Liao 9ee13ca254 other: merge 3.0 2022-07-29 18:03:42 +08:00
Xiaoyu Wang 41b8ef7d93 enh: cumulative functions support mixed use 2022-07-29 18:00:48 +08:00
Ganlin Zhao f280721687
Merge pull request #15541 from taosdata/fix/TD-17009
fix(query): fix apercentile with interval crash issue
2022-07-29 16:55:17 +08:00
Ganlin Zhao 77c24996ba fix(query): fix histogram function with interval result not match
TD-17740
2022-07-29 15:04:40 +08:00
Ganlin Zhao 4768285ca2 fix(query): fix apercentile with interval crash issue
TD-17009
TD-17783
2022-07-29 14:13:09 +08:00
Haojun Liao 78bbfcb4bc refactor: do some internal refactor and opt query performance. 2022-07-29 09:56:03 +08:00
Ganlin Zhao 34f97e44ae
Merge pull request #15497 from taosdata/enh/TD-17659
fix(query): fix max/min/sum null input output behavior to 0 rows
2022-07-28 13:09:43 +08:00
Ganlin Zhao b4a8408030 fix(query): fix max/min/sum null input output behavior to 0 rows 2022-07-28 11:41:05 +08:00
Xiaoyu Wang b12fa7494e enh: add interface for dynamic control data scan 2022-07-27 18:28:54 +08:00
Ganlin Zhao c0091afb01 Merge branch '3.0' into enh/TD-17659 2022-07-26 21:05:34 +08:00
Ganlin Zhao 63d8057ade Merge branch '3.0' into enh/TD-17659 2022-07-26 20:23:13 +08:00
Ganlin Zhao 320525edf9 fix(query): fix max/min with null input 2022-07-26 20:20:39 +08:00
Ganlin Zhao 2dc24b2692 fix(query): fix max/min with null input 2022-07-26 20:14:22 +08:00
Ganlin Zhao 2884b36d5f fix(query): fix sum(null) or sum(nullexpr) result to null 2022-07-26 20:07:28 +08:00
shenglian-zhou fd2a53d174
Merge pull request #15415 from taosdata/szhou/fix/udf
fix: set null when all inputs are null for leastsquare function
2022-07-26 15:57:25 +08:00
Ganlin Zhao af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +08:00
shenglian zhou 662a9997c1 fix: set null when all inputs are null for leastsquare function 2022-07-26 10:39:58 +08:00
Ganlin Zhao 4bc94172aa
Merge pull request #15402 from taosdata/fix/TD-17795
fix(query): fix apercentile merge function percent parameter not reserved cause crash_gen report invalid read
2022-07-26 09:56:50 +08:00
shenglian-zhou b9e7eb9c98
Merge pull request #15399 from taosdata/szhou/fix/udf
feat: add delay to udf1 to simulate actual processing
2022-07-25 22:04:07 +08:00
Ganlin Zhao 7c6fbd1a09 Merge branch '3.0' into fix/TD-17795 2022-07-25 20:44:35 +08:00
Ganlin Zhao 4ad4ffd6f5 fix(query): fix apercentile merge function percent parameter
not reserved cause crash_gen report invalid read

TD-17795
2022-07-25 20:40:58 +08:00
shenglian zhou 4caa6df1a7 fix: add more logs 2022-07-25 19:01:40 +08:00
shenglian zhou 8e7d651768 fix: add delay to udf1 2022-07-25 18:37:29 +08:00
shenglian zhou 086ecf754f fix: add some delay to simulate actual processing 2022-07-25 18:32:50 +08:00
Ganlin Zhao e8da4f429c enh(query): add derivative function selectivity
TD-17659
2022-07-25 16:04:28 +08:00
Haojun Liao 90b3e77698 fix(query):disable merge for project operator in stream processing. 2022-07-25 16:02:49 +08:00
Ganlin Zhao 8537449f90 fix diff function selectivity output index 2022-07-25 15:54:36 +08:00
Ganlin Zhao db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +08:00
Ganlin Zhao 168340da8d
Merge pull request #15318 from taosdata/fix/TD-17734
fix(query): fix apercentile combine crash in stream
2022-07-23 10:12:57 +08:00
Xiaoyu Wang 863ed594c9
Merge pull request #15315 from taosdata/feature/3.0_debug_wxy
fix: plan problem when functions that requires a timeline is used in a partition by query
2022-07-23 09:11:59 +08:00
Ganlin Zhao 2e85180c56 fix(query): fix apercentile combine crash in stream
TD-17734
2022-07-22 20:53:28 +08:00
Xiaoyu Wang 27c71155cc fix: plan problem when functions that requires a timeline is used in a partition by query 2022-07-22 20:29:52 +08:00
shenglian-zhou ebc80183e7
Merge pull request #15302 from taosdata/szhou/fix/udf
fix: table merge scan error and udf uv_write callback error
2022-07-22 19:43:07 +08:00
Xiaoyu Wang b97c440fe6
Merge pull request #15295 from taosdata/feature/3.0_debug_wxy
fix: plan problem when functions that requires a timeline is used directly in a super table
2022-07-22 18:50:27 +08:00
Xiaoyu Wang 1be414354d fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:06:08 +08:00
54liuyao 47cb043f4c feat(stream):optimize update scan range 2022-07-22 16:55:14 +08:00
shenglian zhou 164251c9b8 fix: uv_write callback is called even after the uvTask associated is deleted 2022-07-22 16:46:53 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Xiaoyu Wang dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang 958f3586c0 fix: the problem of data loss when interval is used for outer query 2022-07-22 11:41:18 +08:00
Haojun Liao 72bbc27e8c fix(query): remove the invalid update ops. 2022-07-22 10:50:54 +08:00
Haojun Liao 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
dapan1121 dd640885e6 Merge branch '3.0' into fix/TD-15197 2022-07-21 13:36:46 +08:00
Haojun Liao dae00fd10c
Merge pull request #15221 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor and add some logs.
2022-07-21 11:14:56 +08:00
dapan1121 976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
Haojun Liao 40f5234959 fix(query):update the log. 2022-07-20 19:25:21 +08:00
Haojun Liao abfa6d9162 refactor(query): do some internal refactor and add some logs. 2022-07-20 22:38:19 +08:00
Ganlin Zhao a2dd6f0ce5 fix(query): fix memory leak in histogram param validation
TD-17598
2022-07-20 14:42:03 +08:00
Ganlin Zhao 9fa47f7e67 fix(query): twa function handling null constant or all null column
TD-17562
2022-07-20 13:31:57 +08:00
Ganlin Zhao 26c6db230e fix(query): twa function handling null constant or all null column
TD-17562
2022-07-20 13:22:49 +08:00
dapan1121 d266bfe187 fix: fix stmt memory leak 2022-07-20 08:39:52 +08:00
Ganlin Zhao 6be20e951d fix(query): forbid use null as input for first/last/last_row 2022-07-19 20:21:43 +08:00
Ganlin Zhao 1f75dbb862 Merge branch '3.0' into fix/TD-17511 2022-07-19 19:50:49 +08:00
Xiaoyu Wang 68dd74bcb3
Merge pull request #15117 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show tags from table_name'
2022-07-19 19:49:59 +08:00
Ganlin Zhao d9d6409249 fix(query): forbid use null as input for first/last/last_row
TD-17526
2022-07-19 19:47:46 +08:00
Xiaoyu Wang 6d5d6746f2 feat: sql command 'show tags from table_name' 2022-07-19 18:51:06 +08:00
Ganlin Zhao 78e8d84855 fix(query): change cast function input limit from 1000->4096 bytes
TD-17497
2022-07-19 16:47:24 +08:00
Xiaoyu Wang 1ad25d9e98 feat: sql command 'show tags from table_name' 2022-07-19 16:25:45 +08:00
Xiaoyu Wang 6ab444016b feat: sql command 'show tags from table_name' 2022-07-19 15:35:51 +08:00
Ganlin Zhao ed51c8e329 fix(query): fix mode function processing all null column
TD-17024
2022-07-19 14:54:18 +08:00
Ganlin Zhao ca5e959a1e fix(query): fix derivative nan value
TD-17511
2022-07-19 11:46:17 +08:00
Ganlin Zhao 8eb17a28d2 Merge branch '3.0' into fix/TD-17400 2022-07-18 17:36:56 +08:00
Ganlin Zhao f57ad234dc fix(query): fix function first/last do not support constant input
TD-17400
2022-07-18 16:59:03 +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
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 f645943e5b Merge branch '3.0' into feat/agg_client_api 2022-07-16 17:03:38 +08:00
Ganlin Zhao 810be53374 fix(query): fix state operator check 2022-07-16 17:01:44 +08:00
Ganlin Zhao d3dca0888d
Merge pull request #14989 from taosdata/feat/agg_client_api
feat(query): add diff function scalar version
2022-07-16 16:58:39 +08:00
Ganlin Zhao 3bcd669fcd feat(query): add statecount function scalar version 2022-07-16 16:46:03 +08:00
Haojun Liao a6e61c7757
Merge pull request #14983 from taosdata/feature/3_liaohj
fix(query): disable the optimized implementation of first/last/lastrow function.
2022-07-16 16:17:51 +08:00
Ganlin Zhao 790cecf123 feat(query): add diff function scalar version 2022-07-16 15:04:45 +08:00
Haojun Liao 46c6302a33 other: merge 3.0 2022-07-16 14:47:22 +08:00
Haojun Liao 55407c50e5 fix(query): disable the optimized implementation of first/last/lastrow function. 2022-07-16 14:44:31 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +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 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 624e7b7183 Merge branch '3.0' into feat/agg_client_api 2022-07-16 10:53:57 +08:00
Xiaoyu Wang 2db0b4075f
Merge pull request #14952 from taosdata/feature/3.0_debug_wxy
fix: multi-rows function validity check
2022-07-16 10:11:30 +08:00
Haojun Liao b1826ef736 fix(query): fix a typo 2022-07-15 18:15:06 +08:00
Ganlin Zhao cbd2d8f8a2 fix(query): add spread function scalar version
TD-17344
2022-07-15 17:54:45 +08:00
Haojun Liao 50aa7f9cfa Merge branch '3.0' into feature/3_liaohj 2022-07-15 17:37:47 +08:00
Haojun Liao 3f11c849cd refactor: do some internal refactor. 2022-07-15 17:34:54 +08:00
Ganlin Zhao 85da616ae1 Merge branch '3.0' into feat/agg_client_api 2022-07-15 16:44:46 +08:00
Yihao Deng a5ca6d0ce0
Merge pull request #14942 from taosdata/feat/checkTimeUnSynced
feat: add time unsynced check
2022-07-15 16:36:10 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
Haojun Liao 505e14892e
Merge pull request #14932 from taosdata/feature/3_liaohj
fix(query): handle multi group last_row query.
2022-07-15 15:03:10 +08:00
yihaoDeng baa21c8398 Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-07-15 14:58:00 +08:00
yihaoDeng 35e8ad2811 feat: add time unsynced check 2022-07-15 14:51:20 +08:00
Ganlin Zhao b8a4878b00 fix(query): add leastsquares function scalar version 2022-07-15 14:34:40 +08:00
Haojun Liao 595c7dd4f3 Merge branch '3.0' into feature/3_liaohj 2022-07-15 13:36:14 +08:00
Haojun Liao b9a471624d fix(query): handle multi group last_row query. 2022-07-15 11:19:00 +08:00
Ganlin Zhao 20ce5b32a9 Merge branch '3.0' into feat/agg_client_api 2022-07-15 10:04:28 +08:00
Haojun Liao 159d6c47c8
Merge pull request #14911 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-14 20:36:30 +08:00
Haojun Liao 707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +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 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
Haojun Liao 918df89b4f
Merge branch '3.0' into feature/3_liaohj 2022-07-14 17:56:15 +08:00
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +08:00
Xiaoyu Wang a497ad72fa
Merge pull request #14899 from taosdata/feature/3.0_debug_wxy
fix: some problems of planner
2022-07-14 17:31:50 +08:00
Haojun Liao dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
Haojun Liao b23e08db85
Merge pull request #14893 from taosdata/feature/3_liaohj
fix(query): set correct fill output column index and fix some memory leaks
2022-07-14 14:25:24 +08:00
Haojun Liao 75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
Haojun Liao c638f9d53a
Merge pull request #14889 from taosdata/feature/3_liaohj
fix(query):fix invalid write in sample query processing.
2022-07-14 13:19:45 +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
Haojun Liao fb49fd40cd fix(query):fix invalid write in sample query processing. 2022-07-14 10:44:35 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
Xiaoyu Wang bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
Xiaoyu Wang 570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +08:00
Haojun Liao 083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +08:00
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
Ganlin Zhao dd8f235e97 feat(query): add count function scalar version
TD-17344
2022-07-13 17:47:56 +08:00
Haojun Liao dfb0511e17 Merge branch '3.0' into feature/3_liaohj 2022-07-13 16:41:26 +08:00
Xiaoyu Wang d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Haojun Liao 649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
Xiaoyu Wang f54ad0346e
Merge pull request #14827 from taosdata/feature/3.0_debug_wxy
feat: the 'null' value for the user is of type 'varchar(0)'
2022-07-13 11:28:00 +08:00
Haojun Liao 2c1efc3963 other: merge 3.0 2022-07-12 21:10:10 +08:00
Haojun Liao 6f2ac5ba72 fix(query): always generated results for last_row query if rows exists. 2022-07-12 21:07:12 +08:00
Hongze Cheng a67c8560a0
Merge pull request #14787 from taosdata/feat/row_refact
refact: row format
2022-07-12 20:45:02 +08:00
Hongze Cheng fefa18c0ec Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 11:57:02 +00:00
Ganlin Zhao c237f7f26b Merge branch '3.0' into fix/TD-17040 2022-07-12 19:48:29 +08:00
Ganlin Zhao ab31bdce35 fix(query): fix invalid read for setSelectivity
TD-17040
2022-07-12 19:44:04 +08:00
Xiaoyu Wang 759bc7c434 feat: the 'null' value for the user is of type 'varchar(0)' 2022-07-12 16:51:37 +08:00
Haojun Liao 3ffc4e0dfd
Merge pull request #14820 from taosdata/feature/3_liaohj
fix(query): set correct number of result rows for taos_fetch_raw_block_a
2022-07-12 16:23:31 +08:00
Haojun Liao 24090f0fc3 refactor: do some internal refactor. 2022-07-12 15:30:38 +08:00
Ganlin Zhao fdf878c3e8 enh(query): agg function adoption for MIA operator
TD-17254
2022-07-12 14:31:16 +08:00
Ganlin Zhao 66f2835af1 enh(query): hyperloglog function adoption for MIA operator
TD-17254
2022-07-12 13:55:12 +08:00
Ganlin Zhao ba7d72c752 enh(query): first/last function adoption for MIA operator
TD-17254
2022-07-12 13:41:21 +08:00
Ganlin Zhao 7f875b5120 enh(query): elapsed function adoption for MIA operator
TD-17254
2022-07-12 11:38:28 +08:00
Ganlin Zhao ec4874f6b6 enh(query): spread function adoption for MIA operator
TD-17254
2022-07-12 11:30:14 +08:00
Ganlin Zhao 884b35928a enh(query): apercentile function adoption for MIA operator
TD-17254
2022-07-12 11:23:54 +08:00
Ganlin Zhao 487f1e0f52 enh(query): avg function adoption for MIA operator
TD-17254
2022-07-12 10:55:51 +08:00
Hongze Cheng 99702ff4ee Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 02:16:35 +00:00
Ganlin Zhao 7069380a29
Merge pull request #14782 from taosdata/fix/TD-17021
fix(query): histogram function interval query for super table missed some child table records.
2022-07-12 10:11:37 +08:00
Haojun Liao 76e0ed8966 fix(query): add parameter check. 2022-07-11 21:01:43 +08:00
Hongze Cheng 9d0563df3e more row refact 2022-07-11 12:54:44 +00:00
Ganlin Zhao b9795fab95 fix(query): histogram function interval query for super table
missed some child table records.

TD-17021
2022-07-11 19:49:48 +08:00
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang 5708d497ce fix: syntax issue with '(select ... limit) statement' 2022-07-11 10:07:11 +08:00
Xiaoyu Wang 5f0005a7b7 merge 3.0 2022-07-10 17:47:31 +08:00
Xiaoyu Wang a64a0320a0 fix: some problem of parser and planner 2022-07-10 15:21:16 +08:00
Haojun Liao 69e9a2ad5c
Merge branch '3.0' into feature/3_liaohj 2022-07-10 14:46:53 +08:00
Haojun Liao 3ee9d160d9 fix(query): set correct stddev merge input rows. 2022-07-10 11:02:54 +08:00
WANG MINGMING 30b1af3feb
Merge pull request #14700 from taosdata/feature/TD-13041
feat:write meta from tmq to taosd
2022-07-10 10:22:51 +08:00
wangmm0220 6b46423a97 feat:write meta from tmq to taosd 2022-07-08 18:37:47 +08:00
Shengliang Guan fa77494a72 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 16:58:51 +08:00
Shengliang Guan dca93b18cc refactor: adjust logs 2022-07-08 16:57:54 +08:00
Haojun Liao 1711d646c1
Merge pull request #14671 from taosdata/feature/3_liaohj
enh(query): add block sma for int type column data.
2022-07-08 16:23:13 +08:00
Shengliang Guan 6e12d8e707 refactor: adjust log 2022-07-08 15:20:15 +08:00
Haojun Liao 211985f03e refactor: do some internal refactor. 2022-07-07 17:23:54 +08:00
Haojun Liao 557873c1bc other: merge 3.0 2022-07-07 16:50:00 +08:00
Haojun Liao d9e5172357 fix(query): set the correct sma data 2022-07-07 15:32:56 +08:00
Zhiqiang Wang ac08c6eaa5
Merge pull request #14621 from taosdata/fix/ZhiqiangWang/TD-17006-fix-mac-ctest-error
test: fix Mac test error
2022-07-07 10:42:58 +08:00
afwerar 98641a8ff5 test: fix Mac test error 2022-07-06 20:47:38 +08:00
dapan1121 82dbf54719 Merge branch 'fix/dnode' of github.com:taosdata/TDengine into fix/dnode 2022-07-06 20:34:07 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
Ganlin Zhao fee4d3c2d3 Merge branch '3.0' into fix/TD-16322 2022-07-06 13:50:26 +08:00
Ganlin Zhao 27300117d0 fix(query): fix substr parameter check
TD-16322
2022-07-06 13:49:25 +08:00
Haojun Liao 29949a965b other: merge 3.0. 2022-07-06 13:46:24 +08:00
Haojun Liao ddb71ed095 refactor: do some internal refactor. 2022-07-06 13:33:21 +08:00
Ganlin Zhao 453f48797c
Merge pull request #14579 from taosdata/fix/TD-16994
fix(query): top/bottom parameter check failure on int type
2022-07-06 13:10:51 +08:00
Ganlin Zhao 9355392c80
Merge pull request #14537 from taosdata/fix/TD-16877
fix(query): stddev function support unsigned data types
2022-07-06 10:14:23 +08:00
Ganlin Zhao 144df87ac6 fix(query): top/bottom parameter check failure on int type
TD-16994
2022-07-06 09:59:45 +08:00
Minglei Jin fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Ganlin Zhao cc89370f93 Merge branch '3.0' into fix/TD-17012 2022-07-05 19:59:36 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
Xiaoyu Wang cf9a6deaa5
Merge pull request #14543 from taosdata/feature/3.0_debug_wxy
fix: execution plan problem in the mode of using qnode as much as possible
2022-07-05 18:48:02 +08:00
Xiaoyu Wang 5b14444ca2 fix: a problem of unique function with ts 2022-07-05 18:00:07 +08:00
Ganlin Zhao 278339bdc6 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 15:38:29 +08:00
Ganlin Zhao e6230baf70 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 15:35:24 +08:00
slzhou 7088166e98 fix: fix memory leak when uv_loop_close 2022-07-05 14:02:33 +08:00
Ganlin Zhao 085ef7da87 fix(query): stddev function support unsigned data types 2022-07-05 11:23:47 +08:00
Ganlin Zhao f200c03b52 fix(query): stddev function support unsigned data types 2022-07-05 11:19:25 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Ganlin Zhao 1e7d94c291 fix(query): avg function support unsigned data type
TD-16877
2022-07-04 20:39:20 +08:00
Ganlin Zhao 9f529b7d3b fix(query): avg function support unsigned data type
TD-16877
2022-07-04 20:34:46 +08:00
Ganlin Zhao 09c6fd9c09
Merge pull request #14498 from taosdata/fix/TD-16972
fix(query): add histogram function parameter check
2022-07-04 17:23:29 +08:00
Ganlin Zhao 22d8c5e9ab fix(query): disable histogram to be used with indefinite rows function
in projection

TD-16948
2022-07-04 15:26:44 +08:00
Ganlin Zhao a7e222ff92 fix(query): histogram function add param check for distribution 2022-07-04 14:57:20 +08:00
Ganlin Zhao 684621159a extend error msg buffer size 2022-07-04 14:46:58 +08:00
Ganlin Zhao 89e4be84fe fix(query): add histogram function parameter check
TD-16972
2022-07-04 14:40:12 +08:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00: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 7a588bd16f Merge branch '3.0' into fix/TD-15257 2022-07-02 11:20:04 +08:00
Ganlin Zhao f44e5310da Merge branch '3.0' into fix/TD-15257 2022-07-02 11:18:50 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
Xiaoyu Wang d1eef6880b fix: csum/diff/mavg support subquery 2022-07-01 19:59:28 +08:00
Ganlin Zhao e8bff44bbb Merge branch '3.0' into fix/TD-16969 2022-07-01 18:08:39 +08:00
Ganlin Zhao 41aff1d1f6 fix(query): normalized parameter of histogram function can only be 1/0
TD-16969
2022-07-01 18:05:34 +08:00
Ganlin Zhao 9c2af3dd96 Merge branch '3.0' into fix/TD-15257 2022-07-01 17:23:59 +08:00
Xiaoyu Wang ec7bfd9eba fix: csum/diff/mavg support subquery 2022-07-01 17:17:49 +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
Ganlin Zhao 55b8271554 fix crash 2022-07-01 16:34:07 +08:00
Ganlin Zhao a239337f5a fix(quer): fix time unit parameter check
TD-15257
2022-07-01 15:54:03 +08:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Ganlin Zhao 1f88ea5597 fix(quer): fix time unit parameter check
TD-15257
2022-07-01 15:46:35 +08:00
Xiaoyu Wang 129c9251bd fix: csum/diff/mavg support subquery 2022-07-01 15:01:37 +08:00
Ganlin Zhao f9d250781b fix(quer): fix time unit parameter check
TD-15257
2022-07-01 14:12:01 +08:00
Xiaoyu Wang e235c9830d merge 3.0 2022-07-01 13:35:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Zhiqiang Wang 0dc6aa2972
Merge pull request #14421 from taosdata/fix/ZhiqiangWang/TD-16357-replace-win-qsort-func
os: replace win qsort func
2022-06-30 21:58:58 -07:00
afwerar 4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +08:00
Ganlin Zhao 45b47b7a2b
Merge pull request #14399 from taosdata/enh/last_row_function
feat(query): add last_row function without cache
2022-07-01 11:28:43 +08:00
dapan1121 068924cc62
Merge pull request #14385 from taosdata/feature/queryredirect
feat: support query redirect
2022-06-30 18:03:17 +08:00
Ganlin Zhao 0692ab4c5e enh(query): add last_row selectivity 2022-06-30 17:55:54 +08:00
Ganlin Zhao e38e23a3ec fix error 2022-06-30 17:45:55 +08:00
Ganlin Zhao 1dd89be98b enh(query): add last_row function without cache
TD-16927
2022-06-30 17:39:20 +08:00
Ganlin Zhao 0b9358583c Merge branch '3.0' into enh/last_row_function 2022-06-30 17:33:07 +08:00
Ganlin Zhao 860bf88f31 feat(query): add last_row function without cache
TD-16927
2022-06-30 17:20:04 +08:00
wangmm0220 e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
Ganlin Zhao 5ecc0d2ba8
Merge pull request #14382 from taosdata/refactor/db_precision
fix(query): support irate function for ms/ns precision db
2022-06-30 15:55:06 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
Ganlin Zhao ee47df9c2a fix(query): support irate function for ms/ns precision db 2022-06-30 13:46:28 +08:00
Ganlin Zhao 23a55dc9e4
Merge pull request #14375 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-30 12:32:15 +08:00
Ganlin Zhao 5d694bc5d7 fix translate function for now/today 2022-06-30 11:45:11 +08:00
Ganlin Zhao 63d799feeb refactor(query): set stateduration function default time unit as db
precision
2022-06-30 11:32:00 +08:00
Xiaoyu Wang 99563fc136
Merge pull request #14376 from taosdata/feature/3.0_debug_wxy
feat: the last_row function supports all scenes
2022-06-30 11:28:53 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +08:00
Ganlin Zhao a2bdaf8a93 Merge branch '3.0' into refactor/db_precision 2022-06-30 09:58:59 +08:00
Ganlin Zhao f324a50b2e
Merge pull request #14369 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-30 09:56:47 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
Ganlin Zhao 4c23223447 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:46:51 +08:00
wangmm0220 06552626e0 fix:disable some json test cases 2022-06-29 20:15:49 +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 9e75569870 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 19:48:37 +08:00
wangmm0220 3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +08:00
wangmm0220 665e1ddde8 fix:add switch for buffer page debug log 2022-06-29 18:11:28 +08:00
wangmm0220 95f5d7695d fix:core dump in top/bottom with group by tag if tag is big size and flush/get from disk with page buffer & fix _group_by key function heap overflow 2022-06-29 18:05:09 +08:00
dapan1121 53efe75146 feat: query redirect 2022-06-29 17:56:35 +08:00
Ganlin Zhao 290d5b3f14 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 17:50:33 +08:00
Xiaoyu Wang c2822a6449
Merge pull request #14347 from taosdata/feature/3.0_wxy
feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()'
2022-06-29 15:45:19 +08:00
wangmm0220 873546bee5 fix:add log 2022-06-29 15:03:17 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 6d8fd7e506 feat: query redirect 2022-06-29 10:51:22 +08:00
Ganlin Zhao e9fba684de fix mem leak 2022-06-29 10:17:30 +08:00
Haojun Liao 5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
Ganlin Zhao c3d26dc73e feat(query): enable selectivity with first/last for stable 2022-06-28 20:46:45 +08:00
Ganlin Zhao d91443ce71 Merge branch '3.0' into enh/first_last_select 2022-06-28 16:47:27 +08:00
Ganlin Zhao 9ca819aa69 enh(query): last function support selectivity 2022-06-28 16:44:16 +08:00
Ganlin Zhao 0ea8f0fbc6 enh(query): fisrt function support selectivity 2022-06-28 15:14:57 +08:00
Xiaoyu Wang 1f47241fc9 merge 3.0 2022-06-28 13:48:13 +08:00
Ganlin Zhao 75da5ec070
Merge pull request #14309 from taosdata/feat/mode_function
feat(query): support mode function
2022-06-28 13:22:50 +08:00
shenglian-zhou 344fa6ea97
Merge pull request #14314 from taosdata/szhou/udf/udf-outside-tdengine
feat: udf can be compiled outside TDengine
2022-06-28 12:36:24 +08:00