Commit Graph

681 Commits

Author SHA1 Message Date
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 af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +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
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 db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +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 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +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 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 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 e37bdbd5c9 feat(query): add histogram function scalar version
TD-17344
2022-07-18 13:37:18 +08:00
Ganlin Zhao 107cb15dbd feat(query): add stateduration function scalar version 2022-07-17 22:52:40 +08:00
Ganlin Zhao 810be53374 fix(query): fix state operator check 2022-07-16 17:01:44 +08:00
Ganlin Zhao 3bcd669fcd feat(query): add statecount function scalar version 2022-07-16 16:46:03 +08:00
Ganlin Zhao 790cecf123 feat(query): add diff function scalar version 2022-07-16 15:04:45 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +08:00
Ganlin Zhao 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
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
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
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 b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +08:00
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +08:00
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
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
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
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
Xiaoyu Wang 759bc7c434 feat: the 'null' value for the user is of type 'varchar(0)' 2022-07-12 16:51:37 +08: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
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
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 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 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
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +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
Ganlin Zhao 0692ab4c5e enh(query): add last_row selectivity 2022-06-30 17:55:54 +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
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
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
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
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
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
Haojun Liao 5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +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
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
wangmm0220 e2f4a2a03c Merge branch 'feature/TD-13041' of github.com:taosdata/TDengine into feature/TD-13041 2022-06-27 21:21:22 +08:00
wangmm0220 b6b4455689 fix:error in group by tag 2022-06-27 21:21:08 +08:00
Ganlin Zhao f9e80a8e2b fix(query): add mode function 2022-06-27 19:41:13 +08:00
Ganlin Zhao 515109088f feat(query): support mode function 2022-06-27 15:08:13 +08:00
Ganlin Zhao 570b36cb9b
Merge pull request #14232 from taosdata/enh/cast_function
enh(query): enhance cast function to support more types
2022-06-25 14:57:58 +08:00
Ganlin Zhao b1f16fca4e Merge branch '3.0' into enh/cast_function 2022-06-25 10:48:16 +08:00
Xiaoyu Wang b857d390e7 merge 3.0 2022-06-24 21:13:11 +08:00
Xiaoyu Wang 853f1df3ab feat: support partition by expression and aggregate function output together 2022-06-24 21:07:12 +08:00
Ganlin Zhao 5c3fae340e add NULL logic for _group_key 2022-06-24 20:26:46 +08:00
Ganlin Zhao f8bb36ce2c enh(query): add _group_key function for partion by
TD-16805
2022-06-24 20:08:07 +08:00
Ganlin Zhao 4f629ec68b enh(query): enhance cast function to support more types
TD-15473
2022-06-24 16:53:56 +08:00
Xiaoyu Wang 096c292d78
Merge pull request #14179 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show consumers' and 'show subscriptions'
2022-06-24 12:51:21 +08:00
Ganlin Zhao 4995ce780e
Merge pull request #14181 from taosdata/fix/TD-15216
fix(query): math function invalid input should have null output
2022-06-24 10:33:14 +08:00
Ganlin Zhao 38c61a1a25 fix: pow/log function invalid input handling 2022-06-23 20:58:43 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Ganlin Zhao 7fda5a861e fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 17:32:15 +08:00
Ganlin Zhao b556d1fa62 fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 16:37:36 +08:00
Ganlin Zhao d2059e8079 feat(query): add irate function 2022-06-22 14:42:05 +08:00
Haojun Liao a2cec0e488
Merge pull request #14004 from taosdata/feature/3_liaohj
feature(query): support show table block distribution.
2022-06-20 15:13:10 +08:00
Ganlin Zhao 02cb6dc412 refactor(query): top/bot function refactor 2022-06-20 13:22:00 +08:00
Haojun Liao 659e429b87 feature(query): support show table block distribution. 2022-06-20 12:54:46 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
Xiaoyu Wang 7db6081c72 feat: the function manager adds an interface for manually configuring the parameters of the merge function 2022-06-19 10:06:46 +08:00
Xiaoyu Wang 04e9996db6 feat: the function manager adds an interface for manually configuring the parameters of the merge function 2022-06-18 20:52:42 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +08:00
Xiaoyu Wang f350ade453 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 19:45:09 +08:00
Xiaoyu Wang e224d40480 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 16:58:55 +08:00
Haojun Liao efd28728df
Merge pull request #13779 from taosdata/feature/3_liaohj
enh(query): add derivative function.
2022-06-15 22:35:30 +08:00
Haojun Liao 771065952e other: merge 3.0 2022-06-15 16:32:28 +08:00
Liu Jicong 8eb08fa0d4 feat(stream): trigger mode add max delay 2022-06-15 16:11:20 +08:00
Liu Jicong e71023e593
Merge pull request #13819 from taosdata/feature/stream
enh(stream): forbid indefinite row functions for streams
2022-06-14 17:41:33 +08:00
Liu Jicong 1248b5fbb3 enh(stream): forbid indefinite row functions for streams 2022-06-14 17:11:41 +08:00
Ganlin Zhao 7ed7fd0fd6 enable stddev splitting 2022-06-14 17:00:32 +08:00
Ganlin Zhao cd94eabc73 add stddev function translate partial/merge 2022-06-14 16:42:05 +08:00
Ganlin Zhao 4ccbc4d85f enable avg function partial/merge 2022-06-14 15:34:55 +08:00
Ganlin Zhao 4113472e89 add avg function translate partial/merge 2022-06-14 15:00:28 +08:00
Haojun Liao 5603f4a1fb enh(query): add derivative function. 2022-06-14 14:46:09 +08:00
Haojun Liao 531b85ce22 enh(query): add interp function. 2022-06-14 11:54:13 +08:00
Ganlin Zhao 6f27ee975e enable last splitting 2022-06-14 11:04:36 +08:00
Ganlin Zhao 589b30422f add last function splitting 2022-06-14 10:51:00 +08:00
Ganlin Zhao 9fa641a8b0 Merge branch '3.0' into enh/first_last_split 2022-06-14 10:50:50 +08:00
Ganlin Zhao 763e8bd6ae enable first function split 2022-06-13 21:17:55 +08:00
Xiaoyu Wang b3bd98ed58 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-06-13 21:03:38 +08:00
Ganlin Zhao 45ef3db78a add first function partial/merge 2022-06-13 20:53:42 +08:00
Xiaoyu Wang f080f321dd merge 3.0 2022-06-13 20:06:29 +08:00
Haojun Liao 4b9139c793
Merge branch '3.0' into feature/3_liaohj 2022-06-13 19:35:27 +08:00
Haojun Liao 49fd380a69 enh(query): add derivative function. 2022-06-13 19:22:28 +08:00
Ganlin Zhao 6d95262688 enh(query): add first/last function distributed implementation 2022-06-13 19:11:28 +08:00
Xiaoyu Wang 8ed69d2195 merge 3.0 2022-06-13 19:00:09 +08:00
Xiaoyu Wang a5ce5192f2 merge 3.0 2022-06-13 18:37:25 +08:00
Xiaoyu Wang 3954edb366 feat: avg function rewrite 2022-06-13 18:36:23 +08:00
Ganlin Zhao 05eb30489d fix(query): disable elapsed function split 2022-06-13 17:11:10 +08:00
Ganlin Zhao b4c3e55c4d Merge branch '3.0' into enh/top_bot_split 2022-06-13 16:18:39 +08:00
Xiaoyu Wang 1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
Ganlin Zhao 4036d9714e add bottom function distribution splitting 2022-06-13 13:38:21 +08:00
Haojun Liao eee5408d25 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-06-11 19:28:44 +08:00
Haojun Liao d0dd451494 refactor: do some internal refactor of sample function. 2022-06-12 15:25:37 +08:00
Ganlin Zhao b342561535 Merge branch '3.0' into enh/top_bot_split 2022-06-11 19:25:43 +08:00
Ganlin Zhao b53c65ea27 disable selectivity function for top split for now 2022-06-11 19:22:57 +08:00
Xiaoyu Wang 67baa48961
Merge pull request #13720 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-06-11 17:16:47 +08:00
Ganlin Zhao b9cc1e6d09 add top getenv function for merge function 2022-06-11 16:39:26 +08:00
Ganlin Zhao 40f6fad49f fix bug 2022-06-11 16:21:45 +08:00
Ganlin Zhao 6473c85e13 fix bugs 2022-06-11 16:14:08 +08:00
Ganlin Zhao e9a8217f97 fix getTopBotInfoSize issue 2022-06-11 15:44:55 +08:00
Xiaoyu Wang e17396be9c fix: some problems of parser 2022-06-11 15:44:49 +08:00
Ganlin Zhao 56705a995f enable top function split 2022-06-11 15:29:26 +08:00
Ganlin Zhao 4c29b82626 refactor 2022-06-11 15:18:13 +08:00
Ganlin Zhao 546f8d892f Merge branch '3.0' into enh/top_bot_split 2022-06-11 11:11:37 +08:00
54liuyao ee5517d5ee feat(stream): combine function spread\elapsed\histogram\hll 2022-06-11 10:28:44 +08:00
Ganlin Zhao 741d0c5c69 support merge function resType same as original input type 2022-06-10 21:10:55 +08:00
Ganlin Zhao 40f5ff71f8 add top/bot splitting 2022-06-10 18:32:34 +08:00
Ganlin Zhao 220b9eb558
Merge pull request #13671 from taosdata/fix/timezone_minorfix
fix(query): timezone check minor fix
2022-06-10 17:44:37 +08:00
Haojun Liao 24cca6cbcd Merge branch '3.0' into feature/3_liaohj 2022-06-10 11:28:10 +08:00
Haojun Liao 85d4ee6031 refactor: do some internal refactor. 2022-06-10 10:29:53 +08:00
Ganlin Zhao e46783954d fix(query): timezone check minor fix 2022-06-10 10:18:31 +08:00
Haojun Liao c55aae2c0c enh(query): block distribution query is supported. 2022-06-10 09:51:57 +08:00
Ganlin Zhao 134ad9fa52 Merge branch '3.0' into enh/elapsed_split 2022-06-09 20:12:57 +08:00
Ganlin Zhao 2efbb56997 enable elapsed function splitting 2022-06-09 20:09:37 +08:00
Ganlin Zhao d2efa06742 add elapsed function merge/partial functions 2022-06-09 19:49:29 +08:00
Ganlin Zhao 564b184978
Merge pull request #13657 from taosdata/fix/TD-16372
fix(query): add to_iso8601 function timezone validation
2022-06-09 19:45:02 +08:00
Ganlin Zhao 62506bac33 add elapsed function partial/merge translate 2022-06-09 19:15:09 +08:00
54liuyao 016a7b698f feat(stream): stream state window support top and bottom 2022-06-09 17:45:40 +08:00
Ganlin Zhao cbfa116d06 fix(query): add to_iso8601 function timezone validation
TD-16372
2022-06-09 17:26:49 +08:00
Ganlin Zhao 32591162b4 fix(query): add to_iso8601 function timezone validation
TD-16372
2022-06-09 17:17:10 +08:00
Ganlin Zhao bed14b6ee3 enable hll splitting 2022-06-09 13:36:49 +08:00
Ganlin Zhao 8e65f1e426 add hll partial/merge functions 2022-06-09 13:31:33 +08:00
Ganlin Zhao d1a0ab2445 add hll partial/merge translate functions 2022-06-09 11:36:28 +08:00
Ganlin Zhao 23c0bdf052 enh(query): add hll function distributed splitting 2022-06-09 10:57:32 +08:00
Ganlin Zhao ca2d1f8b3c Merge branch '3.0' into enh/histogram_split 2022-06-08 20:34:39 +08:00
Ganlin Zhao ea05f8af12 fix bugs 2022-06-08 20:30:43 +08:00
Ganlin Zhao 9ccc3fb853 fix: enable histogram splitting 2022-06-08 19:12:57 +08:00
Ganlin Zhao fc1ad1aeac add histogram partial/merge function 2022-06-08 19:02:07 +08:00
54liuyao a8da3cfd14 feat(stream): stream state support apercentile 2022-06-08 18:20:43 +08:00
Ganlin Zhao 081a8a62b2 add histogram partial/merge translate functions 2022-06-08 17:59:32 +08:00
Ganlin Zhao d49f1dbc15 enh(query): add histogram function distributed splitting
TD-16321
2022-06-08 17:38:51 +08:00
Ganlin Zhao 991365802b enable spread splitting 2022-06-08 16:35:32 +08:00
Ganlin Zhao dad3dd4f97 fix bugs 2022-06-08 16:35:13 +08:00
Ganlin Zhao 183fcac013 add spread splitting translate fucntions 2022-06-08 16:34:37 +08:00
Ganlin Zhao ad895c243d enh(query): add spread function distributed splitting 2022-06-08 16:34:23 +08:00
Ganlin Zhao b6eaec2ad4 Merge branch '3.0' into feature/dist_split_glzhao 2022-06-08 11:13:24 +08:00
Ganlin Zhao b93ea371a6 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-08 11:13:08 +08:00
54liuyao 262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
Ganlin Zhao 367af0ec30 fix bugs 2022-06-07 19:55:55 +08:00
Ganlin Zhao 351ac2d81c fix bugs 2022-06-07 19:16:40 +08:00