Commit Graph

691 Commits

Author SHA1 Message Date
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 20b1ee6160 fix bugs 2022-06-09 14:21:27 +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
Ganlin Zhao c07bea7ff5 add histogram partial/merge function 2022-06-08 18:40:16 +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 e4216bbc87 fix bugs 2022-06-08 16:35:45 +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 622b4f8d47 add spread split partial/merge function 2022-06-08 16:34:48 +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
Ganlin Zhao e5b1ba6dd1 add apercentile "t-digest" splitting 2022-06-08 11:11:48 +08:00
54liuyao 262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
Ganlin Zhao 6fff47b389 fix apercentile percent param in distributed splitting 2022-06-07 20:26:34 +08:00
Ganlin Zhao 367af0ec30 fix bugs 2022-06-07 19:55:55 +08:00
Ganlin Zhao 53ee89a505 fix bugs 2022-06-07 19:30:49 +08:00
Ganlin Zhao 351ac2d81c fix bugs 2022-06-07 19:16:40 +08:00
Ganlin Zhao e6a852090f add apercentile distributed spliting 2022-06-07 18:42:20 +08:00
Ganlin Zhao dff653ed16 add apercentile distributed spliting 2022-06-07 16:54:08 +08:00
Ganlin Zhao 49b277e64b refactor 2022-06-07 14:12:12 +08:00
Ganlin Zhao 12f4bc3c90 refactor 2022-06-07 11:45:55 +08:00
Ganlin Zhao 384f226267 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-07 11:27:09 +08:00
Ganlin Zhao 5d543449c9 enh(query): add distributed splitting of aggregate function
TD-16321
2022-06-07 11:23:19 +08:00
Xiaoyu Wang 0b5c08edb9 merge 3.0 2022-06-06 11:47:20 +08:00
afwerar ac09ef04a9 fix(os): add win32 udf case 2022-06-05 17:02:43 +08:00
Xiaoyu Wang 8ba9496471 feat: add physical plannode of indefinite rows func 2022-06-04 22:57:01 +08:00
54liuyao 5400507245 feat(stream): stream state operator 2022-06-04 20:36:28 +08:00
Xiaoyu Wang 0ef1a19b23
Merge pull request #13440 from taosdata/feature/3.0_wxy
feat: group by distributed split
2022-06-04 09:49:44 +08:00
Xiaoyu Wang 7ede8db3c4 fix: a problem of parser async 2022-06-04 09:33:13 +08:00
Haojun Liao f1bcfb309d fix(query): set null for empty min/max 2022-06-03 11:14:30 +08:00
Ganlin Zhao 077724b892
Merge pull request #13423 from taosdata/fix/TD-16232
fix(query): concat/concat_ws function output incorrect when all params are constant and include NULL value.
2022-06-02 18:49:35 +08:00
Ganlin Zhao de167cd46d fix(query): concat/concat_ws function output incorrect when
all param are constant and include NULL value.

TD-16232
TD-16233
2022-06-02 10:17:07 +00:00
Xiaoyu Wang 6c5ec22718
Merge pull request #13417 from taosdata/feature/3.0_wxy
feat: stream interval distributed split
2022-06-02 17:21:04 +08:00
Shengliang Guan 0bade86534
Merge pull request #13410 from taosdata/fix/mnode
enh: adjust vnode replica and some logs
2022-06-02 17:06:10 +08:00
Xiaoyu Wang f9b7443482 feat: stream interval distributed split 2022-06-02 16:38:44 +08:00
Xiaoyu Wang f45ddaf1c8 feat: stream interval distributed split 2022-06-02 16:37:46 +08:00
Liu Jicong 77fe6a4ef7
Merge branch '3.0' into feature/3_liaohj 2022-06-02 15:05:49 +08:00
Shengliang Guan 27c1687a05 refactor: adjust some logs 2022-06-02 14:30:26 +08:00
Xiaoyu Wang cd7d3c59a2
Merge pull request #13403 from taosdata/feature/3.0_distributed_split
feat: interval distributed split
2022-06-02 11:07:42 +08:00
Xiaoyu Wang edd0295a00 feat: interval distributed split 2022-06-02 10:45:27 +08:00
Ganlin Zhao adc1030197
Merge pull request #13393 from taosdata/fix/TD-16070
feat(query): add log function support natural logarithm
2022-06-01 22:38:15 +08:00
Ganlin Zhao 2c0f42c2be
Merge pull request #13390 from taosdata/fix/TD-16070
fix(query): concat/concat_ws function null constant handling and param check
2022-06-01 21:54:51 +08:00
Ganlin Zhao 98b40a59a0 feat(query): add log function support natural logrithm
TD-15182
2022-06-01 13:52:01 +00:00
Ganlin Zhao f566146cc9 fix(query): fix concat_ws separator param can only be constant string
TD-16070
2022-06-01 12:50:25 +00:00
Ganlin Zhao a00ea8e48d enh(query): to_iso8601 param handing 2022-06-01 10:27:11 +00:00
Ganlin Zhao 3d6147fd9c fix(query): fix to_iso8601 timezone param check 2022-06-01 14:58:10 +08:00
Ganlin Zhao a9787ea446 enh(query): to_iso8601 add customized timzone format
TD-16152
2022-06-01 12:16:06 +08:00
Ganlin Zhao 4ba4f53912 fix(query): fix leastsquares function param type error
TD-16187
2022-05-31 09:49:30 -04:00
Ganlin Zhao 34d8d05449 fix(query): fix leastsquares c0+null and also group by output has empty
result

TD-16136
2022-05-31 09:31:30 -04:00
Ganlin Zhao 11e55389b1 fix: fix typo 2022-05-31 06:54:27 -04:00
Ganlin Zhao 93a3c27168 fix(query): restrict stateduration function time unit parameter greater
than db precision.

TD-16171
2022-05-31 06:44:44 -04:00
Ganlin Zhao 5344ab10f2 fix((query): add statecount/stateduration parameter check
TD-16160
2022-05-31 06:26:46 -04:00
Haojun Liao cca327190d fix(query): restore some remove attributes. 2022-05-31 17:46:35 +08:00
Haojun Liao 6007b8ad11 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-05-31 12:12:59 +08:00
Haojun Liao c06316537e enh(query): the results of count and hyperloglog is configurable. 2022-05-31 15:04:52 +08:00
Haojun Liao 15f5713bda Merge remote-tracking branch 'origin/3.0' into feature/3_liaohj 2022-05-31 11:50:04 +08:00
Xiaoyu Wang 3e5ab6b54c feat: add physical plannode of indefinite rows func 2022-05-31 11:29:10 +08:00
Ganlin Zhao fa0d370828
Merge pull request #13241 from taosdata/TD-16122/fix
fix(query): fix unique/last/first number of param check
2022-05-31 00:03:12 +08:00
Haojun Liao a7feca23fe other: merge 3.0 2022-05-30 23:32:00 +08:00
Ganlin Zhao c630f42653 fix(query): fix unique function number of param check
TD-16134
2022-05-30 17:08:47 +02:00
Haojun Liao 70927458e5 refactor(query): do some internal refactor. 2022-05-30 20:10:30 +08:00
Ganlin Zhao d6998dc1a8 fix(query): fix unique/last/first number of param check
TD-16134
2022-05-30 14:57:29 +03:00
Ganlin Zhao 0a98735a08
Merge pull request #13235 from taosdata/TD-16122/fix
fix(query): fix multiple aggregate function issues
2022-05-30 17:48:52 +08:00
Ganlin Zhao 0b0042ff2a fix(query): restrict statecount/stateduration first param to be column
only

TD-16128
2022-05-30 17:17:00 +08:00
Ganlin Zhao a27d05f6e1 fix(query): change state_count/state_duration function name to
statecount/stateduration

TD-16110
2022-05-30 17:07:50 +08:00
Ganlin Zhao edf66a3572 fix(query): fix tail result incorrect when column containing null value
TD-16122
2022-05-30 16:56:43 +08:00
Haojun Liao 1652cd0ec2 enh(query): enable twa function in select clause. 2022-05-29 12:35:11 +08:00
Ganlin Zhao 2512b98c5a
Merge pull request #13165 from taosdata/fix/TD-16098
fix(query): fix diff function bool type crash
2022-05-28 21:24:07 +08:00
Xiaoyu Wang 71173081d3 Merge remote-tracking branch 'origin/3.0' into feature/3.0_async 2022-05-28 20:16:36 +08:00
Xiaoyu Wang 4432fa930f feat: parser adapts asynchronous interface 2022-05-28 19:56:06 +08:00
Ganlin Zhao 94109a3173 fix(query): fix diff function bool type crash
TD-16098
2022-05-28 18:55:07 +08:00
Ganlin Zhao 9c3c2f4b65
Merge pull request #13154 from taosdata/fix/TD-16074
fix(query): fix apercentile parameter check
2022-05-28 15:56:30 +08:00
Ganlin Zhao 75f2d3952a fix(query): apercentile algo string should not include var header 2022-05-28 14:47:13 +08:00
Ganlin Zhao b350d0025d
Merge pull request #13144 from taosdata/fix/TD-15892
fix(query): restrict diff function ignore_negative types to integer
2022-05-28 14:42:52 +08:00
Ganlin Zhao 693488a511 fix(query): fix apercentile parameter check
TD-16074
2022-05-28 14:39:10 +08:00
Ganlin Zhao 26ceeac789 fix(query): restrict diff function ignore_negative types to integer
TD-16066
2022-05-28 11:38:09 +08:00
Ganlin Zhao 06a5408190
Merge pull request #13113 from taosdata/fix/TD-15892
fix(query): fix avg used in group by NULL value calculated as nan
2022-05-27 23:32:37 +08:00
Ganlin Zhao d11303916b fix(query): fix avg used in group by NULL value calculated as nan
TD-15892
2022-05-27 22:59:17 +08:00
Ganlin Zhao 3b9e21558d
Merge pull request #13102 from taosdata/fix/TD-16034
fix(query): fix diff function result type to avoid overflow
2022-05-27 22:33:15 +08:00
Ganlin Zhao 266da48c5a fix(query): fix diff function result type to avoid overflow
TD-16068
2022-05-27 19:43:13 +08:00
Ganlin Zhao 17748c0cb7
Merge pull request #13097 from taosdata/fix/TD-16034
fix(query): fix diff function param check
2022-05-27 19:05:43 +08:00
Ganlin Zhao 1f6c6b119d fix(query): fix csum function more than 1 param crash
TD-16065
2022-05-27 18:40:41 +08:00
Ganlin Zhao 25eb6dbeef fix(query): diff function first param can only be column
TD-16067
2022-05-27 18:27:24 +08:00
Ganlin Zhao 0b9c9834f5 fix(query): diff function ignore_negative param can only be 0 or 1
TD-16066
2022-05-27 18:11:03 +08:00
Ganlin Zhao ecb3d055da
Merge pull request #13084 from taosdata/fix/TD-16034
fix(queyr): fix tail function parameter restriction
2022-05-27 17:44:31 +08:00
Ganlin Zhao dc17e5553c fix(query): eliminate diff function result nan/inf in case of overflow
TD-16053
2022-05-27 15:48:12 +08:00
Ganlin Zhao de6f6a1e35 fix(query): eliminate csum/mavg result nan/inf in case of overflow
TD-16053
2022-05-27 15:29:33 +08:00