Commit graph

119 commits

Author SHA1 Message Date
Ganlin Zhao
998980079f fix(query): fix sum/avg function floating type overflow 2022-05-26 16:23:29 +08:00
Ganlin Zhao
72d9b07894 fix(query): fix avg/sum function result overflown output inf/nan
TD-15923
2022-05-26 11:36:07 +08:00
54liuyao
0778bf8857 stream session operator 2022-05-25 09:05:03 +08:00
Haojun Liao
25e2a9dd72 refactor: do some internal refactor, and set the correct intermediate buffer size for average function. 2022-05-20 23:58:34 +08:00
Ganlin Zhao
3d34f7850e fix(query): change unique function type to non-standard sql function 2022-05-20 13:59:20 +08:00
Ganlin Zhao
bf4826d9a8 feat(query): add unique function 2022-05-19 22:42:30 +08:00
Ganlin Zhao
8daaea58de feat(query): fix ci 2022-05-18 18:51:40 +08:00
Ganlin Zhao
98a6792b99 Merge branch '3.0' into feature/3.0_glzhao 2022-05-18 16:54:19 +08:00
Ganlin Zhao
e948d5a248 enh(query): support avg(NULL), stddev(NULL) 2022-05-18 16:35:13 +08:00
Ganlin Zhao
a52e0027cf enh(query): support count(NULL) = 0 2022-05-18 16:14:57 +08:00
Ganlin Zhao
26c618e5ad enh(query): support sum(NULL), max(NULL), min(NULL) 2022-05-18 16:03:59 +08:00
Ganlin Zhao
36370a2339
Merge pull request #12612 from taosdata/feature/3.0_glzhao
fix(query): fix elapsed parameter number
2022-05-18 14:34:53 +08:00
Haojun Liao
52f6a66ba5 fix(query): fix some syntax error. 2022-05-17 22:58:17 +08:00
Haojun Liao
a918f19329 Merge branch '3.0' into feature/3.0_liaohj 2022-05-17 22:47:52 +08:00
Ganlin Zhao
485a1aedd5 fix(query): fix elapsed parameter number 2022-05-17 22:27:46 +08:00
Ganlin Zhao
2f128fa3c9
Merge pull request #12607 from taosdata/feature/3.0_glzhao
feat(query): add elapsed function
2022-05-17 21:37:11 +08:00
Ganlin Zhao
1b0b410f98 feat(query): add elapsed function 2022-05-17 21:22:21 +08:00
Haojun Liao
aefa9bd891 refactor: do some internal refactor. 2022-05-17 16:53:55 +08:00
Zhiqiang Wang
9a7126e0e2
Merge pull request #12580 from taosdata/fix/ZhiqiangWang/fix-15602-fix-win-str-to-int64-error
fix(os): win str to int64 error
2022-05-17 14:18:21 +08:00
afwerar
b7ca4f7710 fix(os): win str to int64 error 2022-05-17 13:50:16 +08:00
Ganlin Zhao
1eb59a2fed feat(query): add hll function 2022-05-17 11:36:12 +08:00
Ganlin Zhao
67e93ef90c Revert "feat(query): add HYPERLOGLOG function"
This reverts commit 267ed293d7.
2022-05-17 10:33:58 +08:00
Ganlin Zhao
267ed293d7 feat(query): add HYPERLOGLOG function 2022-05-17 10:33:19 +08:00
Ganlin Zhao
9dcf9248d7 feat(query): add HYPERLOGLOG function 2022-05-16 22:43:06 +08:00
Ganlin Zhao
ede4a57c99 enh(query): tail function handle offset param 2022-05-16 19:36:04 +08:00
Ganlin Zhao
a281da1379 fix(query): fix tail function points larger than total rows issue 2022-05-16 17:02:01 +08:00
Ganlin Zhao
21b5f72340 fix(query): fix tail function NULL value handing. 2022-05-16 16:35:59 +08:00
Ganlin Zhao
4be158b391 feat(query): add tail function 2022-05-16 14:29:12 +08:00
Ganlin Zhao
3ef067ff03 feat(query): add tail function 2022-05-16 11:03:15 +08:00
Shengliang Guan
253651a521
Merge pull request #12449 from taosdata/feature/3.0_glzhao
feat(query): add sample function using reservoir sampling method
2022-05-13 23:27:07 +08:00
Ganlin Zhao
c1666e7e02 feat(query): add sample function 2022-05-13 22:08:37 +08:00
Ganlin Zhao
18ac565a93 feat(query): add sample function 2022-05-13 22:06:22 +08:00
Ganlin Zhao
315a875208 feat(query): add sample function 2022-05-13 21:36:33 +08:00
Ganlin Zhao
d24254fb84 feat(query): add sample function 2022-05-13 21:13:35 +08:00
Haojun Liao
86031c1985 fix(query): add the repeat scan flag check during aggregate executor. 2022-05-13 12:17:09 +08:00
Haojun Liao
bc64bdc179 Merge branch '3.0' into feature/3.0_liaohj 2022-05-12 23:15:35 +08:00
Ganlin Zhao
8b9dd500bd
Merge pull request #12401 from taosdata/feature/3.0_glzhao
feat(query): add mavg function
2022-05-12 22:53:36 +08:00
Ganlin Zhao
1e503061ed feat(query): add mavg function 2022-05-12 21:25:53 +08:00
Ganlin Zhao
818e3636d6 feat(query): add mavg function 2022-05-12 20:40:17 +08:00
Haojun Liao
4eaf1f5bb6 refactor: do some internal refactor. 2022-05-12 17:34:07 +08:00
Ganlin Zhao
aba7e4a6f6
Merge pull request #12376 from taosdata/feature/3.0_glzhao
feat(query): add csum function
2022-05-12 15:18:49 +08:00
Ganlin Zhao
71e43677f7 feat(query): add csum function 2022-05-12 14:38:56 +08:00
Ganlin Zhao
93b0cd8047
Merge pull request #12343 from taosdata/feature/3.0_glzhao
feat(query): add state_duration function
2022-05-11 17:02:24 +08:00
Ganlin Zhao
977c3fe400 feat(query): add state_duration function 2022-05-11 15:42:31 +08:00
Ganlin Zhao
6a94ad7346
Merge pull request #12321 from taosdata/feature/3.0_glzhao
feat(query): add state_count function
2022-05-11 09:50:56 +08:00
Ganlin Zhao
46c9e0f1c2 refactor code format 2022-05-10 20:51:31 +08:00
Ganlin Zhao
57cd462000 Merge branch '3.0' into feature/3.0_glzhao 2022-05-10 20:44:57 +08:00
Ganlin Zhao
3c7b971841 feat(query): add state_count function 2022-05-10 20:35:54 +08:00
Ganlin Zhao
85adb8611c feat(query): add state_count function 2022-05-10 20:32:03 +08:00
Haojun Liao
8c47b350dc fix(query): Pseudo time window result expands to multiple rows in case of multiple rows aggregates function existing. 2022-05-10 18:21:54 +08:00